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 A addToImagePullSecrets(LocalObjectReference... items)
addToImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A removeFromImagePullSecrets(LocalObjectReference... items)
removeFromImagePullSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets
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 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 A addNewImagePullSecret(String name)
addNewImagePullSecret
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 ObjectMeta getMetadata()
getMetadata
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
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 A addToSecrets(ObjectReference... items)
addToSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public A removeFromSecrets(ObjectReference... items)
removeFromSecrets
in interface ServiceAccountFluent<A extends ServiceAccountFluent<A>>
public List<ObjectReference> getSecrets()
getSecrets
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 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>>
Copyright © 2011–2016 Red Hat. All rights reserved.