ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dashvector-cluster
Initializer
import com.aliyun.ros.cdk.dashvector.ClusterProps;
ClusterProps.builder()
.clusterName(java.lang.String)
.clusterName(IResolvable)
.clusterType(java.lang.String)
.clusterType(IResolvable)
.replicaCount(java.lang.Number)
.replicaCount(IResolvable)
// .ignoreExisting(java.lang.Boolean)
// .ignoreExisting(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
clusterName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property clusterName: The name of cluster. |
clusterType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property clusterType: The type of cluster. |
replicaCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property replicaCount: The number of replicas. |
ignoreExisting |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property ignoreExisting: Whether to ignore existing dash vector cluster False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored. If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage. |
clusterName
Required
public java.lang.Object getClusterName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterName: The name of cluster.
clusterType
Required
public java.lang.Object getClusterType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterType: The type of cluster.
replicaCount
Required
public java.lang.Object getReplicaCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property replicaCount: The number of replicas.
ignoreExisting
Optional
public java.lang.Object getIgnoreExisting();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property ignoreExisting: Whether to ignore existing dash vector cluster False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored. If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.