Package io.fabric8.kubernetes.api.model
Class PodSpecFluentImpl<A extends PodSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.PodSpecFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,PodSpecFluent<A>
- Direct Known Subclasses:
PodFluentImpl.SpecNestedImpl
,PodSpecBuilder
,PodTemplateSpecFluentImpl.SpecNestedImpl
,WatchEventFluentImpl.PodSpecObjectNestedImpl
public class PodSpecFluentImpl<A extends PodSpecFluent<A>> extends BaseFluent<A> implements PodSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PodSpecFluentImpl.AffinityNestedImpl<N>
class
PodSpecFluentImpl.ContainersNestedImpl<N>
class
PodSpecFluentImpl.DnsConfigNestedImpl<N>
class
PodSpecFluentImpl.EphemeralContainersNestedImpl<N>
class
PodSpecFluentImpl.HostAliasesNestedImpl<N>
class
PodSpecFluentImpl.ImagePullSecretsNestedImpl<N>
class
PodSpecFluentImpl.InitContainersNestedImpl<N>
class
PodSpecFluentImpl.ReadinessGatesNestedImpl<N>
class
PodSpecFluentImpl.SecurityContextNestedImpl<N>
class
PodSpecFluentImpl.TolerationsNestedImpl<N>
class
PodSpecFluentImpl.TopologySpreadConstraintsNestedImpl<N>
class
PodSpecFluentImpl.VolumesNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.PodSpecFluent
PodSpecFluent.AffinityNested<N>, PodSpecFluent.ContainersNested<N>, PodSpecFluent.DnsConfigNested<N>, PodSpecFluent.EphemeralContainersNested<N>, PodSpecFluent.HostAliasesNested<N>, PodSpecFluent.ImagePullSecretsNested<N>, PodSpecFluent.InitContainersNested<N>, PodSpecFluent.ReadinessGatesNested<N>, PodSpecFluent.SecurityContextNested<N>, PodSpecFluent.TolerationsNested<N>, PodSpecFluent.TopologySpreadConstraintsNested<N>, PodSpecFluent.VolumesNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description PodSpecFluentImpl()
PodSpecFluentImpl(PodSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
PodSpecFluentImpl
public PodSpecFluentImpl()
-
PodSpecFluentImpl
public PodSpecFluentImpl(PodSpec instance)
-
-
Method Detail
-
getActiveDeadlineSeconds
public Long getActiveDeadlineSeconds()
- Specified by:
getActiveDeadlineSeconds
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withActiveDeadlineSeconds
public A withActiveDeadlineSeconds(Long activeDeadlineSeconds)
- Specified by:
withActiveDeadlineSeconds
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasActiveDeadlineSeconds
public Boolean hasActiveDeadlineSeconds()
- Specified by:
hasActiveDeadlineSeconds
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getAffinity
@Deprecated public Affinity getAffinity()
Deprecated.This method has been deprecated, please use method buildAffinity instead.- Specified by:
getAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildAffinity
public Affinity buildAffinity()
- Specified by:
buildAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withAffinity
public A withAffinity(Affinity affinity)
- Specified by:
withAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasAffinity
public Boolean hasAffinity()
- Specified by:
hasAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewAffinity
public PodSpecFluent.AffinityNested<A> withNewAffinity()
- Specified by:
withNewAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewAffinityLike
public PodSpecFluent.AffinityNested<A> withNewAffinityLike(Affinity item)
- Specified by:
withNewAffinityLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editAffinity
public PodSpecFluent.AffinityNested<A> editAffinity()
- Specified by:
editAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editOrNewAffinity
public PodSpecFluent.AffinityNested<A> editOrNewAffinity()
- Specified by:
editOrNewAffinity
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editOrNewAffinityLike
public PodSpecFluent.AffinityNested<A> editOrNewAffinityLike(Affinity item)
- Specified by:
editOrNewAffinityLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isAutomountServiceAccountToken
public Boolean isAutomountServiceAccountToken()
- Specified by:
isAutomountServiceAccountToken
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withAutomountServiceAccountToken
public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken)
- Specified by:
withAutomountServiceAccountToken
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasAutomountServiceAccountToken
public Boolean hasAutomountServiceAccountToken()
- Specified by:
hasAutomountServiceAccountToken
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewAutomountServiceAccountToken
public A withNewAutomountServiceAccountToken(String arg1)
- Specified by:
withNewAutomountServiceAccountToken
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewAutomountServiceAccountToken
public A withNewAutomountServiceAccountToken(boolean arg1)
- Specified by:
withNewAutomountServiceAccountToken
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToContainers
public A addToContainers(int index, Container item)
- Specified by:
addToContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToContainers
public A setToContainers(int index, Container item)
- Specified by:
setToContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToContainers
public A addToContainers(Container... items)
- Specified by:
addToContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToContainers
public A addAllToContainers(Collection<Container> items)
- Specified by:
addAllToContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromContainers
public A removeFromContainers(Container... items)
- Specified by:
removeFromContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromContainers
public A removeAllFromContainers(Collection<Container> items)
- Specified by:
removeAllFromContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromContainers
public A removeMatchingFromContainers(Predicate<ContainerBuilder> predicate)
- Specified by:
removeMatchingFromContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getContainers
@Deprecated public List<Container> getContainers()
Deprecated.This method has been deprecated, please use method buildContainers instead.- Specified by:
getContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildContainers
public List<Container> buildContainers()
- Specified by:
buildContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildContainer
public Container buildContainer(int index)
- Specified by:
buildContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstContainer
public Container buildFirstContainer()
- Specified by:
buildFirstContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastContainer
public Container buildLastContainer()
- Specified by:
buildLastContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingContainer
public Container buildMatchingContainer(Predicate<ContainerBuilder> predicate)
- Specified by:
buildMatchingContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingContainer
public Boolean hasMatchingContainer(Predicate<ContainerBuilder> predicate)
- Specified by:
hasMatchingContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withContainers
public A withContainers(List<Container> containers)
- Specified by:
withContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withContainers
public A withContainers(Container... containers)
- Specified by:
withContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasContainers
public Boolean hasContainers()
- Specified by:
hasContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewContainer
public PodSpecFluent.ContainersNested<A> addNewContainer()
- Specified by:
addNewContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewContainerLike
public PodSpecFluent.ContainersNested<A> addNewContainerLike(Container item)
- Specified by:
addNewContainerLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewContainerLike
public PodSpecFluent.ContainersNested<A> setNewContainerLike(int index, Container item)
- Specified by:
setNewContainerLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editContainer
public PodSpecFluent.ContainersNested<A> editContainer(int index)
- Specified by:
editContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstContainer
public PodSpecFluent.ContainersNested<A> editFirstContainer()
- Specified by:
editFirstContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastContainer
public PodSpecFluent.ContainersNested<A> editLastContainer()
- Specified by:
editLastContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingContainer
public PodSpecFluent.ContainersNested<A> editMatchingContainer(Predicate<ContainerBuilder> predicate)
- Specified by:
editMatchingContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getDnsConfig
@Deprecated public PodDNSConfig getDnsConfig()
Deprecated.This method has been deprecated, please use method buildDnsConfig instead.- Specified by:
getDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildDnsConfig
public PodDNSConfig buildDnsConfig()
- Specified by:
buildDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withDnsConfig
public A withDnsConfig(PodDNSConfig dnsConfig)
- Specified by:
withDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasDnsConfig
public Boolean hasDnsConfig()
- Specified by:
hasDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewDnsConfig
public PodSpecFluent.DnsConfigNested<A> withNewDnsConfig()
- Specified by:
withNewDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewDnsConfigLike
public PodSpecFluent.DnsConfigNested<A> withNewDnsConfigLike(PodDNSConfig item)
- Specified by:
withNewDnsConfigLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editDnsConfig
public PodSpecFluent.DnsConfigNested<A> editDnsConfig()
- Specified by:
editDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editOrNewDnsConfig
public PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfig()
- Specified by:
editOrNewDnsConfig
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editOrNewDnsConfigLike
public PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfigLike(PodDNSConfig item)
- Specified by:
editOrNewDnsConfigLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getDnsPolicy
public String getDnsPolicy()
- Specified by:
getDnsPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withDnsPolicy
public A withDnsPolicy(String dnsPolicy)
- Specified by:
withDnsPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasDnsPolicy
public Boolean hasDnsPolicy()
- Specified by:
hasDnsPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewDnsPolicy
public A withNewDnsPolicy(String arg1)
- Specified by:
withNewDnsPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewDnsPolicy
public A withNewDnsPolicy(StringBuilder arg1)
- Specified by:
withNewDnsPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewDnsPolicy
public A withNewDnsPolicy(StringBuffer arg1)
- Specified by:
withNewDnsPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isEnableServiceLinks
public Boolean isEnableServiceLinks()
- Specified by:
isEnableServiceLinks
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withEnableServiceLinks
public A withEnableServiceLinks(Boolean enableServiceLinks)
- Specified by:
withEnableServiceLinks
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasEnableServiceLinks
public Boolean hasEnableServiceLinks()
- Specified by:
hasEnableServiceLinks
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewEnableServiceLinks
public A withNewEnableServiceLinks(String arg1)
- Specified by:
withNewEnableServiceLinks
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewEnableServiceLinks
public A withNewEnableServiceLinks(boolean arg1)
- Specified by:
withNewEnableServiceLinks
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToEphemeralContainers
public A addToEphemeralContainers(int index, EphemeralContainer item)
- Specified by:
addToEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToEphemeralContainers
public A setToEphemeralContainers(int index, EphemeralContainer item)
- Specified by:
setToEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToEphemeralContainers
public A addToEphemeralContainers(EphemeralContainer... items)
- Specified by:
addToEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToEphemeralContainers
public A addAllToEphemeralContainers(Collection<EphemeralContainer> items)
- Specified by:
addAllToEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromEphemeralContainers
public A removeFromEphemeralContainers(EphemeralContainer... items)
- Specified by:
removeFromEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromEphemeralContainers
public A removeAllFromEphemeralContainers(Collection<EphemeralContainer> items)
- Specified by:
removeAllFromEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromEphemeralContainers
public A removeMatchingFromEphemeralContainers(Predicate<EphemeralContainerBuilder> predicate)
- Specified by:
removeMatchingFromEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getEphemeralContainers
@Deprecated public List<EphemeralContainer> getEphemeralContainers()
Deprecated.This method has been deprecated, please use method buildEphemeralContainers instead.- Specified by:
getEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildEphemeralContainers
public List<EphemeralContainer> buildEphemeralContainers()
- Specified by:
buildEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildEphemeralContainer
public EphemeralContainer buildEphemeralContainer(int index)
- Specified by:
buildEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstEphemeralContainer
public EphemeralContainer buildFirstEphemeralContainer()
- Specified by:
buildFirstEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastEphemeralContainer
public EphemeralContainer buildLastEphemeralContainer()
- Specified by:
buildLastEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingEphemeralContainer
public EphemeralContainer buildMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate)
- Specified by:
buildMatchingEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingEphemeralContainer
public Boolean hasMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate)
- Specified by:
hasMatchingEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withEphemeralContainers
public A withEphemeralContainers(List<EphemeralContainer> ephemeralContainers)
- Specified by:
withEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withEphemeralContainers
public A withEphemeralContainers(EphemeralContainer... ephemeralContainers)
- Specified by:
withEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasEphemeralContainers
public Boolean hasEphemeralContainers()
- Specified by:
hasEphemeralContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewEphemeralContainer
public PodSpecFluent.EphemeralContainersNested<A> addNewEphemeralContainer()
- Specified by:
addNewEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewEphemeralContainerLike
public PodSpecFluent.EphemeralContainersNested<A> addNewEphemeralContainerLike(EphemeralContainer item)
- Specified by:
addNewEphemeralContainerLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewEphemeralContainerLike
public PodSpecFluent.EphemeralContainersNested<A> setNewEphemeralContainerLike(int index, EphemeralContainer item)
- Specified by:
setNewEphemeralContainerLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editEphemeralContainer
public PodSpecFluent.EphemeralContainersNested<A> editEphemeralContainer(int index)
- Specified by:
editEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstEphemeralContainer
public PodSpecFluent.EphemeralContainersNested<A> editFirstEphemeralContainer()
- Specified by:
editFirstEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastEphemeralContainer
public PodSpecFluent.EphemeralContainersNested<A> editLastEphemeralContainer()
- Specified by:
editLastEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingEphemeralContainer
public PodSpecFluent.EphemeralContainersNested<A> editMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate)
- Specified by:
editMatchingEphemeralContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToHostAliases
public A addToHostAliases(int index, HostAlias item)
- Specified by:
addToHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToHostAliases
public A setToHostAliases(int index, HostAlias item)
- Specified by:
setToHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToHostAliases
public A addToHostAliases(HostAlias... items)
- Specified by:
addToHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToHostAliases
public A addAllToHostAliases(Collection<HostAlias> items)
- Specified by:
addAllToHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromHostAliases
public A removeFromHostAliases(HostAlias... items)
- Specified by:
removeFromHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromHostAliases
public A removeAllFromHostAliases(Collection<HostAlias> items)
- Specified by:
removeAllFromHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromHostAliases
public A removeMatchingFromHostAliases(Predicate<HostAliasBuilder> predicate)
- Specified by:
removeMatchingFromHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getHostAliases
@Deprecated public List<HostAlias> getHostAliases()
Deprecated.This method has been deprecated, please use method buildHostAliases instead.- Specified by:
getHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildHostAliases
public List<HostAlias> buildHostAliases()
- Specified by:
buildHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildHostAlias
public HostAlias buildHostAlias(int index)
- Specified by:
buildHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstHostAlias
public HostAlias buildFirstHostAlias()
- Specified by:
buildFirstHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastHostAlias
public HostAlias buildLastHostAlias()
- Specified by:
buildLastHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingHostAlias
public HostAlias buildMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
- Specified by:
buildMatchingHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingHostAlias
public Boolean hasMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
- Specified by:
hasMatchingHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withHostAliases
public A withHostAliases(List<HostAlias> hostAliases)
- Specified by:
withHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withHostAliases
public A withHostAliases(HostAlias... hostAliases)
- Specified by:
withHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasHostAliases
public Boolean hasHostAliases()
- Specified by:
hasHostAliases
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewHostAlias
public PodSpecFluent.HostAliasesNested<A> addNewHostAlias()
- Specified by:
addNewHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewHostAliasLike
public PodSpecFluent.HostAliasesNested<A> addNewHostAliasLike(HostAlias item)
- Specified by:
addNewHostAliasLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewHostAliasLike
public PodSpecFluent.HostAliasesNested<A> setNewHostAliasLike(int index, HostAlias item)
- Specified by:
setNewHostAliasLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editHostAlias
public PodSpecFluent.HostAliasesNested<A> editHostAlias(int index)
- Specified by:
editHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstHostAlias
public PodSpecFluent.HostAliasesNested<A> editFirstHostAlias()
- Specified by:
editFirstHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastHostAlias
public PodSpecFluent.HostAliasesNested<A> editLastHostAlias()
- Specified by:
editLastHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingHostAlias
public PodSpecFluent.HostAliasesNested<A> editMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
- Specified by:
editMatchingHostAlias
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isHostIPC
public Boolean isHostIPC()
- Specified by:
isHostIPC
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withHostIPC
public A withHostIPC(Boolean hostIPC)
- Specified by:
withHostIPC
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasHostIPC
public Boolean hasHostIPC()
- Specified by:
hasHostIPC
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostIPC
public A withNewHostIPC(String arg1)
- Specified by:
withNewHostIPC
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostIPC
public A withNewHostIPC(boolean arg1)
- Specified by:
withNewHostIPC
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isHostNetwork
public Boolean isHostNetwork()
- Specified by:
isHostNetwork
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withHostNetwork
public A withHostNetwork(Boolean hostNetwork)
- Specified by:
withHostNetwork
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasHostNetwork
public Boolean hasHostNetwork()
- Specified by:
hasHostNetwork
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostNetwork
public A withNewHostNetwork(String arg1)
- Specified by:
withNewHostNetwork
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostNetwork
public A withNewHostNetwork(boolean arg1)
- Specified by:
withNewHostNetwork
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isHostPID
public Boolean isHostPID()
- Specified by:
isHostPID
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withHostPID
public A withHostPID(Boolean hostPID)
- Specified by:
withHostPID
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasHostPID
public Boolean hasHostPID()
- Specified by:
hasHostPID
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostPID
public A withNewHostPID(String arg1)
- Specified by:
withNewHostPID
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostPID
public A withNewHostPID(boolean arg1)
- Specified by:
withNewHostPID
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getHostname
public String getHostname()
- Specified by:
getHostname
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withHostname
public A withHostname(String hostname)
- Specified by:
withHostname
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasHostname
public Boolean hasHostname()
- Specified by:
hasHostname
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostname
public A withNewHostname(String arg1)
- Specified by:
withNewHostname
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostname
public A withNewHostname(StringBuilder arg1)
- Specified by:
withNewHostname
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewHostname
public A withNewHostname(StringBuffer arg1)
- Specified by:
withNewHostname
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToImagePullSecrets
public A addToImagePullSecrets(int index, LocalObjectReference item)
- Specified by:
addToImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToImagePullSecrets
public A setToImagePullSecrets(int index, LocalObjectReference item)
- Specified by:
setToImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToImagePullSecrets
public A addToImagePullSecrets(LocalObjectReference... items)
- Specified by:
addToImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToImagePullSecrets
public A addAllToImagePullSecrets(Collection<LocalObjectReference> items)
- Specified by:
addAllToImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromImagePullSecrets
public A removeFromImagePullSecrets(LocalObjectReference... items)
- Specified by:
removeFromImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromImagePullSecrets
public A removeAllFromImagePullSecrets(Collection<LocalObjectReference> items)
- Specified by:
removeAllFromImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromImagePullSecrets
public A removeMatchingFromImagePullSecrets(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
removeMatchingFromImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getImagePullSecrets
@Deprecated public List<LocalObjectReference> getImagePullSecrets()
Deprecated.This method has been deprecated, please use method buildImagePullSecrets instead.- Specified by:
getImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildImagePullSecrets
public List<LocalObjectReference> buildImagePullSecrets()
- Specified by:
buildImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildImagePullSecret
public LocalObjectReference buildImagePullSecret(int index)
- Specified by:
buildImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstImagePullSecret
public LocalObjectReference buildFirstImagePullSecret()
- Specified by:
buildFirstImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastImagePullSecret
public LocalObjectReference buildLastImagePullSecret()
- Specified by:
buildLastImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingImagePullSecret
public LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
buildMatchingImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingImagePullSecret
public Boolean hasMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
hasMatchingImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withImagePullSecrets
public A withImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
- Specified by:
withImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withImagePullSecrets
public A withImagePullSecrets(LocalObjectReference... imagePullSecrets)
- Specified by:
withImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasImagePullSecrets
public Boolean hasImagePullSecrets()
- Specified by:
hasImagePullSecrets
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewImagePullSecret
public A addNewImagePullSecret(String name)
- Specified by:
addNewImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewImagePullSecret
public PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecret()
- Specified by:
addNewImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewImagePullSecretLike
public PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(LocalObjectReference item)
- Specified by:
addNewImagePullSecretLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewImagePullSecretLike
public PodSpecFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(int index, LocalObjectReference item)
- Specified by:
setNewImagePullSecretLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editImagePullSecret
public PodSpecFluent.ImagePullSecretsNested<A> editImagePullSecret(int index)
- Specified by:
editImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstImagePullSecret
public PodSpecFluent.ImagePullSecretsNested<A> editFirstImagePullSecret()
- Specified by:
editFirstImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastImagePullSecret
public PodSpecFluent.ImagePullSecretsNested<A> editLastImagePullSecret()
- Specified by:
editLastImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingImagePullSecret
public PodSpecFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
editMatchingImagePullSecret
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToInitContainers
public A addToInitContainers(int index, Container item)
- Specified by:
addToInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToInitContainers
public A setToInitContainers(int index, Container item)
- Specified by:
setToInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToInitContainers
public A addToInitContainers(Container... items)
- Specified by:
addToInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToInitContainers
public A addAllToInitContainers(Collection<Container> items)
- Specified by:
addAllToInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromInitContainers
public A removeFromInitContainers(Container... items)
- Specified by:
removeFromInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromInitContainers
public A removeAllFromInitContainers(Collection<Container> items)
- Specified by:
removeAllFromInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromInitContainers
public A removeMatchingFromInitContainers(Predicate<ContainerBuilder> predicate)
- Specified by:
removeMatchingFromInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getInitContainers
@Deprecated public List<Container> getInitContainers()
Deprecated.This method has been deprecated, please use method buildInitContainers instead.- Specified by:
getInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildInitContainers
public List<Container> buildInitContainers()
- Specified by:
buildInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildInitContainer
public Container buildInitContainer(int index)
- Specified by:
buildInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstInitContainer
public Container buildFirstInitContainer()
- Specified by:
buildFirstInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastInitContainer
public Container buildLastInitContainer()
- Specified by:
buildLastInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingInitContainer
public Container buildMatchingInitContainer(Predicate<ContainerBuilder> predicate)
- Specified by:
buildMatchingInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingInitContainer
public Boolean hasMatchingInitContainer(Predicate<ContainerBuilder> predicate)
- Specified by:
hasMatchingInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withInitContainers
public A withInitContainers(List<Container> initContainers)
- Specified by:
withInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withInitContainers
public A withInitContainers(Container... initContainers)
- Specified by:
withInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasInitContainers
public Boolean hasInitContainers()
- Specified by:
hasInitContainers
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewInitContainer
public PodSpecFluent.InitContainersNested<A> addNewInitContainer()
- Specified by:
addNewInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewInitContainerLike
public PodSpecFluent.InitContainersNested<A> addNewInitContainerLike(Container item)
- Specified by:
addNewInitContainerLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewInitContainerLike
public PodSpecFluent.InitContainersNested<A> setNewInitContainerLike(int index, Container item)
- Specified by:
setNewInitContainerLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editInitContainer
public PodSpecFluent.InitContainersNested<A> editInitContainer(int index)
- Specified by:
editInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstInitContainer
public PodSpecFluent.InitContainersNested<A> editFirstInitContainer()
- Specified by:
editFirstInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastInitContainer
public PodSpecFluent.InitContainersNested<A> editLastInitContainer()
- Specified by:
editLastInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingInitContainer
public PodSpecFluent.InitContainersNested<A> editMatchingInitContainer(Predicate<ContainerBuilder> predicate)
- Specified by:
editMatchingInitContainer
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getNodeName
public String getNodeName()
- Specified by:
getNodeName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNodeName
public A withNodeName(String nodeName)
- Specified by:
withNodeName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasNodeName
public Boolean hasNodeName()
- Specified by:
hasNodeName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewNodeName
public A withNewNodeName(String arg1)
- Specified by:
withNewNodeName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewNodeName
public A withNewNodeName(StringBuilder arg1)
- Specified by:
withNewNodeName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewNodeName
public A withNewNodeName(StringBuffer arg1)
- Specified by:
withNewNodeName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToNodeSelector
public A addToNodeSelector(String key, String value)
- Specified by:
addToNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToNodeSelector
public A addToNodeSelector(Map<String,String> map)
- Specified by:
addToNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromNodeSelector
public A removeFromNodeSelector(String key)
- Specified by:
removeFromNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromNodeSelector
public A removeFromNodeSelector(Map<String,String> map)
- Specified by:
removeFromNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getNodeSelector
public Map<String,String> getNodeSelector()
- Specified by:
getNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNodeSelector
public A withNodeSelector(Map<String,String> nodeSelector)
- Specified by:
withNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasNodeSelector
public Boolean hasNodeSelector()
- Specified by:
hasNodeSelector
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToOverhead
public A addToOverhead(String key, Quantity value)
- Specified by:
addToOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToOverhead
public A addToOverhead(Map<String,Quantity> map)
- Specified by:
addToOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromOverhead
public A removeFromOverhead(String key)
- Specified by:
removeFromOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromOverhead
public A removeFromOverhead(Map<String,Quantity> map)
- Specified by:
removeFromOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getOverhead
public Map<String,Quantity> getOverhead()
- Specified by:
getOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withOverhead
public A withOverhead(Map<String,Quantity> overhead)
- Specified by:
withOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasOverhead
public Boolean hasOverhead()
- Specified by:
hasOverhead
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getPreemptionPolicy
public String getPreemptionPolicy()
- Specified by:
getPreemptionPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withPreemptionPolicy
public A withPreemptionPolicy(String preemptionPolicy)
- Specified by:
withPreemptionPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasPreemptionPolicy
public Boolean hasPreemptionPolicy()
- Specified by:
hasPreemptionPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewPreemptionPolicy
public A withNewPreemptionPolicy(String arg1)
- Specified by:
withNewPreemptionPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewPreemptionPolicy
public A withNewPreemptionPolicy(StringBuilder arg1)
- Specified by:
withNewPreemptionPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewPreemptionPolicy
public A withNewPreemptionPolicy(StringBuffer arg1)
- Specified by:
withNewPreemptionPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getPriority
public Integer getPriority()
- Specified by:
getPriority
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withPriority
public A withPriority(Integer priority)
- Specified by:
withPriority
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasPriority
public Boolean hasPriority()
- Specified by:
hasPriority
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getPriorityClassName
public String getPriorityClassName()
- Specified by:
getPriorityClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withPriorityClassName
public A withPriorityClassName(String priorityClassName)
- Specified by:
withPriorityClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasPriorityClassName
public Boolean hasPriorityClassName()
- Specified by:
hasPriorityClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewPriorityClassName
public A withNewPriorityClassName(String arg1)
- Specified by:
withNewPriorityClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewPriorityClassName
public A withNewPriorityClassName(StringBuilder arg1)
- Specified by:
withNewPriorityClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewPriorityClassName
public A withNewPriorityClassName(StringBuffer arg1)
- Specified by:
withNewPriorityClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToReadinessGates
public A addToReadinessGates(int index, PodReadinessGate item)
- Specified by:
addToReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToReadinessGates
public A setToReadinessGates(int index, PodReadinessGate item)
- Specified by:
setToReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToReadinessGates
public A addToReadinessGates(PodReadinessGate... items)
- Specified by:
addToReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToReadinessGates
public A addAllToReadinessGates(Collection<PodReadinessGate> items)
- Specified by:
addAllToReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromReadinessGates
public A removeFromReadinessGates(PodReadinessGate... items)
- Specified by:
removeFromReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromReadinessGates
public A removeAllFromReadinessGates(Collection<PodReadinessGate> items)
- Specified by:
removeAllFromReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromReadinessGates
public A removeMatchingFromReadinessGates(Predicate<PodReadinessGateBuilder> predicate)
- Specified by:
removeMatchingFromReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getReadinessGates
@Deprecated public List<PodReadinessGate> getReadinessGates()
Deprecated.This method has been deprecated, please use method buildReadinessGates instead.- Specified by:
getReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildReadinessGates
public List<PodReadinessGate> buildReadinessGates()
- Specified by:
buildReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildReadinessGate
public PodReadinessGate buildReadinessGate(int index)
- Specified by:
buildReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstReadinessGate
public PodReadinessGate buildFirstReadinessGate()
- Specified by:
buildFirstReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastReadinessGate
public PodReadinessGate buildLastReadinessGate()
- Specified by:
buildLastReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingReadinessGate
public PodReadinessGate buildMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
- Specified by:
buildMatchingReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingReadinessGate
public Boolean hasMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
- Specified by:
hasMatchingReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withReadinessGates
public A withReadinessGates(List<PodReadinessGate> readinessGates)
- Specified by:
withReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withReadinessGates
public A withReadinessGates(PodReadinessGate... readinessGates)
- Specified by:
withReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasReadinessGates
public Boolean hasReadinessGates()
- Specified by:
hasReadinessGates
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewReadinessGate
public A addNewReadinessGate(String conditionType)
- Specified by:
addNewReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewReadinessGate
public PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGate()
- Specified by:
addNewReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewReadinessGateLike
public PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGateLike(PodReadinessGate item)
- Specified by:
addNewReadinessGateLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewReadinessGateLike
public PodSpecFluent.ReadinessGatesNested<A> setNewReadinessGateLike(int index, PodReadinessGate item)
- Specified by:
setNewReadinessGateLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editReadinessGate
public PodSpecFluent.ReadinessGatesNested<A> editReadinessGate(int index)
- Specified by:
editReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstReadinessGate
public PodSpecFluent.ReadinessGatesNested<A> editFirstReadinessGate()
- Specified by:
editFirstReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastReadinessGate
public PodSpecFluent.ReadinessGatesNested<A> editLastReadinessGate()
- Specified by:
editLastReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingReadinessGate
public PodSpecFluent.ReadinessGatesNested<A> editMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
- Specified by:
editMatchingReadinessGate
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getRestartPolicy
public String getRestartPolicy()
- Specified by:
getRestartPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withRestartPolicy
public A withRestartPolicy(String restartPolicy)
- Specified by:
withRestartPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasRestartPolicy
public Boolean hasRestartPolicy()
- Specified by:
hasRestartPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewRestartPolicy
public A withNewRestartPolicy(String arg1)
- Specified by:
withNewRestartPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewRestartPolicy
public A withNewRestartPolicy(StringBuilder arg1)
- Specified by:
withNewRestartPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewRestartPolicy
public A withNewRestartPolicy(StringBuffer arg1)
- Specified by:
withNewRestartPolicy
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getRuntimeClassName
public String getRuntimeClassName()
- Specified by:
getRuntimeClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withRuntimeClassName
public A withRuntimeClassName(String runtimeClassName)
- Specified by:
withRuntimeClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasRuntimeClassName
public Boolean hasRuntimeClassName()
- Specified by:
hasRuntimeClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewRuntimeClassName
public A withNewRuntimeClassName(String arg1)
- Specified by:
withNewRuntimeClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewRuntimeClassName
public A withNewRuntimeClassName(StringBuilder arg1)
- Specified by:
withNewRuntimeClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewRuntimeClassName
public A withNewRuntimeClassName(StringBuffer arg1)
- Specified by:
withNewRuntimeClassName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getSchedulerName
public String getSchedulerName()
- Specified by:
getSchedulerName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withSchedulerName
public A withSchedulerName(String schedulerName)
- Specified by:
withSchedulerName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasSchedulerName
public Boolean hasSchedulerName()
- Specified by:
hasSchedulerName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSchedulerName
public A withNewSchedulerName(String arg1)
- Specified by:
withNewSchedulerName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSchedulerName
public A withNewSchedulerName(StringBuilder arg1)
- Specified by:
withNewSchedulerName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSchedulerName
public A withNewSchedulerName(StringBuffer arg1)
- Specified by:
withNewSchedulerName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getSecurityContext
@Deprecated public PodSecurityContext getSecurityContext()
Deprecated.This method has been deprecated, please use method buildSecurityContext instead.- Specified by:
getSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildSecurityContext
public PodSecurityContext buildSecurityContext()
- Specified by:
buildSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withSecurityContext
public A withSecurityContext(PodSecurityContext securityContext)
- Specified by:
withSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasSecurityContext
public Boolean hasSecurityContext()
- Specified by:
hasSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSecurityContext
public PodSpecFluent.SecurityContextNested<A> withNewSecurityContext()
- Specified by:
withNewSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSecurityContextLike
public PodSpecFluent.SecurityContextNested<A> withNewSecurityContextLike(PodSecurityContext item)
- Specified by:
withNewSecurityContextLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editSecurityContext
public PodSpecFluent.SecurityContextNested<A> editSecurityContext()
- Specified by:
editSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editOrNewSecurityContext
public PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContext()
- Specified by:
editOrNewSecurityContext
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editOrNewSecurityContextLike
public PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContextLike(PodSecurityContext item)
- Specified by:
editOrNewSecurityContextLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getServiceAccount
public String getServiceAccount()
- Specified by:
getServiceAccount
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withServiceAccount
public A withServiceAccount(String serviceAccount)
- Specified by:
withServiceAccount
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasServiceAccount
public Boolean hasServiceAccount()
- Specified by:
hasServiceAccount
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewServiceAccount
public A withNewServiceAccount(String arg1)
- Specified by:
withNewServiceAccount
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewServiceAccount
public A withNewServiceAccount(StringBuilder arg1)
- Specified by:
withNewServiceAccount
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewServiceAccount
public A withNewServiceAccount(StringBuffer arg1)
- Specified by:
withNewServiceAccount
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getServiceAccountName
public String getServiceAccountName()
- Specified by:
getServiceAccountName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withServiceAccountName
public A withServiceAccountName(String serviceAccountName)
- Specified by:
withServiceAccountName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasServiceAccountName
public Boolean hasServiceAccountName()
- Specified by:
hasServiceAccountName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewServiceAccountName
public A withNewServiceAccountName(String arg1)
- Specified by:
withNewServiceAccountName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewServiceAccountName
public A withNewServiceAccountName(StringBuilder arg1)
- Specified by:
withNewServiceAccountName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewServiceAccountName
public A withNewServiceAccountName(StringBuffer arg1)
- Specified by:
withNewServiceAccountName
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isSetHostnameAsFQDN
public Boolean isSetHostnameAsFQDN()
- Specified by:
isSetHostnameAsFQDN
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withSetHostnameAsFQDN
public A withSetHostnameAsFQDN(Boolean setHostnameAsFQDN)
- Specified by:
withSetHostnameAsFQDN
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasSetHostnameAsFQDN
public Boolean hasSetHostnameAsFQDN()
- Specified by:
hasSetHostnameAsFQDN
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSetHostnameAsFQDN
public A withNewSetHostnameAsFQDN(String arg1)
- Specified by:
withNewSetHostnameAsFQDN
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSetHostnameAsFQDN
public A withNewSetHostnameAsFQDN(boolean arg1)
- Specified by:
withNewSetHostnameAsFQDN
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
isShareProcessNamespace
public Boolean isShareProcessNamespace()
- Specified by:
isShareProcessNamespace
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withShareProcessNamespace
public A withShareProcessNamespace(Boolean shareProcessNamespace)
- Specified by:
withShareProcessNamespace
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasShareProcessNamespace
public Boolean hasShareProcessNamespace()
- Specified by:
hasShareProcessNamespace
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewShareProcessNamespace
public A withNewShareProcessNamespace(String arg1)
- Specified by:
withNewShareProcessNamespace
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewShareProcessNamespace
public A withNewShareProcessNamespace(boolean arg1)
- Specified by:
withNewShareProcessNamespace
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getSubdomain
public String getSubdomain()
- Specified by:
getSubdomain
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withSubdomain
public A withSubdomain(String subdomain)
- Specified by:
withSubdomain
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasSubdomain
public Boolean hasSubdomain()
- Specified by:
hasSubdomain
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSubdomain
public A withNewSubdomain(String arg1)
- Specified by:
withNewSubdomain
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSubdomain
public A withNewSubdomain(StringBuilder arg1)
- Specified by:
withNewSubdomain
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withNewSubdomain
public A withNewSubdomain(StringBuffer arg1)
- Specified by:
withNewSubdomain
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getTerminationGracePeriodSeconds
public Long getTerminationGracePeriodSeconds()
- Specified by:
getTerminationGracePeriodSeconds
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withTerminationGracePeriodSeconds
public A withTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
- Specified by:
withTerminationGracePeriodSeconds
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasTerminationGracePeriodSeconds
public Boolean hasTerminationGracePeriodSeconds()
- Specified by:
hasTerminationGracePeriodSeconds
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToTolerations
public A addToTolerations(int index, Toleration item)
- Specified by:
addToTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToTolerations
public A setToTolerations(int index, Toleration item)
- Specified by:
setToTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToTolerations
public A addToTolerations(Toleration... items)
- Specified by:
addToTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToTolerations
public A addAllToTolerations(Collection<Toleration> items)
- Specified by:
addAllToTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromTolerations
public A removeFromTolerations(Toleration... items)
- Specified by:
removeFromTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromTolerations
public A removeAllFromTolerations(Collection<Toleration> items)
- Specified by:
removeAllFromTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromTolerations
public A removeMatchingFromTolerations(Predicate<TolerationBuilder> predicate)
- Specified by:
removeMatchingFromTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getTolerations
@Deprecated public List<Toleration> getTolerations()
Deprecated.This method has been deprecated, please use method buildTolerations instead.- Specified by:
getTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildTolerations
public List<Toleration> buildTolerations()
- Specified by:
buildTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildToleration
public Toleration buildToleration(int index)
- Specified by:
buildToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstToleration
public Toleration buildFirstToleration()
- Specified by:
buildFirstToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastToleration
public Toleration buildLastToleration()
- Specified by:
buildLastToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingToleration
public Toleration buildMatchingToleration(Predicate<TolerationBuilder> predicate)
- Specified by:
buildMatchingToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingToleration
public Boolean hasMatchingToleration(Predicate<TolerationBuilder> predicate)
- Specified by:
hasMatchingToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withTolerations
public A withTolerations(List<Toleration> tolerations)
- Specified by:
withTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withTolerations
public A withTolerations(Toleration... tolerations)
- Specified by:
withTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasTolerations
public Boolean hasTolerations()
- Specified by:
hasTolerations
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewToleration
public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
- Specified by:
addNewToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewToleration
public PodSpecFluent.TolerationsNested<A> addNewToleration()
- Specified by:
addNewToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewTolerationLike
public PodSpecFluent.TolerationsNested<A> addNewTolerationLike(Toleration item)
- Specified by:
addNewTolerationLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewTolerationLike
public PodSpecFluent.TolerationsNested<A> setNewTolerationLike(int index, Toleration item)
- Specified by:
setNewTolerationLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editToleration
public PodSpecFluent.TolerationsNested<A> editToleration(int index)
- Specified by:
editToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstToleration
public PodSpecFluent.TolerationsNested<A> editFirstToleration()
- Specified by:
editFirstToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastToleration
public PodSpecFluent.TolerationsNested<A> editLastToleration()
- Specified by:
editLastToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingToleration
public PodSpecFluent.TolerationsNested<A> editMatchingToleration(Predicate<TolerationBuilder> predicate)
- Specified by:
editMatchingToleration
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToTopologySpreadConstraints
public A addToTopologySpreadConstraints(int index, TopologySpreadConstraint item)
- Specified by:
addToTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToTopologySpreadConstraints
public A setToTopologySpreadConstraints(int index, TopologySpreadConstraint item)
- Specified by:
setToTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToTopologySpreadConstraints
public A addToTopologySpreadConstraints(TopologySpreadConstraint... items)
- Specified by:
addToTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToTopologySpreadConstraints
public A addAllToTopologySpreadConstraints(Collection<TopologySpreadConstraint> items)
- Specified by:
addAllToTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromTopologySpreadConstraints
public A removeFromTopologySpreadConstraints(TopologySpreadConstraint... items)
- Specified by:
removeFromTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromTopologySpreadConstraints
public A removeAllFromTopologySpreadConstraints(Collection<TopologySpreadConstraint> items)
- Specified by:
removeAllFromTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromTopologySpreadConstraints
public A removeMatchingFromTopologySpreadConstraints(Predicate<TopologySpreadConstraintBuilder> predicate)
- Specified by:
removeMatchingFromTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getTopologySpreadConstraints
@Deprecated public List<TopologySpreadConstraint> getTopologySpreadConstraints()
Deprecated.This method has been deprecated, please use method buildTopologySpreadConstraints instead.- Specified by:
getTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildTopologySpreadConstraints
public List<TopologySpreadConstraint> buildTopologySpreadConstraints()
- Specified by:
buildTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildTopologySpreadConstraint
public TopologySpreadConstraint buildTopologySpreadConstraint(int index)
- Specified by:
buildTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstTopologySpreadConstraint
public TopologySpreadConstraint buildFirstTopologySpreadConstraint()
- Specified by:
buildFirstTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastTopologySpreadConstraint
public TopologySpreadConstraint buildLastTopologySpreadConstraint()
- Specified by:
buildLastTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingTopologySpreadConstraint
public TopologySpreadConstraint buildMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate)
- Specified by:
buildMatchingTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingTopologySpreadConstraint
public Boolean hasMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate)
- Specified by:
hasMatchingTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withTopologySpreadConstraints
public A withTopologySpreadConstraints(List<TopologySpreadConstraint> topologySpreadConstraints)
- Specified by:
withTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withTopologySpreadConstraints
public A withTopologySpreadConstraints(TopologySpreadConstraint... topologySpreadConstraints)
- Specified by:
withTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasTopologySpreadConstraints
public Boolean hasTopologySpreadConstraints()
- Specified by:
hasTopologySpreadConstraints
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewTopologySpreadConstraint
public PodSpecFluent.TopologySpreadConstraintsNested<A> addNewTopologySpreadConstraint()
- Specified by:
addNewTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewTopologySpreadConstraintLike
public PodSpecFluent.TopologySpreadConstraintsNested<A> addNewTopologySpreadConstraintLike(TopologySpreadConstraint item)
- Specified by:
addNewTopologySpreadConstraintLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewTopologySpreadConstraintLike
public PodSpecFluent.TopologySpreadConstraintsNested<A> setNewTopologySpreadConstraintLike(int index, TopologySpreadConstraint item)
- Specified by:
setNewTopologySpreadConstraintLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editTopologySpreadConstraint
public PodSpecFluent.TopologySpreadConstraintsNested<A> editTopologySpreadConstraint(int index)
- Specified by:
editTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstTopologySpreadConstraint
public PodSpecFluent.TopologySpreadConstraintsNested<A> editFirstTopologySpreadConstraint()
- Specified by:
editFirstTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastTopologySpreadConstraint
public PodSpecFluent.TopologySpreadConstraintsNested<A> editLastTopologySpreadConstraint()
- Specified by:
editLastTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingTopologySpreadConstraint
public PodSpecFluent.TopologySpreadConstraintsNested<A> editMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate)
- Specified by:
editMatchingTopologySpreadConstraint
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToVolumes
public A addToVolumes(int index, Volume item)
- Specified by:
addToVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setToVolumes
public A setToVolumes(int index, Volume item)
- Specified by:
setToVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addToVolumes
public A addToVolumes(Volume... items)
- Specified by:
addToVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addAllToVolumes
public A addAllToVolumes(Collection<Volume> items)
- Specified by:
addAllToVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeFromVolumes
public A removeFromVolumes(Volume... items)
- Specified by:
removeFromVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeAllFromVolumes
public A removeAllFromVolumes(Collection<Volume> items)
- Specified by:
removeAllFromVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
removeMatchingFromVolumes
public A removeMatchingFromVolumes(Predicate<VolumeBuilder> predicate)
- Specified by:
removeMatchingFromVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
getVolumes
@Deprecated public List<Volume> getVolumes()
Deprecated.This method has been deprecated, please use method buildVolumes instead.- Specified by:
getVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
- Returns:
- The buildable object.
-
buildVolumes
public List<Volume> buildVolumes()
- Specified by:
buildVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildVolume
public Volume buildVolume(int index)
- Specified by:
buildVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildFirstVolume
public Volume buildFirstVolume()
- Specified by:
buildFirstVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildLastVolume
public Volume buildLastVolume()
- Specified by:
buildLastVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
buildMatchingVolume
public Volume buildMatchingVolume(Predicate<VolumeBuilder> predicate)
- Specified by:
buildMatchingVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasMatchingVolume
public Boolean hasMatchingVolume(Predicate<VolumeBuilder> predicate)
- Specified by:
hasMatchingVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withVolumes
public A withVolumes(List<Volume> volumes)
- Specified by:
withVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
withVolumes
public A withVolumes(Volume... volumes)
- Specified by:
withVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
hasVolumes
public Boolean hasVolumes()
- Specified by:
hasVolumes
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewVolume
public PodSpecFluent.VolumesNested<A> addNewVolume()
- Specified by:
addNewVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
addNewVolumeLike
public PodSpecFluent.VolumesNested<A> addNewVolumeLike(Volume item)
- Specified by:
addNewVolumeLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
setNewVolumeLike
public PodSpecFluent.VolumesNested<A> setNewVolumeLike(int index, Volume item)
- Specified by:
setNewVolumeLike
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editVolume
public PodSpecFluent.VolumesNested<A> editVolume(int index)
- Specified by:
editVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editFirstVolume
public PodSpecFluent.VolumesNested<A> editFirstVolume()
- Specified by:
editFirstVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editLastVolume
public PodSpecFluent.VolumesNested<A> editLastVolume()
- Specified by:
editLastVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
editMatchingVolume
public PodSpecFluent.VolumesNested<A> editMatchingVolume(Predicate<VolumeBuilder> predicate)
- Specified by:
editMatchingVolume
in interfacePodSpecFluent<A extends PodSpecFluent<A>>
-
-