Class V1ConfigMapEnvSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ConfigMapEnvSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ConfigMapEnvSource extends Object
ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
  • Field Details

  • Constructor Details

    • V1ConfigMapEnvSource

      public V1ConfigMapEnvSource()
  • Method Details

    • 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
      Parameters:
      name - property value to set
    • name

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

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

      public void setOptional(Boolean optional)
      Set the optional property value
      Parameters:
      optional - property value to set
    • optional

      public V1ConfigMapEnvSource optional(Boolean optional)
      Set optional in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapEnvSource 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