@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1ServiceAccount extends Object implements KubernetesObject
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_VERSION |
static String |
SERIALIZED_NAME_AUTOMOUNT_SERVICE_ACCOUNT_TOKEN |
static String |
SERIALIZED_NAME_IMAGE_PULL_SECRETS |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_SECRETS |
Constructor and Description |
---|
V1ServiceAccount() |
Modifier and Type | Method and Description |
---|---|
V1ServiceAccount |
addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem) |
V1ServiceAccount |
addSecretsItem(V1ObjectReference secretsItem) |
V1ServiceAccount |
apiVersion(String apiVersion) |
V1ServiceAccount |
automountServiceAccountToken(Boolean automountServiceAccountToken) |
boolean |
equals(Object o) |
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
Boolean |
getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether pods running as this service account should have
an API token automatically mounted.
|
List<V1LocalObjectReference> |
getImagePullSecrets()
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling
any images in pods that reference this ServiceAccount.
|
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
V1ObjectMeta |
getMetadata()
Get metadata
|
List<V1ObjectReference> |
getSecrets()
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
|
int |
hashCode() |
V1ServiceAccount |
imagePullSecrets(List<V1LocalObjectReference> imagePullSecrets) |
V1ServiceAccount |
kind(String kind) |
V1ServiceAccount |
metadata(V1ObjectMeta metadata) |
V1ServiceAccount |
secrets(List<V1ObjectReference> secrets) |
void |
setApiVersion(String apiVersion) |
void |
setAutomountServiceAccountToken(Boolean automountServiceAccountToken) |
void |
setImagePullSecrets(List<V1LocalObjectReference> imagePullSecrets) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setSecrets(List<V1ObjectReference> secrets) |
String |
toString() |
public static final String SERIALIZED_NAME_API_VERSION
public static final String SERIALIZED_NAME_AUTOMOUNT_SERVICE_ACCOUNT_TOKEN
public static final String SERIALIZED_NAME_IMAGE_PULL_SECRETS
public static final String SERIALIZED_NAME_KIND
public static final String SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_SECRETS
public V1ServiceAccount apiVersion(String apiVersion)
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
public V1ServiceAccount automountServiceAccountToken(Boolean automountServiceAccountToken)
@Nullable public Boolean getAutomountServiceAccountToken()
public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken)
public V1ServiceAccount imagePullSecrets(List<V1LocalObjectReference> imagePullSecrets)
public V1ServiceAccount addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem)
@Nullable public List<V1LocalObjectReference> getImagePullSecrets()
public void setImagePullSecrets(List<V1LocalObjectReference> imagePullSecrets)
public V1ServiceAccount kind(String kind)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1ServiceAccount metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
public V1ServiceAccount secrets(List<V1ObjectReference> secrets)
public V1ServiceAccount addSecretsItem(V1ObjectReference secretsItem)
@Nullable public List<V1ObjectReference> getSecrets()
public void setSecrets(List<V1ObjectReference> secrets)
Copyright © 2020. All rights reserved.