public class PetSetSpecFluentImpl<A extends PetSetSpecFluent<A>> extends BaseFluent<A> implements PetSetSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PetSetSpecFluentImpl.SelectorNestedImpl<N> |
class |
PetSetSpecFluentImpl.TemplateNestedImpl<N> |
class |
PetSetSpecFluentImpl.VolumeClaimTemplatesNestedImpl<N> |
PetSetSpecFluent.SelectorNested<N>, PetSetSpecFluent.TemplateNested<N>, PetSetSpecFluent.VolumeClaimTemplatesNested<N>
_visitables
Constructor and Description |
---|
PetSetSpecFluentImpl() |
PetSetSpecFluentImpl(PetSetSpec instance) |
public PetSetSpecFluentImpl()
public PetSetSpecFluentImpl(PetSetSpec instance)
public Integer getReplicas()
getReplicas
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withReplicas(Integer replicas)
withReplicas
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public LabelSelector getSelector()
getSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withSelector(LabelSelector selector)
withSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.SelectorNested<A> withNewSelector()
withNewSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.SelectorNested<A> withNewSelectorLike(LabelSelector item)
withNewSelectorLike
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.SelectorNested<A> editSelector()
editSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public String getServiceName()
getServiceName
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withServiceName(String serviceName)
withServiceName
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PodTemplateSpec getTemplate()
getTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withTemplate(PodTemplateSpec template)
withTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.TemplateNested<A> withNewTemplate()
withNewTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.TemplateNested<A> withNewTemplateLike(PodTemplateSpec item)
withNewTemplateLike
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.TemplateNested<A> editTemplate()
editTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A addToVolumeClaimTemplates(PersistentVolumeClaim... items)
addToVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A removeFromVolumeClaimTemplates(PersistentVolumeClaim... items)
removeFromVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public List<PersistentVolumeClaim> getVolumeClaimTemplates()
getVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withVolumeClaimTemplates(List<PersistentVolumeClaim> volumeClaimTemplates)
withVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withVolumeClaimTemplates(PersistentVolumeClaim... volumeClaimTemplates)
withVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> addNewVolumeClaimTemplate()
addNewVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> addNewVolumeClaimTemplateLike(PersistentVolumeClaim item)
addNewVolumeClaimTemplateLike
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.