Package io.fabric8.kubernetes.api.model
Class ServiceAccountFluentImpl<A extends ServiceAccountFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServiceAccountFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,ServiceAccountFluent<A>
- Direct Known Subclasses:
BaseKubernetesListFluentImpl.ServiceAccountItemsNestedImpl,KubeSchemaFluentImpl.ServiceAccountNestedImpl,NamedExtensionFluentImpl.ServiceAccountExtensionNestedImpl,ServiceAccountBuilder,ServiceAccountListFluentImpl.ItemsNestedImpl,WatchEventFluentImpl.ServiceAccountObjectNestedImpl
public class ServiceAccountFluentImpl<A extends ServiceAccountFluent<A>> extends BaseFluent<A> implements ServiceAccountFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classServiceAccountFluentImpl.ImagePullSecretsNestedImpl<N>classServiceAccountFluentImpl.MetadataNestedImpl<N>classServiceAccountFluentImpl.SecretsNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ServiceAccountFluent
ServiceAccountFluent.ImagePullSecretsNested<N>, ServiceAccountFluent.MetadataNested<N>, ServiceAccountFluent.SecretsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ServiceAccountFluentImpl()ServiceAccountFluentImpl(ServiceAccount instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServiceAccountFluentImpl
public ServiceAccountFluentImpl()
-
ServiceAccountFluentImpl
public ServiceAccountFluentImpl(ServiceAccount instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
isAutomountServiceAccountToken
public Boolean isAutomountServiceAccountToken()
- Specified by:
isAutomountServiceAccountTokenin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withAutomountServiceAccountToken
public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken)
- Specified by:
withAutomountServiceAccountTokenin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasAutomountServiceAccountToken
public Boolean hasAutomountServiceAccountToken()
- Specified by:
hasAutomountServiceAccountTokenin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewAutomountServiceAccountToken
public A withNewAutomountServiceAccountToken(String arg1)
- Specified by:
withNewAutomountServiceAccountTokenin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewAutomountServiceAccountToken
public A withNewAutomountServiceAccountToken(boolean arg1)
- Specified by:
withNewAutomountServiceAccountTokenin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addToImagePullSecrets
public A addToImagePullSecrets(int index, LocalObjectReference item)
- Specified by:
addToImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
setToImagePullSecrets
public A setToImagePullSecrets(int index, LocalObjectReference item)
- Specified by:
setToImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addToImagePullSecrets
public A addToImagePullSecrets(LocalObjectReference... items)
- Specified by:
addToImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addAllToImagePullSecrets
public A addAllToImagePullSecrets(Collection<LocalObjectReference> items)
- Specified by:
addAllToImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
removeFromImagePullSecrets
public A removeFromImagePullSecrets(LocalObjectReference... items)
- Specified by:
removeFromImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
removeAllFromImagePullSecrets
public A removeAllFromImagePullSecrets(Collection<LocalObjectReference> items)
- Specified by:
removeAllFromImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
removeMatchingFromImagePullSecrets
public A removeMatchingFromImagePullSecrets(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
removeMatchingFromImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
getImagePullSecrets
@Deprecated public List<LocalObjectReference> getImagePullSecrets()
Deprecated.This method has been deprecated, please use method buildImagePullSecrets instead.- Specified by:
getImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>- Returns:
- The buildable object.
-
buildImagePullSecrets
public List<LocalObjectReference> buildImagePullSecrets()
- Specified by:
buildImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildImagePullSecret
public LocalObjectReference buildImagePullSecret(int index)
- Specified by:
buildImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildFirstImagePullSecret
public LocalObjectReference buildFirstImagePullSecret()
- Specified by:
buildFirstImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildLastImagePullSecret
public LocalObjectReference buildLastImagePullSecret()
- Specified by:
buildLastImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildMatchingImagePullSecret
public LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
buildMatchingImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasMatchingImagePullSecret
public Boolean hasMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
hasMatchingImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withImagePullSecrets
public A withImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
- Specified by:
withImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withImagePullSecrets
public A withImagePullSecrets(LocalObjectReference... imagePullSecrets)
- Specified by:
withImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasImagePullSecrets
public Boolean hasImagePullSecrets()
- Specified by:
hasImagePullSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addNewImagePullSecret
public A addNewImagePullSecret(String name)
- Specified by:
addNewImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addNewImagePullSecret
public ServiceAccountFluent.ImagePullSecretsNested<A> addNewImagePullSecret()
- Specified by:
addNewImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addNewImagePullSecretLike
public ServiceAccountFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(LocalObjectReference item)
- Specified by:
addNewImagePullSecretLikein interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
setNewImagePullSecretLike
public ServiceAccountFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(int index, LocalObjectReference item)
- Specified by:
setNewImagePullSecretLikein interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editImagePullSecret
public ServiceAccountFluent.ImagePullSecretsNested<A> editImagePullSecret(int index)
- Specified by:
editImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editFirstImagePullSecret
public ServiceAccountFluent.ImagePullSecretsNested<A> editFirstImagePullSecret()
- Specified by:
editFirstImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editLastImagePullSecret
public ServiceAccountFluent.ImagePullSecretsNested<A> editLastImagePullSecret()
- Specified by:
editLastImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editMatchingImagePullSecret
public ServiceAccountFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
- Specified by:
editMatchingImagePullSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
getMetadata
@Deprecated public ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public ObjectMeta buildMetadata()
- Specified by:
buildMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withMetadata
public A withMetadata(ObjectMeta metadata)
- Specified by:
withMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewMetadata
public ServiceAccountFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withNewMetadataLike
public ServiceAccountFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
- Specified by:
withNewMetadataLikein interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editMetadata
public ServiceAccountFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editOrNewMetadata
public ServiceAccountFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editOrNewMetadataLike
public ServiceAccountFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
- Specified by:
editOrNewMetadataLikein interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addToSecrets
public A addToSecrets(int index, ObjectReference item)
- Specified by:
addToSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
setToSecrets
public A setToSecrets(int index, ObjectReference item)
- Specified by:
setToSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addToSecrets
public A addToSecrets(ObjectReference... items)
- Specified by:
addToSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addAllToSecrets
public A addAllToSecrets(Collection<ObjectReference> items)
- Specified by:
addAllToSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
removeFromSecrets
public A removeFromSecrets(ObjectReference... items)
- Specified by:
removeFromSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
removeAllFromSecrets
public A removeAllFromSecrets(Collection<ObjectReference> items)
- Specified by:
removeAllFromSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
removeMatchingFromSecrets
public A removeMatchingFromSecrets(Predicate<ObjectReferenceBuilder> predicate)
- Specified by:
removeMatchingFromSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
getSecrets
@Deprecated public List<ObjectReference> getSecrets()
Deprecated.This method has been deprecated, please use method buildSecrets instead.- Specified by:
getSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>- Returns:
- The buildable object.
-
buildSecrets
public List<ObjectReference> buildSecrets()
- Specified by:
buildSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildSecret
public ObjectReference buildSecret(int index)
- Specified by:
buildSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildFirstSecret
public ObjectReference buildFirstSecret()
- Specified by:
buildFirstSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildLastSecret
public ObjectReference buildLastSecret()
- Specified by:
buildLastSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
buildMatchingSecret
public ObjectReference buildMatchingSecret(Predicate<ObjectReferenceBuilder> predicate)
- Specified by:
buildMatchingSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasMatchingSecret
public Boolean hasMatchingSecret(Predicate<ObjectReferenceBuilder> predicate)
- Specified by:
hasMatchingSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withSecrets
public A withSecrets(List<ObjectReference> secrets)
- Specified by:
withSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
withSecrets
public A withSecrets(ObjectReference... secrets)
- Specified by:
withSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
hasSecrets
public Boolean hasSecrets()
- Specified by:
hasSecretsin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addNewSecret
public ServiceAccountFluent.SecretsNested<A> addNewSecret()
- Specified by:
addNewSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
addNewSecretLike
public ServiceAccountFluent.SecretsNested<A> addNewSecretLike(ObjectReference item)
- Specified by:
addNewSecretLikein interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
setNewSecretLike
public ServiceAccountFluent.SecretsNested<A> setNewSecretLike(int index, ObjectReference item)
- Specified by:
setNewSecretLikein interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editSecret
public ServiceAccountFluent.SecretsNested<A> editSecret(int index)
- Specified by:
editSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editFirstSecret
public ServiceAccountFluent.SecretsNested<A> editFirstSecret()
- Specified by:
editFirstSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editLastSecret
public ServiceAccountFluent.SecretsNested<A> editLastSecret()
- Specified by:
editLastSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
editMatchingSecret
public ServiceAccountFluent.SecretsNested<A> editMatchingSecret(Predicate<ObjectReferenceBuilder> predicate)
- Specified by:
editMatchingSecretin interfaceServiceAccountFluent<A extends ServiceAccountFluent<A>>
-
-