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
    • apiVersion

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

      public Map<String,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,byte[]> binaryData)
      Set the binaryData property value
    • binaryData

      public V1ConfigMap binaryData(Map<String,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,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,String> data)
      Set the data property value
    • data

      public V1ConfigMap data(Map<String,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
    • 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
    • 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
    • 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