CenInstanceProps
Properties for defining a CenInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-ceninstance
Initializer
import com.aliyun.ros.cdk.cen.CenInstanceProps;
CenInstanceProps.builder()
// .description(java.lang.String)
// .description(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .protectionLevel(java.lang.String)
// .protectionLevel(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the CEN instance. |
name | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property name: The name of the CEN instance. |
protectionLevel | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property protectionLevel: The level of CIDR block overlap. |
resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: Resource group id. |
tags | java.util.List<TagsProperty> | Property tags: Tags to attach to instance. |
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the CEN instance.
The description can be empty or 1 to 256 characters in length. It cannot start with http:// or https://.
nameOptional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the CEN instance.
The name can be empty or 1 to 128 characters in length. It cannot start with http:// or https://.
protectionLevelOptional
public java.lang.Object getProtectionLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protectionLevel: The level of CIDR block overlap.
Set the value to REDUCED. This is the default value. This value specifies that CIDR blocks can overlap but cannot be identical.
resourceGroupIdOptional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group id.
tagsOptional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.