public class ObjectMetaFluentImpl<A extends ObjectMetaFluent<A>> extends BaseFluent<A> implements ObjectMetaFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ObjectMetaFluentImpl.InitializersNestedImpl<N> |
class |
ObjectMetaFluentImpl.OwnerReferencesNestedImpl<N> |
ObjectMetaFluent.InitializersNested<N>, ObjectMetaFluent.OwnerReferencesNested<N>
_visitables
Constructor and Description |
---|
ObjectMetaFluentImpl() |
ObjectMetaFluentImpl(ObjectMeta instance) |
public ObjectMetaFluentImpl()
public ObjectMetaFluentImpl(ObjectMeta instance)
public A addToAnnotations(String key, String value)
addToAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToAnnotations(Map<String,String> map)
addToAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeFromAnnotations(String key)
removeFromAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeFromAnnotations(Map<String,String> map)
removeFromAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Map<String,String> getAnnotations()
getAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withAnnotations(Map<String,String> annotations)
withAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasAnnotations()
hasAnnotations
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getClusterName()
getClusterName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withClusterName(String clusterName)
withClusterName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasClusterName()
hasClusterName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getCreationTimestamp()
getCreationTimestamp
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withCreationTimestamp(String creationTimestamp)
withCreationTimestamp
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasCreationTimestamp()
hasCreationTimestamp
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Long getDeletionGracePeriodSeconds()
getDeletionGracePeriodSeconds
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds)
withDeletionGracePeriodSeconds
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasDeletionGracePeriodSeconds()
hasDeletionGracePeriodSeconds
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getDeletionTimestamp()
getDeletionTimestamp
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withDeletionTimestamp(String deletionTimestamp)
withDeletionTimestamp
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasDeletionTimestamp()
hasDeletionTimestamp
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToFinalizers(int index, String item)
addToFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A setToFinalizers(int index, String item)
setToFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToFinalizers(String... items)
addToFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addAllToFinalizers(Collection<String> items)
addAllToFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeFromFinalizers(String... items)
removeFromFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeAllFromFinalizers(Collection<String> items)
removeAllFromFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public List<String> getFinalizers()
getFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getFinalizer(int index)
getFinalizer
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getFirstFinalizer()
getFirstFinalizer
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getLastFinalizer()
getLastFinalizer
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getMatchingFinalizer(Predicate<String> predicate)
getMatchingFinalizer
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withFinalizers(List<String> finalizers)
withFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withFinalizers(String... finalizers)
withFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasFinalizers()
hasFinalizers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getGenerateName()
getGenerateName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withGenerateName(String generateName)
withGenerateName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasGenerateName()
hasGenerateName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Long getGeneration()
getGeneration
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withGeneration(Long generation)
withGeneration
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasGeneration()
hasGeneration
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
@Deprecated public Initializers getInitializers()
getInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Initializers buildInitializers()
buildInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withInitializers(Initializers initializers)
withInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasInitializers()
hasInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.InitializersNested<A> withNewInitializers()
withNewInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.InitializersNested<A> withNewInitializersLike(Initializers item)
withNewInitializersLike
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.InitializersNested<A> editInitializers()
editInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.InitializersNested<A> editOrNewInitializers()
editOrNewInitializers
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.InitializersNested<A> editOrNewInitializersLike(Initializers item)
editOrNewInitializersLike
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToLabels(String key, String value)
addToLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToLabels(Map<String,String> map)
addToLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeFromLabels(String key)
removeFromLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeFromLabels(Map<String,String> map)
removeFromLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Map<String,String> getLabels()
getLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withLabels(Map<String,String> labels)
withLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasLabels()
hasLabels
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getName()
getName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withName(String name)
withName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasName()
hasName
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getNamespace()
getNamespace
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withNamespace(String namespace)
withNamespace
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasNamespace()
hasNamespace
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToOwnerReferences(int index, OwnerReference item)
addToOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A setToOwnerReferences(int index, OwnerReference item)
setToOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addToOwnerReferences(OwnerReference... items)
addToOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A addAllToOwnerReferences(Collection<OwnerReference> items)
addAllToOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeFromOwnerReferences(OwnerReference... items)
removeFromOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A removeAllFromOwnerReferences(Collection<OwnerReference> items)
removeAllFromOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
@Deprecated public List<OwnerReference> getOwnerReferences()
getOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public List<OwnerReference> buildOwnerReferences()
buildOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public OwnerReference buildOwnerReference(int index)
buildOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public OwnerReference buildFirstOwnerReference()
buildFirstOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public OwnerReference buildLastOwnerReference()
buildLastOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public OwnerReference buildMatchingOwnerReference(Predicate<OwnerReferenceBuilder> predicate)
buildMatchingOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withOwnerReferences(List<OwnerReference> ownerReferences)
withOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withOwnerReferences(OwnerReference... ownerReferences)
withOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasOwnerReferences()
hasOwnerReferences
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> addNewOwnerReference()
addNewOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> addNewOwnerReferenceLike(OwnerReference item)
addNewOwnerReferenceLike
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> setNewOwnerReferenceLike(int index, OwnerReference item)
setNewOwnerReferenceLike
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> editOwnerReference(int index)
editOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> editFirstOwnerReference()
editFirstOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> editLastOwnerReference()
editLastOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public ObjectMetaFluent.OwnerReferencesNested<A> editMatchingOwnerReference(Predicate<OwnerReferenceBuilder> predicate)
editMatchingOwnerReference
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getResourceVersion()
getResourceVersion
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withResourceVersion(String resourceVersion)
withResourceVersion
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasResourceVersion()
hasResourceVersion
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getSelfLink()
getSelfLink
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withSelfLink(String selfLink)
withSelfLink
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasSelfLink()
hasSelfLink
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public String getUid()
getUid
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public A withUid(String uid)
withUid
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
public Boolean hasUid()
hasUid
in interface ObjectMetaFluent<A extends ObjectMetaFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.