@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1SecretProjection extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ITEMS |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_OPTIONAL |
Constructor and Description |
---|
V1SecretProjection() |
Modifier and Type | Method and Description |
---|---|
V1SecretProjection |
addItemsItem(V1KeyToPath itemsItem) |
boolean |
equals(Object o) |
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.
|
String |
getName()
Name of the referent.
|
Boolean |
getOptional()
Specify whether the Secret or its key must be defined
|
int |
hashCode() |
V1SecretProjection |
items(List<V1KeyToPath> items) |
V1SecretProjection |
name(String name) |
V1SecretProjection |
optional(Boolean optional) |
void |
setItems(List<V1KeyToPath> items) |
void |
setName(String name) |
void |
setOptional(Boolean optional) |
String |
toString() |
public static final String SERIALIZED_NAME_ITEMS
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_OPTIONAL
public V1SecretProjection items(List<V1KeyToPath> items)
public V1SecretProjection addItemsItem(V1KeyToPath itemsItem)
@Nullable public List<V1KeyToPath> getItems()
public void setItems(List<V1KeyToPath> items)
public V1SecretProjection name(String name)
@Nullable public String getName()
public void setName(String name)
public V1SecretProjection optional(Boolean optional)
@Nullable public Boolean getOptional()
public void setOptional(Boolean optional)
Copyright © 2020. All rights reserved.