public class StatefulSetSpecFluentImpl<A extends StatefulSetSpecFluent<A>> extends BaseFluent<A> implements StatefulSetSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
StatefulSetSpecFluentImpl.SelectorNestedImpl<N> |
class |
StatefulSetSpecFluentImpl.TemplateNestedImpl<N> |
class |
StatefulSetSpecFluentImpl.UpdateStrategyNestedImpl<N> |
class |
StatefulSetSpecFluentImpl.VolumeClaimTemplatesNestedImpl<N> |
StatefulSetSpecFluent.SelectorNested<N>, StatefulSetSpecFluent.TemplateNested<N>, StatefulSetSpecFluent.UpdateStrategyNested<N>, StatefulSetSpecFluent.VolumeClaimTemplatesNested<N>
_visitables
Constructor and Description |
---|
StatefulSetSpecFluentImpl() |
StatefulSetSpecFluentImpl(StatefulSetSpec instance) |
public StatefulSetSpecFluentImpl()
public StatefulSetSpecFluentImpl(StatefulSetSpec instance)
public String getPodManagementPolicy()
getPodManagementPolicy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withPodManagementPolicy(String podManagementPolicy)
withPodManagementPolicy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasPodManagementPolicy()
hasPodManagementPolicy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Integer getReplicas()
getReplicas
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withReplicas(Integer replicas)
withReplicas
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasReplicas()
hasReplicas
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Integer getRevisionHistoryLimit()
getRevisionHistoryLimit
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withRevisionHistoryLimit(Integer revisionHistoryLimit)
withRevisionHistoryLimit
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasRevisionHistoryLimit()
hasRevisionHistoryLimit
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
@Deprecated public LabelSelector getSelector()
getSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public LabelSelector buildSelector()
buildSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withSelector(LabelSelector selector)
withSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasSelector()
hasSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.SelectorNested<A> withNewSelector()
withNewSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.SelectorNested<A> withNewSelectorLike(LabelSelector item)
withNewSelectorLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.SelectorNested<A> editSelector()
editSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.SelectorNested<A> editOrNewSelector()
editOrNewSelector
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.SelectorNested<A> editOrNewSelectorLike(LabelSelector item)
editOrNewSelectorLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public String getServiceName()
getServiceName
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withServiceName(String serviceName)
withServiceName
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasServiceName()
hasServiceName
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
@Deprecated public PodTemplateSpec getTemplate()
getTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public PodTemplateSpec buildTemplate()
buildTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withTemplate(PodTemplateSpec template)
withTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasTemplate()
hasTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.TemplateNested<A> withNewTemplate()
withNewTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.TemplateNested<A> withNewTemplateLike(PodTemplateSpec item)
withNewTemplateLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.TemplateNested<A> editTemplate()
editTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.TemplateNested<A> editOrNewTemplate()
editOrNewTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.TemplateNested<A> editOrNewTemplateLike(PodTemplateSpec item)
editOrNewTemplateLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
@Deprecated public StatefulSetUpdateStrategy getUpdateStrategy()
getUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetUpdateStrategy buildUpdateStrategy()
buildUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withUpdateStrategy(StatefulSetUpdateStrategy updateStrategy)
withUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasUpdateStrategy()
hasUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.UpdateStrategyNested<A> withNewUpdateStrategy()
withNewUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.UpdateStrategyNested<A> withNewUpdateStrategyLike(StatefulSetUpdateStrategy item)
withNewUpdateStrategyLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.UpdateStrategyNested<A> editUpdateStrategy()
editUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.UpdateStrategyNested<A> editOrNewUpdateStrategy()
editOrNewUpdateStrategy
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.UpdateStrategyNested<A> editOrNewUpdateStrategyLike(StatefulSetUpdateStrategy item)
editOrNewUpdateStrategyLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A addToVolumeClaimTemplates(int index, PersistentVolumeClaim item)
addToVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A setToVolumeClaimTemplates(int index, PersistentVolumeClaim item)
setToVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A addToVolumeClaimTemplates(PersistentVolumeClaim... items)
addToVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A addAllToVolumeClaimTemplates(Collection<PersistentVolumeClaim> items)
addAllToVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A removeFromVolumeClaimTemplates(PersistentVolumeClaim... items)
removeFromVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A removeAllFromVolumeClaimTemplates(Collection<PersistentVolumeClaim> items)
removeAllFromVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
@Deprecated public List<PersistentVolumeClaim> getVolumeClaimTemplates()
getVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public List<PersistentVolumeClaim> buildVolumeClaimTemplates()
buildVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public PersistentVolumeClaim buildVolumeClaimTemplate(int index)
buildVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public PersistentVolumeClaim buildFirstVolumeClaimTemplate()
buildFirstVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public PersistentVolumeClaim buildLastVolumeClaimTemplate()
buildLastVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public PersistentVolumeClaim buildMatchingVolumeClaimTemplate(Predicate<PersistentVolumeClaimBuilder> predicate)
buildMatchingVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withVolumeClaimTemplates(List<PersistentVolumeClaim> volumeClaimTemplates)
withVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public A withVolumeClaimTemplates(PersistentVolumeClaim... volumeClaimTemplates)
withVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public Boolean hasVolumeClaimTemplates()
hasVolumeClaimTemplates
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> addNewVolumeClaimTemplate()
addNewVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> addNewVolumeClaimTemplateLike(PersistentVolumeClaim item)
addNewVolumeClaimTemplateLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> setNewVolumeClaimTemplateLike(int index, PersistentVolumeClaim item)
setNewVolumeClaimTemplateLike
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> editVolumeClaimTemplate(int index)
editVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> editFirstVolumeClaimTemplate()
editFirstVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> editLastVolumeClaimTemplate()
editLastVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
public StatefulSetSpecFluent.VolumeClaimTemplatesNested<A> editMatchingVolumeClaimTemplate(Predicate<PersistentVolumeClaimBuilder> predicate)
editMatchingVolumeClaimTemplate
in interface StatefulSetSpecFluent<A extends StatefulSetSpecFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.