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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ConfigMap extends Object
ConfigMap holds configuration data for pods to consume.
  • Field Details

  • Constructor Details

    • V1ConfigMap

      public V1ConfigMap()
  • Method Details

    • getApiVersion

      public String getApiVersion()
      APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
      Returns:
      the apiVersion property value
    • setApiVersion

      public void setApiVersion(String apiVersion)
      Set the apiVersion property value
      Parameters:
      apiVersion - property value to set
    • apiVersion

      public V1ConfigMap apiVersion(String apiVersion)
      Set apiVersion in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • getBinaryData

      public Map<String,@jakarta.validation.constraints.Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"),@jakarta.validation.constraints.NotNull byte[]> getBinaryData()
      BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
      Returns:
      the binaryData property value
    • setBinaryData

      public void setBinaryData(Map<String,@jakarta.validation.constraints.Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"),@jakarta.validation.constraints.NotNull byte[]> binaryData)
      Set the binaryData property value
      Parameters:
      binaryData - property value to set
    • binaryData

      public V1ConfigMap binaryData(Map<String,@jakarta.validation.constraints.Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"),@jakarta.validation.constraints.NotNull byte[]> binaryData)
      Set binaryData in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • putbinaryDataItem

      public V1ConfigMap putbinaryDataItem(String key, byte[] binaryDataItem)
      Set the value for the key for the binaryData map property in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • getData

      public Map<String,@NotNull String> getData()
      Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
      Returns:
      the data property value
    • setData

      public void setData(Map<String,@NotNull String> data)
      Set the data property value
      Parameters:
      data - property value to set
    • data

      public V1ConfigMap data(Map<String,@NotNull String> data)
      Set data in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • putdataItem

      public V1ConfigMap putdataItem(String key, String dataItem)
      Set the value for the key for the data map property in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • getImmutable

      public Boolean getImmutable()
      Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
      Returns:
      the immutable property value
    • setImmutable

      public void setImmutable(Boolean immutable)
      Set the immutable property value
      Parameters:
      immutable - property value to set
    • immutable

      public V1ConfigMap immutable(Boolean immutable)
      Set immutable in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • getKind

      public String getKind()
      Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      Returns:
      the kind property value
    • setKind

      public void setKind(String kind)
      Set the kind property value
      Parameters:
      kind - property value to set
    • kind

      public V1ConfigMap kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap for chaining.
    • getMetadata

      public V1ObjectMeta getMetadata()
      Returns:
      the metadata property value
    • setMetadata

      public void setMetadata(V1ObjectMeta metadata)
      Set the metadata property value
      Parameters:
      metadata - property value to set
    • metadata

      public V1ConfigMap metadata(V1ObjectMeta metadata)
      Set metadata in a chainable fashion.
      Returns:
      The same instance of V1ConfigMap 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