@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1SecretVolumeSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_DEFAULT_MODE |
static String |
SERIALIZED_NAME_ITEMS |
static String |
SERIALIZED_NAME_OPTIONAL |
static String |
SERIALIZED_NAME_SECRET_NAME |
Constructor and Description |
---|
V1SecretVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1SecretVolumeSource |
addItemsItem(V1KeyToPath itemsItem) |
V1SecretVolumeSource |
defaultMode(Integer defaultMode) |
boolean |
equals(Object o) |
Integer |
getDefaultMode()
Optional: mode bits to use on created files by default.
|
List<V1KeyToPath> |
getItems()
If unspecified, each key-value pair in the Data field of the referenced Secret will be
projected into the volume as a file whose name is the key and content is the value.
|
Boolean |
getOptional()
Specify whether the Secret or its keys must be defined
|
String |
getSecretName()
Name of the secret in the pod's namespace to use.
|
int |
hashCode() |
V1SecretVolumeSource |
items(List<V1KeyToPath> items) |
V1SecretVolumeSource |
optional(Boolean optional) |
V1SecretVolumeSource |
secretName(String secretName) |
void |
setDefaultMode(Integer defaultMode) |
void |
setItems(List<V1KeyToPath> items) |
void |
setOptional(Boolean optional) |
void |
setSecretName(String secretName) |
String |
toString() |
public static final String SERIALIZED_NAME_DEFAULT_MODE
public static final String SERIALIZED_NAME_ITEMS
public static final String SERIALIZED_NAME_OPTIONAL
public static final String SERIALIZED_NAME_SECRET_NAME
public V1SecretVolumeSource defaultMode(Integer defaultMode)
@Nullable public Integer getDefaultMode()
public void setDefaultMode(Integer defaultMode)
public V1SecretVolumeSource items(List<V1KeyToPath> items)
public V1SecretVolumeSource addItemsItem(V1KeyToPath itemsItem)
@Nullable public List<V1KeyToPath> getItems()
public void setItems(List<V1KeyToPath> items)
public V1SecretVolumeSource optional(Boolean optional)
@Nullable public Boolean getOptional()
public void setOptional(Boolean optional)
public V1SecretVolumeSource secretName(String secretName)
@Nullable public String getSecretName()
public void setSecretName(String secretName)
Copyright © 2020. All rights reserved.