Class V1SecretKeySelector
java.lang.Object
io.kubernetes.client.openapi.models.V1SecretKeySelector
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T19:21:52.410010Z[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. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. 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
-