| Modifier and Type | Method and Description |
|---|---|
ConfigMap.Builder |
binaryData(Map<String,String> binaryData)
BinaryData contains the binary data.
|
ConfigMap |
build() |
static ConfigMap.Builder |
create(software.constructs.Construct scope,
String id) |
ConfigMap.Builder |
data(Map<String,String> data)
Data contains the configuration data.
|
ConfigMap.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Metadata that all persisted resources must have, which includes all objects users must create.
|
@Stability(value=Stable) public static ConfigMap.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ConfigMap.Builder.@Stability(value=Stable) public ConfigMap.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.this@Stability(value=Stable) public ConfigMap.Builder binaryData(Map<String,String> binaryData)
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.
You can also add binary data using configMap.addBinaryData().
binaryData - BinaryData contains the binary data. This parameter is required.this@Stability(value=Stable) public ConfigMap.Builder data(Map<String,String> 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.
You can also add data using configMap.addData().
data - Data contains the configuration data. This parameter is required.thisCopyright © 2021. All rights reserved.