@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1SecretKeySelector extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_KEY |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_OPTIONAL |
Constructor and Description |
---|
V1SecretKeySelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKey()
The key of the secret to select from.
|
String |
getName()
Name of the referent.
|
Boolean |
getOptional()
Specify whether the Secret or its key must be defined
|
int |
hashCode() |
V1SecretKeySelector |
key(String key) |
V1SecretKeySelector |
name(String name) |
V1SecretKeySelector |
optional(Boolean optional) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setOptional(Boolean optional) |
String |
toString() |
public static final String SERIALIZED_NAME_KEY
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_OPTIONAL
public V1SecretKeySelector key(String key)
public String getKey()
public void setKey(String key)
public V1SecretKeySelector name(String name)
@Nullable public String getName()
public void setName(String name)
public V1SecretKeySelector optional(Boolean optional)
@Nullable public Boolean getOptional()
public void setOptional(Boolean optional)
Copyright © 2020. All rights reserved.