Class V1SecretKeySelector
java.lang.Object
io.kubernetes.client.openapi.models.V1SecretKeySelector
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1SecretKeySelector
extends Object
SecretKeySelector selects a key of a Secret.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OPTIONAL
- See Also:
-
-
Constructor Details
-
V1SecretKeySelector
public V1SecretKeySelector()
-
-
Method Details
-
key
-
getKey
The key of the secret to select from. Must be a valid secret key.- Returns:
- key
-
setKey
-
name
-
getName
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names- Returns:
- name
-
setName
-
optional
-
getOptional
Specify whether the Secret or its key must be defined- Returns:
- optional
-
setOptional
-
equals
-
hashCode
public int hashCode() -
toString
-