Class V1SecretKeySelector
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1SecretKeySelector
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1SecretKeySelector
extends Object
SecretKeySelector selects a key of a Secret.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()The key of the secret to select from.getName()Name of the referent.Specify whether the Secret or its key must be definedinthashCode()Set key in a chainable fashion.Set name in a chainable fashion.Set optional in a chainable fashion.voidSet the key property valuevoidSet the name property valuevoidsetOptional(Boolean optional) Set the optional property valuetoString()
-
Field Details
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONAL
- See Also:
-
-
Constructor Details
-
V1SecretKeySelector
-
-
Method Details
-
getKey
The key of the secret to select from. Must be a valid secret key.- Returns:
- the key property value
-
setKey
Set the key property value -
key
Set key in a chainable fashion.- Returns:
- The same instance of V1SecretKeySelector for chaining.
-
getName
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1SecretKeySelector for chaining.
-
getOptional
Specify whether the Secret or its key must be defined- Returns:
- the optional property value
-
setOptional
Set the optional property value -
optional
Set optional in a chainable fashion.- Returns:
- The same instance of V1SecretKeySelector for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-