Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ServiceAccount
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ServiceAccount
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ServiceAccount extends Object
ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_AUTOMOUNT_SERVICE_ACCOUNT_TOKENstatic StringJSON_PROPERTY_IMAGE_PULL_SECRETSstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_SECRETS
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ServiceAccount()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOMOUNT_SERVICE_ACCOUNT_TOKEN
public static final String JSON_PROPERTY_AUTOMOUNT_SERVICE_ACCOUNT_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMAGE_PULL_SECRETS
public static final String JSON_PROPERTY_IMAGE_PULL_SECRETS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECRETS
public static final String JSON_PROPERTY_SECRETS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApiCoreV1ServiceAccount apiVersion(String apiVersion)
-
getApiVersion
@Nullable public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
automountServiceAccountToken
public IoK8sApiCoreV1ServiceAccount automountServiceAccountToken(Boolean automountServiceAccountToken)
-
getAutomountServiceAccountToken
@Nullable public Boolean getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.- Returns:
- automountServiceAccountToken
-
setAutomountServiceAccountToken
public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken)
-
imagePullSecrets
public IoK8sApiCoreV1ServiceAccount imagePullSecrets(List<IoK8sApiCoreV1LocalObjectReference> imagePullSecrets)
-
addImagePullSecretsItem
public IoK8sApiCoreV1ServiceAccount addImagePullSecretsItem(IoK8sApiCoreV1LocalObjectReference imagePullSecretsItem)
-
getImagePullSecrets
@Nullable public List<IoK8sApiCoreV1LocalObjectReference> 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. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod- Returns:
- imagePullSecrets
-
setImagePullSecrets
public void setImagePullSecrets(List<IoK8sApiCoreV1LocalObjectReference> imagePullSecrets)
-
kind
public IoK8sApiCoreV1ServiceAccount kind(String kind)
-
getKind
@Nullable public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(String kind)
-
metadata
public IoK8sApiCoreV1ServiceAccount metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
secrets
public IoK8sApiCoreV1ServiceAccount secrets(List<IoK8sApiCoreV1ObjectReference> secrets)
-
addSecretsItem
public IoK8sApiCoreV1ServiceAccount addSecretsItem(IoK8sApiCoreV1ObjectReference secretsItem)
-
getSecrets
@Nullable public List<IoK8sApiCoreV1ObjectReference> getSecrets()
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret- Returns:
- secrets
-
setSecrets
public void setSecrets(List<IoK8sApiCoreV1ObjectReference> secrets)
-
-