@Stability(value=Stable) public static final class ConfigMapProps.Builder extends Object implements software.amazon.jsii.Builder<ConfigMapProps>
ConfigMapProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ConfigMapProps.Builder |
binaryData(Map<String,String> binaryData)
Sets the value of
ConfigMapProps.getBinaryData() |
ConfigMapProps |
build()
Builds the configured instance.
|
ConfigMapProps.Builder |
data(Map<String,String> data)
Sets the value of
ConfigMapProps.getData() |
ConfigMapProps.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value of
ResourceProps.getMetadata() |
@Stability(value=Stable) public ConfigMapProps.Builder binaryData(Map<String,String> binaryData)
ConfigMapProps.getBinaryData()binaryData - 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.
You can also add binary data using configMap.addBinaryData().
this@Stability(value=Stable) public ConfigMapProps.Builder data(Map<String,String> data)
ConfigMapProps.getData()data - 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.
You can also add data using configMap.addData().
this@Stability(value=Stable) public ConfigMapProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
ResourceProps.getMetadata()metadata - Metadata that all persisted resources must have, which includes all objects users must create.this@Stability(value=Stable) public ConfigMapProps build()
build in interface software.amazon.jsii.Builder<ConfigMapProps>ConfigMapPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.