public class PodSpecFluentImpl<A extends PodSpecFluent<A>> extends BaseFluent<A> implements PodSpecFluent<A>
Modifier and Type | Class and 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> |
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>
_visitables, VISIT
Constructor and Description |
---|
PodSpecFluentImpl() |
PodSpecFluentImpl(PodSpec instance) |
accept, accept, acceptInternal, aggregate, aggregate, build, build, builderOf, canVisit, hasCompatibleVisitMethod
public PodSpecFluentImpl()
public PodSpecFluentImpl(PodSpec instance)
public Long getActiveDeadlineSeconds()
getActiveDeadlineSeconds
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withActiveDeadlineSeconds(Long activeDeadlineSeconds)
withActiveDeadlineSeconds
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasActiveDeadlineSeconds()
hasActiveDeadlineSeconds
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public Affinity getAffinity()
getAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Affinity buildAffinity()
buildAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withAffinity(Affinity affinity)
withAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasAffinity()
hasAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.AffinityNested<A> withNewAffinity()
withNewAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.AffinityNested<A> withNewAffinityLike(Affinity item)
withNewAffinityLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.AffinityNested<A> editAffinity()
editAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.AffinityNested<A> editOrNewAffinity()
editOrNewAffinity
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.AffinityNested<A> editOrNewAffinityLike(Affinity item)
editOrNewAffinityLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getAutomountServiceAccountToken()
getAutomountServiceAccountToken
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken)
withAutomountServiceAccountToken
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasAutomountServiceAccountToken()
hasAutomountServiceAccountToken
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToContainers(Integer index, Container item)
addToContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToContainers(Integer index, Container item)
setToContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToContainers(Container... items)
addToContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToContainers(Collection<Container> items)
addAllToContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromContainers(Container... items)
removeFromContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromContainers(Collection<Container> items)
removeAllFromContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromContainers(Predicate<ContainerBuilder> predicate)
removeMatchingFromContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<Container> getContainers()
getContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<Container> buildContainers()
buildContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildContainer(Integer index)
buildContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildFirstContainer()
buildFirstContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildLastContainer()
buildLastContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildMatchingContainer(Predicate<ContainerBuilder> predicate)
buildMatchingContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingContainer(Predicate<ContainerBuilder> predicate)
hasMatchingContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withContainers(List<Container> containers)
withContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withContainers(Container... containers)
withContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasContainers()
hasContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> addNewContainer()
addNewContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> addNewContainerLike(Container item)
addNewContainerLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> setNewContainerLike(Integer index, Container item)
setNewContainerLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> editContainer(Integer index)
editContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> editFirstContainer()
editFirstContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> editLastContainer()
editLastContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ContainersNested<A> editMatchingContainer(Predicate<ContainerBuilder> predicate)
editMatchingContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public PodDNSConfig getDnsConfig()
getDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodDNSConfig buildDnsConfig()
buildDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withDnsConfig(PodDNSConfig dnsConfig)
withDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasDnsConfig()
hasDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.DnsConfigNested<A> withNewDnsConfig()
withNewDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.DnsConfigNested<A> withNewDnsConfigLike(PodDNSConfig item)
withNewDnsConfigLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.DnsConfigNested<A> editDnsConfig()
editDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfig()
editOrNewDnsConfig
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfigLike(PodDNSConfig item)
editOrNewDnsConfigLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getDnsPolicy()
getDnsPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withDnsPolicy(String dnsPolicy)
withDnsPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasDnsPolicy()
hasDnsPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewDnsPolicy(String arg0)
withNewDnsPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getEnableServiceLinks()
getEnableServiceLinks
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withEnableServiceLinks(Boolean enableServiceLinks)
withEnableServiceLinks
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasEnableServiceLinks()
hasEnableServiceLinks
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToEphemeralContainers(Integer index, EphemeralContainer item)
addToEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToEphemeralContainers(Integer index, EphemeralContainer item)
setToEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToEphemeralContainers(EphemeralContainer... items)
addToEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToEphemeralContainers(Collection<EphemeralContainer> items)
addAllToEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromEphemeralContainers(EphemeralContainer... items)
removeFromEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromEphemeralContainers(Collection<EphemeralContainer> items)
removeAllFromEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromEphemeralContainers(Predicate<EphemeralContainerBuilder> predicate)
removeMatchingFromEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<EphemeralContainer> getEphemeralContainers()
getEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<EphemeralContainer> buildEphemeralContainers()
buildEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public EphemeralContainer buildEphemeralContainer(Integer index)
buildEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public EphemeralContainer buildFirstEphemeralContainer()
buildFirstEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public EphemeralContainer buildLastEphemeralContainer()
buildLastEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public EphemeralContainer buildMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate)
buildMatchingEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate)
hasMatchingEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withEphemeralContainers(List<EphemeralContainer> ephemeralContainers)
withEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withEphemeralContainers(EphemeralContainer... ephemeralContainers)
withEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasEphemeralContainers()
hasEphemeralContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> addNewEphemeralContainer()
addNewEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> addNewEphemeralContainerLike(EphemeralContainer item)
addNewEphemeralContainerLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> setNewEphemeralContainerLike(Integer index, EphemeralContainer item)
setNewEphemeralContainerLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> editEphemeralContainer(Integer index)
editEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> editFirstEphemeralContainer()
editFirstEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> editLastEphemeralContainer()
editLastEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.EphemeralContainersNested<A> editMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate)
editMatchingEphemeralContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToHostAliases(Integer index, HostAlias item)
addToHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToHostAliases(Integer index, HostAlias item)
setToHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToHostAliases(HostAlias... items)
addToHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToHostAliases(Collection<HostAlias> items)
addAllToHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromHostAliases(HostAlias... items)
removeFromHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromHostAliases(Collection<HostAlias> items)
removeAllFromHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromHostAliases(Predicate<HostAliasBuilder> predicate)
removeMatchingFromHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<HostAlias> getHostAliases()
getHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<HostAlias> buildHostAliases()
buildHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public HostAlias buildHostAlias(Integer index)
buildHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public HostAlias buildFirstHostAlias()
buildFirstHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public HostAlias buildLastHostAlias()
buildLastHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public HostAlias buildMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
buildMatchingHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
hasMatchingHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostAliases(List<HostAlias> hostAliases)
withHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostAliases(HostAlias... hostAliases)
withHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasHostAliases()
hasHostAliases
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> addNewHostAlias()
addNewHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> addNewHostAliasLike(HostAlias item)
addNewHostAliasLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> setNewHostAliasLike(Integer index, HostAlias item)
setNewHostAliasLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> editHostAlias(Integer index)
editHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> editFirstHostAlias()
editFirstHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> editLastHostAlias()
editLastHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.HostAliasesNested<A> editMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
editMatchingHostAlias
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getHostIPC()
getHostIPC
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostIPC(Boolean hostIPC)
withHostIPC
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasHostIPC()
hasHostIPC
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getHostNetwork()
getHostNetwork
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostNetwork(Boolean hostNetwork)
withHostNetwork
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasHostNetwork()
hasHostNetwork
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getHostPID()
getHostPID
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostPID(Boolean hostPID)
withHostPID
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasHostPID()
hasHostPID
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getHostname()
getHostname
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostname(String hostname)
withHostname
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasHostname()
hasHostname
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewHostname(String arg0)
withNewHostname
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToImagePullSecrets(Integer index, LocalObjectReference item)
addToImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToImagePullSecrets(Integer index, LocalObjectReference item)
setToImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToImagePullSecrets(LocalObjectReference... items)
addToImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToImagePullSecrets(Collection<LocalObjectReference> items)
addAllToImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromImagePullSecrets(LocalObjectReference... items)
removeFromImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromImagePullSecrets(Collection<LocalObjectReference> items)
removeAllFromImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromImagePullSecrets(Predicate<LocalObjectReferenceBuilder> predicate)
removeMatchingFromImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<LocalObjectReference> buildImagePullSecrets()
buildImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public LocalObjectReference buildImagePullSecret(Integer index)
buildImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public LocalObjectReference buildFirstImagePullSecret()
buildFirstImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public LocalObjectReference buildLastImagePullSecret()
buildLastImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
buildMatchingImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
hasMatchingImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
withImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withImagePullSecrets(LocalObjectReference... imagePullSecrets)
withImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasImagePullSecrets()
hasImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addNewImagePullSecret(String name)
addNewImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecret()
addNewImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(LocalObjectReference item)
addNewImagePullSecretLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(Integer index, LocalObjectReference item)
setNewImagePullSecretLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> editImagePullSecret(Integer index)
editImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> editFirstImagePullSecret()
editFirstImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> editLastImagePullSecret()
editLastImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
editMatchingImagePullSecret
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToInitContainers(Integer index, Container item)
addToInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToInitContainers(Integer index, Container item)
setToInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToInitContainers(Container... items)
addToInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToInitContainers(Collection<Container> items)
addAllToInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromInitContainers(Container... items)
removeFromInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromInitContainers(Collection<Container> items)
removeAllFromInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromInitContainers(Predicate<ContainerBuilder> predicate)
removeMatchingFromInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<Container> getInitContainers()
getInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<Container> buildInitContainers()
buildInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildInitContainer(Integer index)
buildInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildFirstInitContainer()
buildFirstInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildLastInitContainer()
buildLastInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Container buildMatchingInitContainer(Predicate<ContainerBuilder> predicate)
buildMatchingInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingInitContainer(Predicate<ContainerBuilder> predicate)
hasMatchingInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withInitContainers(List<Container> initContainers)
withInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withInitContainers(Container... initContainers)
withInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasInitContainers()
hasInitContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> addNewInitContainer()
addNewInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> addNewInitContainerLike(Container item)
addNewInitContainerLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> setNewInitContainerLike(Integer index, Container item)
setNewInitContainerLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> editInitContainer(Integer index)
editInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> editFirstInitContainer()
editFirstInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> editLastInitContainer()
editLastInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.InitContainersNested<A> editMatchingInitContainer(Predicate<ContainerBuilder> predicate)
editMatchingInitContainer
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getNodeName()
getNodeName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withNodeName(String nodeName)
withNodeName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasNodeName()
hasNodeName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewNodeName(String arg0)
withNewNodeName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToNodeSelector(String key, String value)
addToNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToNodeSelector(Map<String,String> map)
addToNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromNodeSelector(String key)
removeFromNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromNodeSelector(Map<String,String> map)
removeFromNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Map<String,String> getNodeSelector()
getNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public <K,V> A withNodeSelector(Map<String,String> nodeSelector)
withNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasNodeSelector()
hasNodeSelector
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToOverhead(String key, Quantity value)
addToOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToOverhead(Map<String,Quantity> map)
addToOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromOverhead(String key)
removeFromOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromOverhead(Map<String,Quantity> map)
removeFromOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Map<String,Quantity> getOverhead()
getOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public <K,V> A withOverhead(Map<String,Quantity> overhead)
withOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasOverhead()
hasOverhead
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getPreemptionPolicy()
getPreemptionPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withPreemptionPolicy(String preemptionPolicy)
withPreemptionPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasPreemptionPolicy()
hasPreemptionPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewPreemptionPolicy(String arg0)
withNewPreemptionPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Integer getPriority()
getPriority
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withPriority(Integer priority)
withPriority
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasPriority()
hasPriority
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getPriorityClassName()
getPriorityClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withPriorityClassName(String priorityClassName)
withPriorityClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasPriorityClassName()
hasPriorityClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewPriorityClassName(String arg0)
withNewPriorityClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToReadinessGates(Integer index, PodReadinessGate item)
addToReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToReadinessGates(Integer index, PodReadinessGate item)
setToReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToReadinessGates(PodReadinessGate... items)
addToReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToReadinessGates(Collection<PodReadinessGate> items)
addAllToReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromReadinessGates(PodReadinessGate... items)
removeFromReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromReadinessGates(Collection<PodReadinessGate> items)
removeAllFromReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromReadinessGates(Predicate<PodReadinessGateBuilder> predicate)
removeMatchingFromReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<PodReadinessGate> getReadinessGates()
getReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<PodReadinessGate> buildReadinessGates()
buildReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodReadinessGate buildReadinessGate(Integer index)
buildReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodReadinessGate buildFirstReadinessGate()
buildFirstReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodReadinessGate buildLastReadinessGate()
buildLastReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodReadinessGate buildMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
buildMatchingReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
hasMatchingReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withReadinessGates(List<PodReadinessGate> readinessGates)
withReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withReadinessGates(PodReadinessGate... readinessGates)
withReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasReadinessGates()
hasReadinessGates
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addNewReadinessGate(String conditionType)
addNewReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGate()
addNewReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGateLike(PodReadinessGate item)
addNewReadinessGateLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> setNewReadinessGateLike(Integer index, PodReadinessGate item)
setNewReadinessGateLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> editReadinessGate(Integer index)
editReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> editFirstReadinessGate()
editFirstReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> editLastReadinessGate()
editLastReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.ReadinessGatesNested<A> editMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
editMatchingReadinessGate
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getRestartPolicy()
getRestartPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withRestartPolicy(String restartPolicy)
withRestartPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasRestartPolicy()
hasRestartPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewRestartPolicy(String arg0)
withNewRestartPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getRuntimeClassName()
getRuntimeClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withRuntimeClassName(String runtimeClassName)
withRuntimeClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasRuntimeClassName()
hasRuntimeClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewRuntimeClassName(String arg0)
withNewRuntimeClassName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getSchedulerName()
getSchedulerName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withSchedulerName(String schedulerName)
withSchedulerName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasSchedulerName()
hasSchedulerName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewSchedulerName(String arg0)
withNewSchedulerName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public PodSecurityContext getSecurityContext()
getSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSecurityContext buildSecurityContext()
buildSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withSecurityContext(PodSecurityContext securityContext)
withSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasSecurityContext()
hasSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.SecurityContextNested<A> withNewSecurityContext()
withNewSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.SecurityContextNested<A> withNewSecurityContextLike(PodSecurityContext item)
withNewSecurityContextLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.SecurityContextNested<A> editSecurityContext()
editSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContext()
editOrNewSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContextLike(PodSecurityContext item)
editOrNewSecurityContextLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getServiceAccount()
getServiceAccount
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withServiceAccount(String serviceAccount)
withServiceAccount
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasServiceAccount()
hasServiceAccount
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewServiceAccount(String arg0)
withNewServiceAccount
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getServiceAccountName()
getServiceAccountName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withServiceAccountName(String serviceAccountName)
withServiceAccountName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasServiceAccountName()
hasServiceAccountName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewServiceAccountName(String arg0)
withNewServiceAccountName
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getSetHostnameAsFQDN()
getSetHostnameAsFQDN
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withSetHostnameAsFQDN(Boolean setHostnameAsFQDN)
withSetHostnameAsFQDN
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasSetHostnameAsFQDN()
hasSetHostnameAsFQDN
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean getShareProcessNamespace()
getShareProcessNamespace
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withShareProcessNamespace(Boolean shareProcessNamespace)
withShareProcessNamespace
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasShareProcessNamespace()
hasShareProcessNamespace
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getSubdomain()
getSubdomain
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withSubdomain(String subdomain)
withSubdomain
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasSubdomain()
hasSubdomain
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public A withNewSubdomain(String arg0)
withNewSubdomain
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Long getTerminationGracePeriodSeconds()
getTerminationGracePeriodSeconds
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
withTerminationGracePeriodSeconds
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasTerminationGracePeriodSeconds()
hasTerminationGracePeriodSeconds
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToTolerations(Integer index, Toleration item)
addToTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToTolerations(Integer index, Toleration item)
setToTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToTolerations(Toleration... items)
addToTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToTolerations(Collection<Toleration> items)
addAllToTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromTolerations(Toleration... items)
removeFromTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromTolerations(Collection<Toleration> items)
removeAllFromTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromTolerations(Predicate<TolerationBuilder> predicate)
removeMatchingFromTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<Toleration> getTolerations()
getTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<Toleration> buildTolerations()
buildTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Toleration buildToleration(Integer index)
buildToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Toleration buildFirstToleration()
buildFirstToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Toleration buildLastToleration()
buildLastToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Toleration buildMatchingToleration(Predicate<TolerationBuilder> predicate)
buildMatchingToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingToleration(Predicate<TolerationBuilder> predicate)
hasMatchingToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withTolerations(List<Toleration> tolerations)
withTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withTolerations(Toleration... tolerations)
withTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasTolerations()
hasTolerations
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
addNewToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> addNewToleration()
addNewToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> addNewTolerationLike(Toleration item)
addNewTolerationLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> setNewTolerationLike(Integer index, Toleration item)
setNewTolerationLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> editToleration(Integer index)
editToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> editFirstToleration()
editFirstToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> editLastToleration()
editLastToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TolerationsNested<A> editMatchingToleration(Predicate<TolerationBuilder> predicate)
editMatchingToleration
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToTopologySpreadConstraints(Integer index, TopologySpreadConstraint item)
addToTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToTopologySpreadConstraints(Integer index, TopologySpreadConstraint item)
setToTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToTopologySpreadConstraints(TopologySpreadConstraint... items)
addToTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToTopologySpreadConstraints(Collection<TopologySpreadConstraint> items)
addAllToTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromTopologySpreadConstraints(TopologySpreadConstraint... items)
removeFromTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromTopologySpreadConstraints(Collection<TopologySpreadConstraint> items)
removeAllFromTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromTopologySpreadConstraints(Predicate<TopologySpreadConstraintBuilder> predicate)
removeMatchingFromTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<TopologySpreadConstraint> getTopologySpreadConstraints()
getTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<TopologySpreadConstraint> buildTopologySpreadConstraints()
buildTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public TopologySpreadConstraint buildTopologySpreadConstraint(Integer index)
buildTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public TopologySpreadConstraint buildFirstTopologySpreadConstraint()
buildFirstTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public TopologySpreadConstraint buildLastTopologySpreadConstraint()
buildLastTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public TopologySpreadConstraint buildMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate)
buildMatchingTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate)
hasMatchingTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withTopologySpreadConstraints(List<TopologySpreadConstraint> topologySpreadConstraints)
withTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withTopologySpreadConstraints(TopologySpreadConstraint... topologySpreadConstraints)
withTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasTopologySpreadConstraints()
hasTopologySpreadConstraints
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> addNewTopologySpreadConstraint()
addNewTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> addNewTopologySpreadConstraintLike(TopologySpreadConstraint item)
addNewTopologySpreadConstraintLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> setNewTopologySpreadConstraintLike(Integer index, TopologySpreadConstraint item)
setNewTopologySpreadConstraintLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> editTopologySpreadConstraint(Integer index)
editTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> editFirstTopologySpreadConstraint()
editFirstTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> editLastTopologySpreadConstraint()
editLastTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.TopologySpreadConstraintsNested<A> editMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate)
editMatchingTopologySpreadConstraint
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToVolumes(Integer index, Volume item)
addToVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A setToVolumes(Integer index, Volume item)
setToVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToVolumes(Volume... items)
addToVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addAllToVolumes(Collection<Volume> items)
addAllToVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromVolumes(Volume... items)
removeFromVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeAllFromVolumes(Collection<Volume> items)
removeAllFromVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeMatchingFromVolumes(Predicate<VolumeBuilder> predicate)
removeMatchingFromVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
@Deprecated public List<Volume> getVolumes()
getVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<Volume> buildVolumes()
buildVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Volume buildVolume(Integer index)
buildVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Volume buildFirstVolume()
buildFirstVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Volume buildLastVolume()
buildLastVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Volume buildMatchingVolume(Predicate<VolumeBuilder> predicate)
buildMatchingVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasMatchingVolume(Predicate<VolumeBuilder> predicate)
hasMatchingVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withVolumes(List<Volume> volumes)
withVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withVolumes(Volume... volumes)
withVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public Boolean hasVolumes()
hasVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> addNewVolume()
addNewVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> addNewVolumeLike(Volume item)
addNewVolumeLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> setNewVolumeLike(Integer index, Volume item)
setNewVolumeLike
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> editVolume(Integer index)
editVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> editFirstVolume()
editFirstVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> editLastVolume()
editLastVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSpecFluent.VolumesNested<A> editMatchingVolume(Predicate<VolumeBuilder> predicate)
editMatchingVolume
in interface PodSpecFluent<A extends PodSpecFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.