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 Details

  • Constructor Details

    • V1ConfigMapKeySelector

      public V1ConfigMapKeySelector(String key)
  • Method Details

    • getKey

      public String getKey()
      The key to select.
      Returns:
      the key property value
    • setKey

      public void setKey(String key)
      Set the key property value
    • key

      public V1ConfigMapKeySelector key(String key)
      Set key in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapKeySelector for chaining.
    • getName

      public String getName()
      Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1ConfigMapKeySelector name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapKeySelector for chaining.
    • getOptional

      public Boolean getOptional()
      Specify whether the ConfigMap or its key must be defined
      Returns:
      the optional property value
    • setOptional

      public void setOptional(Boolean optional)
      Set the optional property value
    • optional

      public V1ConfigMapKeySelector optional(Boolean optional)
      Set optional in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapKeySelector for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object