public class ServiceAccountFluentImpl<T extends ServiceAccountFluent<T>> extends BaseFluent<T> implements ServiceAccountFluent<T>
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 ServiceAccount.ApiVersion getApiVersion()
getApiVersion
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withApiVersion(ServiceAccount.ApiVersion apiVersion)
withApiVersion
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T addToImagePullSecrets(LocalObjectReference... items)
addToImagePullSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T removeFromImagePullSecrets(LocalObjectReference... items)
removeFromImagePullSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
withImagePullSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withImagePullSecrets(LocalObjectReference... imagePullSecrets)
withImagePullSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.ImagePullSecretsNested<T> addNewImagePullSecret()
addNewImagePullSecret
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.ImagePullSecretsNested<T> addNewImagePullSecretLike(LocalObjectReference item)
addNewImagePullSecretLike
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T addNewImagePullSecret(String name)
addNewImagePullSecret
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public String getKind()
getKind
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withKind(String kind)
withKind
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ObjectMeta getMetadata()
getMetadata
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withMetadata(ObjectMeta metadata)
withMetadata
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.MetadataNested<T> withNewMetadata()
withNewMetadata
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.MetadataNested<T> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.MetadataNested<T> editMetadata()
editMetadata
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T addToSecrets(ObjectReference... items)
addToSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T removeFromSecrets(ObjectReference... items)
removeFromSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public List<ObjectReference> getSecrets()
getSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withSecrets(List<ObjectReference> secrets)
withSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withSecrets(ObjectReference... secrets)
withSecrets
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.SecretsNested<T> addNewSecret()
addNewSecret
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public ServiceAccountFluent.SecretsNested<T> addNewSecretLike(ObjectReference item)
addNewSecretLike
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface ServiceAccountFluent<T extends ServiceAccountFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.