DBClustersProps
Properties for defining a DBClusters
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardb-dbclusters
Initializer
import com.aliyun.ros.cdk.polardb.datasource.DBClustersProps;
DBClustersProps.builder()
// .dbClusterId(java.lang.String)
// .dbClusterId(IResolvable)
// .dbType(java.lang.String)
// .dbType(IResolvable)
// .dbVersion(java.lang.String)
// .dbVersion(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .expired(java.lang.String)
// .expired(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
dbClusterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbClusterId: The ID of the cluster. |
dbType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbType: The database engine that the cluster runs. |
dbVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbVersion: The version of the database engine that the cluster runs. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the cluster. |
expired |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property expired: Indicates whether the cluster has expired. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
dbClusterId
Optional
public java.lang.Object getDbClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbClusterId: The ID of the cluster.
dbType
Optional
public java.lang.Object getDbType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbType: The database engine that the cluster runs.
dbVersion
Optional
public java.lang.Object getDbVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbVersion: The version of the database engine that the cluster runs.
The range of the MySQL version number is as follows: *** 5.6 * * * *** 5.7 * * * *** 8.0 * * * The value range of PostgreSQL version number is as follows: *** 11 * * * *** 14 * * * The Oracle version number is 11.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the cluster.
expired
Optional
public java.lang.Object getExpired();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property expired: Indicates whether the cluster has expired.
Valid values: true false
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.