Class V1ConfigMapKeySelector
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ConfigMapKeySelector
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ConfigMapKeySelector
extends Object
Selects a key from a ConfigMap.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
The key to select.getName()
Name of the referent.Specify whether the ConfigMap or its key must be definedint
hashCode()
Set key in a chainable fashion.Set name in a chainable fashion.Set optional in a chainable fashion.void
Set the key property valuevoid
Set the name property valuevoid
setOptional
(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
-
V1ConfigMapKeySelector
-
-
Method Details
-
getKey
The key to select.- Returns:
- the key property value
-
setKey
Set the key property value -
key
Set key in a chainable fashion.- Returns:
- The same instance of V1ConfigMapKeySelector 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 V1ConfigMapKeySelector for chaining.
-
getOptional
Specify whether the ConfigMap 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 V1ConfigMapKeySelector for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-