InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-instance
Initializer
import com.aliyun.ros.cdk.ots.InstanceProps;
InstanceProps.builder()
.instanceName(java.lang.String)
.instanceName(IResolvable)
// .clusterType(java.lang.String)
// .clusterType(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .network(java.lang.String)
// .network(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
instanceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceName: The name of the instance. |
clusterType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property clusterType: Cluster type, the default is SSD. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Instance description. |
network |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property network: Instance network type, default is NORMAL. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
instanceName
Required
public java.lang.Object getInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: The name of the instance.
clusterType
Optional
public java.lang.Object getClusterType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterType: Cluster type, the default is SSD.
This parameter specifies the specification of the ots instance. When the value is SSD, the ots instance is a high-performance instance. When the value is Hybid, the ots instance is a capacity instance
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Instance description.
network
Optional
public java.lang.Object getNetwork();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property network: Instance network type, default is NORMAL.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to instance.
Max support 5 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.