public class V1ServiceAccount extends Object
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.
|
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()
Standard object's 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) |
Boolean |
isAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
|
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 V1ServiceAccount apiVersion(String apiVersion)
public String getApiVersion()
public void setApiVersion(String apiVersion)
public V1ServiceAccount automountServiceAccountToken(Boolean automountServiceAccountToken)
public Boolean isAutomountServiceAccountToken()
public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken)
public V1ServiceAccount imagePullSecrets(List<V1LocalObjectReference> imagePullSecrets)
public V1ServiceAccount addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem)
public List<V1LocalObjectReference> getImagePullSecrets()
public void setImagePullSecrets(List<V1LocalObjectReference> imagePullSecrets)
public V1ServiceAccount kind(String kind)
public String getKind()
public void setKind(String kind)
public V1ServiceAccount metadata(V1ObjectMeta metadata)
public V1ObjectMeta getMetadata()
public void setMetadata(V1ObjectMeta metadata)
public V1ServiceAccount secrets(List<V1ObjectReference> secrets)
public V1ServiceAccount addSecretsItem(V1ObjectReference secretsItem)
public List<V1ObjectReference> getSecrets()
public void setSecrets(List<V1ObjectReference> secrets)
Copyright © 2019. All rights reserved.