public class V1SecretProjection extends Object
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.
|
int |
hashCode() |
Boolean |
isOptional()
Specify whether the Secret or its key must be defined
|
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 V1SecretProjection items(List<V1KeyToPath> items)
public V1SecretProjection addItemsItem(V1KeyToPath itemsItem)
public List<V1KeyToPath> getItems()
public void setItems(List<V1KeyToPath> items)
public V1SecretProjection name(String name)
public String getName()
public void setName(String name)
public V1SecretProjection optional(Boolean optional)
public Boolean isOptional()
public void setOptional(Boolean optional)
Copyright © 2018. All rights reserved.