Class V1ConfigMap
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) Set apiVersion in a chainable fashion.binaryData
(Map<String, byte[]> binaryData) Set binaryData in a chainable fashion.Set data in a chainable fashion.boolean
APIVersion defines the versioned schema of this representation of an object.BinaryData contains the binary data.getData()
Data contains the configuration data.Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).getKind()
Kind is a string value representing the REST resource this object represents.int
hashCode()
Set immutable in a chainable fashion.Set kind in a chainable fashion.metadata
(V1ObjectMeta metadata) Set metadata in a chainable fashion.putbinaryDataItem
(String key, byte[] binaryDataItem) Set the value for the key for the binaryData map property in a chainable fashion.putdataItem
(String key, String dataItem) Set the value for the key for the data map property in a chainable fashion.void
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
setBinaryData
(Map<String, byte[]> binaryData) Set the binaryData property valuevoid
Set the data property valuevoid
setImmutable
(Boolean immutable) Set the immutable property valuevoid
Set the kind property valuevoid
setMetadata
(V1ObjectMeta metadata) Set the metadata property valuetoString()
-
Field Details
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_BINARY_DATA
- See Also:
-
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_IMMUTABLE
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
V1ConfigMap
public V1ConfigMap()
-
-
Method Details
-
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
Set the apiVersion property value -
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
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
Set the binaryData property value -
binaryData
Set binaryData in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
putbinaryDataItem
Set the value for the key for the binaryData map property in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
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
Set the data property value -
data
Set data in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
putdataItem
Set the value for the key for the data map property in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
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
Set the immutable property value -
immutable
Set immutable in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
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
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
getMetadata
- Returns:
- the metadata property value
-
setMetadata
Set the metadata property value -
metadata
Set metadata in a chainable fashion.- Returns:
- The same instance of V1ConfigMap for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-