public class ServiceAccountFluentImpl<A extends ServiceAccountFluent<A>> extends BaseFluent<A> implements ServiceAccountFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ServiceAccountFluentImpl.ImagePullSecretsNestedImpl<N> |
class |
ServiceAccountFluentImpl.MetadataNestedImpl<N> |
class |
ServiceAccountFluentImpl.SecretsNestedImpl<N> |
ServiceAccountFluent.ImagePullSecretsNested<N>, ServiceAccountFluent.MetadataNested<N>, ServiceAccountFluent.SecretsNested<N>
_visitables
Constructor and Description |
---|
ServiceAccountFluentImpl() |
ServiceAccountFluentImpl(ServiceAccount instance) |
public ServiceAccountFluentImpl()
public ServiceAccountFluentImpl(ServiceAccount instance)
public java.lang.String getApiVersion()
getApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withApiVersion(java.lang.String apiVersion)
withApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasApiVersion()
hasApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewApiVersion(java.lang.String arg1)
withNewApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewApiVersion(java.lang.StringBuilder arg1)
withNewApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewApiVersion(java.lang.StringBuffer arg1)
withNewApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean isAutomountServiceAccountToken()
isAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withAutomountServiceAccountToken(java.lang.Boolean automountServiceAccountToken)
withAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasAutomountServiceAccountToken()
hasAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewAutomountServiceAccountToken(java.lang.String arg1)
withNewAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewAutomountServiceAccountToken(boolean arg1)
withNewAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addToImagePullSecrets(int index, LocalObjectReference item)
addToImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A setToImagePullSecrets(int index, LocalObjectReference item)
setToImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addToImagePullSecrets(LocalObjectReference... items)
addToImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addAllToImagePullSecrets(java.util.Collection<LocalObjectReference> items)
addAllToImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A removeFromImagePullSecrets(LocalObjectReference... items)
removeFromImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A removeAllFromImagePullSecrets(java.util.Collection<LocalObjectReference> items)
removeAllFromImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
@Deprecated public java.util.List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.util.List<LocalObjectReference> buildImagePullSecrets()
buildImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public LocalObjectReference buildImagePullSecret(int index)
buildImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public LocalObjectReference buildFirstImagePullSecret()
buildFirstImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public LocalObjectReference buildLastImagePullSecret()
buildLastImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
buildMatchingImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
hasMatchingImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withImagePullSecrets(java.util.List<LocalObjectReference> imagePullSecrets)
withImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withImagePullSecrets(LocalObjectReference... imagePullSecrets)
withImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasImagePullSecrets()
hasImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addNewImagePullSecret(java.lang.String name)
addNewImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> addNewImagePullSecret()
addNewImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(LocalObjectReference item)
addNewImagePullSecretLike
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(int index, LocalObjectReference item)
setNewImagePullSecretLike
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> editImagePullSecret(int index)
editImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> editFirstImagePullSecret()
editFirstImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> editLastImagePullSecret()
editLastImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
editMatchingImagePullSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.String getKind()
getKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withKind(java.lang.String kind)
withKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasKind()
hasKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewKind(java.lang.String arg1)
withNewKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewKind(java.lang.StringBuilder arg1)
withNewKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withNewKind(java.lang.StringBuffer arg1)
withNewKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasMetadata()
hasMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.MetadataNested<A> editMetadata()
editMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addToSecrets(int index, ObjectReference item)
addToSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A setToSecrets(int index, ObjectReference item)
setToSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addToSecrets(ObjectReference... items)
addToSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addAllToSecrets(java.util.Collection<ObjectReference> items)
addAllToSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A removeFromSecrets(ObjectReference... items)
removeFromSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A removeAllFromSecrets(java.util.Collection<ObjectReference> items)
removeAllFromSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
@Deprecated public java.util.List<ObjectReference> getSecrets()
getSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.util.List<ObjectReference> buildSecrets()
buildSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ObjectReference buildSecret(int index)
buildSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ObjectReference buildFirstSecret()
buildFirstSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ObjectReference buildLastSecret()
buildLastSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ObjectReference buildMatchingSecret(Predicate<ObjectReferenceBuilder> predicate)
buildMatchingSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasMatchingSecret(Predicate<ObjectReferenceBuilder> predicate)
hasMatchingSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withSecrets(java.util.List<ObjectReference> secrets)
withSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withSecrets(ObjectReference... secrets)
withSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public java.lang.Boolean hasSecrets()
hasSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> addNewSecret()
addNewSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> addNewSecretLike(ObjectReference item)
addNewSecretLike
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> setNewSecretLike(int index, ObjectReference item)
setNewSecretLike
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> editSecret(int index)
editSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> editFirstSecret()
editFirstSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> editLastSecret()
editLastSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public ServiceAccountFluent.SecretsNested<A> editMatchingSecret(Predicate<ObjectReferenceBuilder> predicate)
editMatchingSecret
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.