@Generated(value="org.jsonschema2pojo") public class ServiceAccount extends Object implements HasMetadata
Modifier and Type | Class and Description |
---|---|
static class |
ServiceAccount.ApiVersion |
Constructor and Description |
---|
ServiceAccount()
No args constructor for use in serialization
|
ServiceAccount(ServiceAccount.ApiVersion apiVersion,
List<LocalObjectReference> imagePullSecrets,
String kind,
ObjectMeta metadata,
List<ObjectReference> secrets) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
ServiceAccount.ApiVersion |
getApiVersion()
(Required)
|
List<LocalObjectReference> |
getImagePullSecrets() |
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
List<ObjectReference> |
getSecrets() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(ServiceAccount.ApiVersion apiVersion)
(Required)
|
void |
setImagePullSecrets(List<LocalObjectReference> imagePullSecrets) |
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setSecrets(List<ObjectReference> secrets) |
public ServiceAccount()
public ServiceAccount(ServiceAccount.ApiVersion apiVersion, List<LocalObjectReference> imagePullSecrets, String kind, ObjectMeta metadata, List<ObjectReference> secrets)
metadata
- apiVersion
- kind
- imagePullSecrets
- secrets
- public ServiceAccount.ApiVersion getApiVersion()
public void setApiVersion(ServiceAccount.ApiVersion apiVersion)
apiVersion
- The apiVersionpublic List<LocalObjectReference> getImagePullSecrets()
public void setImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
imagePullSecrets
- The imagePullSecretspublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadatapublic List<ObjectReference> getSecrets()
public void setSecrets(List<ObjectReference> secrets)
secrets
- The secretsCopyright © 2011–2015 Red Hat. All rights reserved.