@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1Secret extends Object implements KubernetesObject
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_VERSION |
static String |
SERIALIZED_NAME_DATA |
static String |
SERIALIZED_NAME_IMMUTABLE |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_STRING_DATA |
static String |
SERIALIZED_NAME_TYPE |
Constructor and Description |
---|
V1Secret() |
Modifier and Type | Method and Description |
---|---|
V1Secret |
apiVersion(String apiVersion) |
V1Secret |
data(Map<String,byte[]> data) |
boolean |
equals(Object o) |
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
Map<String,byte[]> |
getData()
Data contains the secret data.
|
Boolean |
getImmutable()
Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only
object metadata can be modified).
|
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
V1ObjectMeta |
getMetadata()
Get metadata
|
Map<String,String> |
getStringData()
stringData allows specifying non-binary secret data in string form.
|
String |
getType()
Used to facilitate programmatic handling of secret data.
|
int |
hashCode() |
V1Secret |
immutable(Boolean immutable) |
V1Secret |
kind(String kind) |
V1Secret |
metadata(V1ObjectMeta metadata) |
V1Secret |
putDataItem(String key,
byte[] dataItem) |
V1Secret |
putStringDataItem(String key,
String stringDataItem) |
void |
setApiVersion(String apiVersion) |
void |
setData(Map<String,byte[]> data) |
void |
setImmutable(Boolean immutable) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setStringData(Map<String,String> stringData) |
void |
setType(String type) |
V1Secret |
stringData(Map<String,String> stringData) |
String |
toString() |
V1Secret |
type(String type) |
public static final String SERIALIZED_NAME_API_VERSION
public static final String SERIALIZED_NAME_DATA
public static final String SERIALIZED_NAME_IMMUTABLE
public static final String SERIALIZED_NAME_KIND
public static final String SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_STRING_DATA
public static final String SERIALIZED_NAME_TYPE
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
@Nullable public Map<String,byte[]> getData()
@Nullable public Boolean getImmutable()
public void setImmutable(Boolean immutable)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1Secret metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
@Nullable public Map<String,String> getStringData()
@Nullable public String getType()
public void setType(String type)
Copyright © 2020. All rights reserved.