Class V1ServiceAccountFluentImpl<A extends V1ServiceAccountFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1ServiceAccountFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1ServiceAccountFluent<A>
- Direct Known Subclasses:
V1ServiceAccountBuilder
public class V1ServiceAccountFluentImpl<A extends V1ServiceAccountFluent<A>>
extends BaseFluent<A>
implements V1ServiceAccountFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1ServiceAccountFluent
V1ServiceAccountFluent.ImagePullSecretsNested<N>, V1ServiceAccountFluent.MetadataNested<N>, V1ServiceAccountFluent.SecretsNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
ConstructorsConstructorDescriptionV1ServiceAccountFluentImpl
(io.kubernetes.client.openapi.models.V1ServiceAccount instance) -
Method Summary
Modifier and TypeMethodDescriptionaddAllToImagePullSecrets
(Collection<io.kubernetes.client.openapi.models.V1LocalObjectReference> items) addAllToSecrets
(Collection<io.kubernetes.client.openapi.models.V1ObjectReference> items) addNewImagePullSecretLike
(io.kubernetes.client.openapi.models.V1LocalObjectReference item) addNewSecretLike
(io.kubernetes.client.openapi.models.V1ObjectReference item) addToImagePullSecrets
(io.kubernetes.client.openapi.models.V1LocalObjectReference... items) addToImagePullSecrets
(Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item) addToSecrets
(io.kubernetes.client.openapi.models.V1ObjectReference... items) addToSecrets
(Integer index, io.kubernetes.client.openapi.models.V1ObjectReference item) io.kubernetes.client.openapi.models.V1LocalObjectReference
io.kubernetes.client.openapi.models.V1ObjectReference
io.kubernetes.client.openapi.models.V1LocalObjectReference
buildImagePullSecret
(Integer index) List<io.kubernetes.client.openapi.models.V1LocalObjectReference>
io.kubernetes.client.openapi.models.V1LocalObjectReference
io.kubernetes.client.openapi.models.V1ObjectReference
io.kubernetes.client.openapi.models.V1LocalObjectReference
io.kubernetes.client.openapi.models.V1ObjectReference
buildMatchingSecret
(Predicate<V1ObjectReferenceBuilder> predicate) io.kubernetes.client.openapi.models.V1ObjectMeta
io.kubernetes.client.openapi.models.V1ObjectReference
buildSecret
(Integer index) List<io.kubernetes.client.openapi.models.V1ObjectReference>
editImagePullSecret
(Integer index) editMatchingSecret
(Predicate<V1ObjectReferenceBuilder> predicate) editOrNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) editSecret
(Integer index) boolean
List<io.kubernetes.client.openapi.models.V1LocalObjectReference>
Deprecated.getKind()
io.kubernetes.client.openapi.models.V1ObjectMeta
Deprecated.List<io.kubernetes.client.openapi.models.V1ObjectReference>
Deprecated.int
hashCode()
hasKind()
hasMatchingSecret
(Predicate<V1ObjectReferenceBuilder> predicate) removeAllFromImagePullSecrets
(Collection<io.kubernetes.client.openapi.models.V1LocalObjectReference> items) removeAllFromSecrets
(Collection<io.kubernetes.client.openapi.models.V1ObjectReference> items) removeFromImagePullSecrets
(io.kubernetes.client.openapi.models.V1LocalObjectReference... items) removeFromSecrets
(io.kubernetes.client.openapi.models.V1ObjectReference... items) setNewImagePullSecretLike
(Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item) setNewSecretLike
(Integer index, io.kubernetes.client.openapi.models.V1ObjectReference item) setToImagePullSecrets
(Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item) setToSecrets
(Integer index, io.kubernetes.client.openapi.models.V1ObjectReference item) toString()
withApiVersion
(String apiVersion) withAutomountServiceAccountToken
(Boolean automountServiceAccountToken) withImagePullSecrets
(io.kubernetes.client.openapi.models.V1LocalObjectReference... imagePullSecrets) withImagePullSecrets
(List<io.kubernetes.client.openapi.models.V1LocalObjectReference> imagePullSecrets) withMetadata
(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) withNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) withSecrets
(io.kubernetes.client.openapi.models.V1ObjectReference... secrets) withSecrets
(List<io.kubernetes.client.openapi.models.V1ObjectReference> secrets) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1ServiceAccountFluentImpl
public V1ServiceAccountFluentImpl() -
V1ServiceAccountFluentImpl
public V1ServiceAccountFluentImpl(io.kubernetes.client.openapi.models.V1ServiceAccount instance)
-
-
Method Details
-
getApiVersion
- Specified by:
getApiVersion
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withApiVersion
- Specified by:
withApiVersion
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasApiVersion
- Specified by:
hasApiVersion
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
getAutomountServiceAccountToken
- Specified by:
getAutomountServiceAccountToken
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withAutomountServiceAccountToken
- Specified by:
withAutomountServiceAccountToken
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasAutomountServiceAccountToken
- Specified by:
hasAutomountServiceAccountToken
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addToImagePullSecrets
public A addToImagePullSecrets(Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item) - Specified by:
addToImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
setToImagePullSecrets
public A setToImagePullSecrets(Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item) - Specified by:
setToImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addToImagePullSecrets
- Specified by:
addToImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addAllToImagePullSecrets
public A addAllToImagePullSecrets(Collection<io.kubernetes.client.openapi.models.V1LocalObjectReference> items) - Specified by:
addAllToImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
removeFromImagePullSecrets
public A removeFromImagePullSecrets(io.kubernetes.client.openapi.models.V1LocalObjectReference... items) - Specified by:
removeFromImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
removeAllFromImagePullSecrets
public A removeAllFromImagePullSecrets(Collection<io.kubernetes.client.openapi.models.V1LocalObjectReference> items) - Specified by:
removeAllFromImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
removeMatchingFromImagePullSecrets
- Specified by:
removeMatchingFromImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
getImagePullSecrets
@Deprecated public List<io.kubernetes.client.openapi.models.V1LocalObjectReference> getImagePullSecrets()Deprecated.This method has been deprecated, please use method buildImagePullSecrets instead.- Specified by:
getImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
- Returns:
- The buildable object.
-
buildImagePullSecrets
- Specified by:
buildImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildImagePullSecret
public io.kubernetes.client.openapi.models.V1LocalObjectReference buildImagePullSecret(Integer index) - Specified by:
buildImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildFirstImagePullSecret
public io.kubernetes.client.openapi.models.V1LocalObjectReference buildFirstImagePullSecret()- Specified by:
buildFirstImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildLastImagePullSecret
public io.kubernetes.client.openapi.models.V1LocalObjectReference buildLastImagePullSecret()- Specified by:
buildLastImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildMatchingImagePullSecret
public io.kubernetes.client.openapi.models.V1LocalObjectReference buildMatchingImagePullSecret(Predicate<V1LocalObjectReferenceBuilder> predicate) - Specified by:
buildMatchingImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasMatchingImagePullSecret
- Specified by:
hasMatchingImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withImagePullSecrets
public A withImagePullSecrets(List<io.kubernetes.client.openapi.models.V1LocalObjectReference> imagePullSecrets) - Specified by:
withImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withImagePullSecrets
public A withImagePullSecrets(io.kubernetes.client.openapi.models.V1LocalObjectReference... imagePullSecrets) - Specified by:
withImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasImagePullSecrets
- Specified by:
hasImagePullSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addNewImagePullSecret
- Specified by:
addNewImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addNewImagePullSecretLike
public V1ServiceAccountFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(io.kubernetes.client.openapi.models.V1LocalObjectReference item) - Specified by:
addNewImagePullSecretLike
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
setNewImagePullSecretLike
public V1ServiceAccountFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(Integer index, io.kubernetes.client.openapi.models.V1LocalObjectReference item) - Specified by:
setNewImagePullSecretLike
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editImagePullSecret
- Specified by:
editImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editFirstImagePullSecret
- Specified by:
editFirstImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editLastImagePullSecret
- Specified by:
editLastImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editMatchingImagePullSecret
public V1ServiceAccountFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<V1LocalObjectReferenceBuilder> predicate) - Specified by:
editMatchingImagePullSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
getKind
- Specified by:
getKind
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withKind
- Specified by:
withKind
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasKind
- Specified by:
hasKind
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
getMetadata
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata()- Specified by:
buildMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withMetadata
- Specified by:
withMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasMetadata
- Specified by:
hasMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withNewMetadata
- Specified by:
withNewMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withNewMetadataLike
public V1ServiceAccountFluent.MetadataNested<A> withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
withNewMetadataLike
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editMetadata
- Specified by:
editMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editOrNewMetadata
- Specified by:
editOrNewMetadata
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editOrNewMetadataLike
public V1ServiceAccountFluent.MetadataNested<A> editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
editOrNewMetadataLike
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addToSecrets
- Specified by:
addToSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
setToSecrets
- Specified by:
setToSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addToSecrets
- Specified by:
addToSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addAllToSecrets
- Specified by:
addAllToSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
removeFromSecrets
- Specified by:
removeFromSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
removeAllFromSecrets
public A removeAllFromSecrets(Collection<io.kubernetes.client.openapi.models.V1ObjectReference> items) - Specified by:
removeAllFromSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
removeMatchingFromSecrets
- Specified by:
removeMatchingFromSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
getSecrets
Deprecated.This method has been deprecated, please use method buildSecrets instead.- Specified by:
getSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
- Returns:
- The buildable object.
-
buildSecrets
- Specified by:
buildSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildSecret
- Specified by:
buildSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildFirstSecret
public io.kubernetes.client.openapi.models.V1ObjectReference buildFirstSecret()- Specified by:
buildFirstSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildLastSecret
public io.kubernetes.client.openapi.models.V1ObjectReference buildLastSecret()- Specified by:
buildLastSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
buildMatchingSecret
public io.kubernetes.client.openapi.models.V1ObjectReference buildMatchingSecret(Predicate<V1ObjectReferenceBuilder> predicate) - Specified by:
buildMatchingSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasMatchingSecret
- Specified by:
hasMatchingSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withSecrets
- Specified by:
withSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
withSecrets
- Specified by:
withSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
hasSecrets
- Specified by:
hasSecrets
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addNewSecret
- Specified by:
addNewSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
addNewSecretLike
public V1ServiceAccountFluent.SecretsNested<A> addNewSecretLike(io.kubernetes.client.openapi.models.V1ObjectReference item) - Specified by:
addNewSecretLike
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
setNewSecretLike
public V1ServiceAccountFluent.SecretsNested<A> setNewSecretLike(Integer index, io.kubernetes.client.openapi.models.V1ObjectReference item) - Specified by:
setNewSecretLike
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editSecret
- Specified by:
editSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editFirstSecret
- Specified by:
editFirstSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editLastSecret
- Specified by:
editLastSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
editMatchingSecret
public V1ServiceAccountFluent.SecretsNested<A> editMatchingSecret(Predicate<V1ObjectReferenceBuilder> predicate) - Specified by:
editMatchingSecret
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1ServiceAccountFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1ServiceAccountFluent<A>>
-
toString
-
withAutomountServiceAccountToken
- Specified by:
withAutomountServiceAccountToken
in interfaceV1ServiceAccountFluent<A extends V1ServiceAccountFluent<A>>
-