Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ConfigMap
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ConfigMap
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ConfigMap extends Object
ConfigMap holds configuration data for pods to consume.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_BINARY_DATAstatic StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_IMMUTABLEstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATA
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ConfigMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1ConfigMapapiVersion(String apiVersion)IoK8sApiCoreV1ConfigMapbinaryData(Map<String,byte[]> binaryData)IoK8sApiCoreV1ConfigMapdata(Map<String,String> data)booleanequals(Object o)StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.Map<String,byte[]>getBinaryData()BinaryData contains the binary data.Map<String,String>getData()Data contains the configuration data.BooleangetImmutable()Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).StringgetKind()Kind is a string value representing the REST resource this object represents.IoK8sApimachineryPkgApisMetaV1ObjectMetagetMetadata()Get metadatainthashCode()IoK8sApiCoreV1ConfigMapimmutable(Boolean immutable)IoK8sApiCoreV1ConfigMapkind(String kind)IoK8sApiCoreV1ConfigMapmetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)IoK8sApiCoreV1ConfigMapputBinaryDataItem(String key, byte[] binaryDataItem)IoK8sApiCoreV1ConfigMapputDataItem(String key, String dataItem)voidsetApiVersion(String apiVersion)voidsetBinaryData(Map<String,byte[]> binaryData)voidsetData(Map<String,String> data)voidsetImmutable(Boolean immutable)voidsetKind(String kind)voidsetMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BINARY_DATA
public static final String JSON_PROPERTY_BINARY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMMUTABLE
public static final String JSON_PROPERTY_IMMUTABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApiCoreV1ConfigMap apiVersion(String apiVersion)
-
getApiVersion
@Nullable 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:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
binaryData
public IoK8sApiCoreV1ConfigMap binaryData(Map<String,byte[]> binaryData)
-
putBinaryDataItem
public IoK8sApiCoreV1ConfigMap putBinaryDataItem(String key, byte[] binaryDataItem)
-
getBinaryData
@Nullable 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:
- binaryData
-
data
public IoK8sApiCoreV1ConfigMap data(Map<String,String> data)
-
putDataItem
public IoK8sApiCoreV1ConfigMap putDataItem(String key, String dataItem)
-
getData
@Nullable 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:
- data
-
immutable
public IoK8sApiCoreV1ConfigMap immutable(Boolean immutable)
-
getImmutable
@Nullable 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. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.- Returns:
- immutable
-
setImmutable
public void setImmutable(Boolean immutable)
-
kind
public IoK8sApiCoreV1ConfigMap kind(String kind)
-
getKind
@Nullable 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:
- kind
-
setKind
public void setKind(String kind)
-
metadata
public IoK8sApiCoreV1ConfigMap metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
-