ConfigMapProps
Properties for defining a ConfigMap
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-configmap
Initializer
import com.aliyun.ros.cdk.sae.ConfigMapProps;
ConfigMapProps.builder()
.data(IResolvable)
.data(java.util.Map<java.lang.String, java.lang.Object>)
.name(java.lang.String)
.name(IResolvable)
.namespaceId(java.lang.String)
.namespaceId(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
data |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the config map. |
namespaceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property namespaceId: The ID of the namespace to which this config map instance belongs. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Describe information, do not enter the space without more than 255 characters. |
data
Required
public java.lang.Object getData();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items.
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the config map.
namespaceId
Required
public java.lang.Object getNamespaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property namespaceId: The ID of the namespace to which this config map instance belongs.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Describe information, do not enter the space without more than 255 characters.