Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1SecretKeySelector
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1SecretKeySelector
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1SecretKeySelector extends Object
SecretKeySelector selects a key of a Secret.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_KEYstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_OPTIONAL
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1SecretKeySelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetKey()The key of the secret to select from.StringgetName()Name of the referent.BooleangetOptional()Specify whether the Secret or its key must be definedinthashCode()IoK8sApiCoreV1SecretKeySelectorkey(String key)IoK8sApiCoreV1SecretKeySelectorname(String name)IoK8sApiCoreV1SecretKeySelectoroptional(Boolean optional)voidsetKey(String key)voidsetName(String name)voidsetOptional(Boolean optional)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPTIONAL
public static final String JSON_PROPERTY_OPTIONAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
public IoK8sApiCoreV1SecretKeySelector key(String key)
-
getKey
public String getKey()
The key of the secret to select from. Must be a valid secret key.- Returns:
- key
-
setKey
public void setKey(String key)
-
name
public IoK8sApiCoreV1SecretKeySelector name(String name)
-
getName
@Nullable public String getName()
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names- Returns:
- name
-
setName
public void setName(String name)
-
optional
public IoK8sApiCoreV1SecretKeySelector optional(Boolean optional)
-
getOptional
@Nullable public Boolean getOptional()
Specify whether the Secret or its key must be defined- Returns:
- optional
-
setOptional
public void setOptional(Boolean optional)
-
-