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 String getApiVersion()
getApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public Boolean isAutomountServiceAccountToken()
isAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken)
withAutomountServiceAccountToken
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public Boolean hasAutomountServiceAccountToken()
hasAutomountServiceAccountToken
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(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(Collection<LocalObjectReference> items)
removeAllFromImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
@Deprecated public List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public 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 A withImagePullSecrets(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 Boolean hasImagePullSecrets()
hasImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A addNewImagePullSecret(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 String getKind()
getKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withKind(String kind)
withKind
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public Boolean hasKind()
hasKind
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 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(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(Collection<ObjectReference> items)
removeAllFromSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
@Deprecated public List<ObjectReference> getSecrets()
getSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public 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 A withSecrets(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 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>>
Copyright © 2011–2018 Red Hat. All rights reserved.