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