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 Boolean hasReplicas()
hasReplicas
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
@Deprecated public LabelSelector getSelector()
getSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public LabelSelector buildSelector()
buildSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withSelector(LabelSelector selector)
withSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public Boolean hasSelector()
hasSelector
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 PetSetSpecFluent.SelectorNested<A> editOrNewSelector()
editOrNewSelector
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.SelectorNested<A> editOrNewSelectorLike(LabelSelector item)
editOrNewSelectorLike
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 Boolean hasServiceName()
hasServiceName
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
@Deprecated public PodTemplateSpec getTemplate()
getTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PodTemplateSpec buildTemplate()
buildTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A withTemplate(PodTemplateSpec template)
withTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public Boolean hasTemplate()
hasTemplate
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 PetSetSpecFluent.TemplateNested<A> editOrNewTemplate()
editOrNewTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.TemplateNested<A> editOrNewTemplateLike(PodTemplateSpec item)
editOrNewTemplateLike
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A addToVolumeClaimTemplates(int index, PersistentVolumeClaim item)
addToVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A setToVolumeClaimTemplates(int index, PersistentVolumeClaim item)
setToVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A addToVolumeClaimTemplates(PersistentVolumeClaim... items)
addToVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A addAllToVolumeClaimTemplates(Collection<PersistentVolumeClaim> items)
addAllToVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A removeFromVolumeClaimTemplates(PersistentVolumeClaim... items)
removeFromVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public A removeAllFromVolumeClaimTemplates(Collection<PersistentVolumeClaim> items)
removeAllFromVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
@Deprecated public List<PersistentVolumeClaim> getVolumeClaimTemplates()
getVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public List<PersistentVolumeClaim> buildVolumeClaimTemplates()
buildVolumeClaimTemplates
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PersistentVolumeClaim buildVolumeClaimTemplate(int index)
buildVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PersistentVolumeClaim buildFirstVolumeClaimTemplate()
buildFirstVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PersistentVolumeClaim buildLastVolumeClaimTemplate()
buildLastVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PersistentVolumeClaim buildMatchingVolumeClaimTemplate(Predicate<PersistentVolumeClaimBuilder> predicate)
buildMatchingVolumeClaimTemplate
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 Boolean hasVolumeClaimTemplates()
hasVolumeClaimTemplates
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>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> setNewVolumeClaimTemplateLike(int index, PersistentVolumeClaim item)
setNewVolumeClaimTemplateLike
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> editVolumeClaimTemplate(int index)
editVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> editFirstVolumeClaimTemplate()
editFirstVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> editLastVolumeClaimTemplate()
editLastVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
public PetSetSpecFluent.VolumeClaimTemplatesNested<A> editMatchingVolumeClaimTemplate(Predicate<PersistentVolumeClaimBuilder> predicate)
editMatchingVolumeClaimTemplate
in interface PetSetSpecFluent<A extends PetSetSpecFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.