Class V1ConfigMap
java.lang.Object
io.kubernetes.client.openapi.models.V1ConfigMap
- All Implemented Interfaces:
KubernetesObject
,KubernetesType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1ConfigMap
extends Object
implements KubernetesObject
ConfigMap holds configuration data for pods to consume.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) binaryData
(Map<String, byte[]> binaryData) 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.Get metadataint
hashCode()
metadata
(V1ObjectMeta metadata) putBinaryDataItem
(String key, byte[] binaryDataItem) putDataItem
(String key, String dataItem) void
setApiVersion
(String apiVersion) void
setBinaryData
(Map<String, byte[]> binaryData) void
void
setImmutable
(Boolean immutable) void
void
setMetadata
(V1ObjectMeta metadata) toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_BINARY_DATA
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_IMMUTABLE
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
-
Constructor Details
-
V1ConfigMap
public V1ConfigMap()
-
-
Method Details
-
apiVersion
-
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- Specified by:
getApiVersion
in interfaceKubernetesType
- Returns:
- apiVersion
-
setApiVersion
-
binaryData
-
putBinaryDataItem
-
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:
- binaryData
-
setBinaryData
-
data
-
putDataItem
-
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:
- data
-
setData
-
immutable
-
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:
- immutable
-
setImmutable
-
kind
-
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- Specified by:
getKind
in interfaceKubernetesType
- Returns:
- kind
-
setKind
-
metadata
-
getMetadata
Get metadata- Specified by:
getMetadata
in interfaceKubernetesObject
- Returns:
- metadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-