Skip to content

DBNodesProps

Properties for defining a DBNodes.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbnodes

Initializer

import com.aliyun.ros.cdk.polardb.DBNodesProps;
DBNodesProps.builder()
    .amount(java.lang.Number)
    .amount(IResolvable)
    .dbClusterId(java.lang.String)
    .dbClusterId(IResolvable)
//  .dbNodeType(java.lang.String)
//  .dbNodeType(IResolvable)
//  .imciSwitch(java.lang.String)
//  .imciSwitch(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
    .build();

Properties

Name Type Description
amount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property amount: Number of nodes to be added to cluster.
dbClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster to be added nodes to.
dbNodeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbNodeType: Node type.
imciSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imciSwitch: Specifies whether to enable the In-Memory Column Index (IMCI) feature.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.

amountRequired

public java.lang.Object getAmount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property amount: Number of nodes to be added to cluster.


dbClusterIdRequired

public java.lang.Object getDbClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster to be added nodes to.


dbNodeTypeOptional

public java.lang.Object getDbNodeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbNodeType: Node type.

Ranges: RO|STANDBY|DLNode


imciSwitchOptional

public java.lang.Object getImciSwitch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property imciSwitch: Specifies whether to enable the In-Memory Column Index (IMCI) feature.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Resource group id.