AccountProps
Properties for defining a Account
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adb-account
Initializer
import com.aliyun.ros.cdk.adb.AccountProps;
AccountProps.builder()
.accountName(java.lang.String)
.accountName(IResolvable)
.accountPassword(java.lang.String)
.accountPassword(IResolvable)
.dbClusterId(java.lang.String)
.dbClusterId(IResolvable)
// .accountDescription(java.lang.String)
// .accountDescription(IResolvable)
// .accountType(java.lang.String)
// .accountType(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
accountName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property accountName: The name of the account. |
accountPassword |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property accountPassword: The password of the account. |
dbClusterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbClusterId: The ID of the cluster. |
accountDescription |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property accountDescription: The description of the account. |
accountType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property accountType: Normal: standard account Super: privileged account. |
accountName
Required
public java.lang.Object getAccountName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountName: The name of the account.
accountPassword
Required
public java.lang.Object getAccountPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountPassword: The password of the account.
The password must contain uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * () _ + - and = The password must be 8 to 32 characters in length.
dbClusterId
Required
public java.lang.Object getDbClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbClusterId: The ID of the cluster.
accountDescription
Optional
public java.lang.Object getAccountDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountDescription: The description of the account.
The description cannot start with http://or https://. The description can be up to 256 characters in length.
accountType
Optional
public java.lang.Object getAccountType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountType: Normal: standard account Super: privileged account.