AccountProps
Properties for defining a Account.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-account
Initializer
import com.aliyun.ros.cdk.gpdb.AccountProps;
AccountProps.builder()
.accountName(java.lang.String)
.accountName(IResolvable)
.accountPassword(java.lang.String)
.accountPassword(IResolvable)
.dbInstanceId(java.lang.String)
.dbInstanceId(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 privileged account. |
accountPassword | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountPassword: The password of the privileged account. |
dbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceId: The ID of the instance. |
accountDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountDescription: The description of the privileged account. |
accountType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountType: Default value is Super, which creates a privileged account. |
accountNameRequired
public java.lang.Object getAccountName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountName: The name of the privileged account.
The name can contain lowercase letters, digits, and underscores (_). The name must start with a lowercase letter and end with a lowercase letter or a digit. The name cannot start with gp. The name must be 2 to 16 characters in length.
accountPasswordRequired
public java.lang.Object getAccountPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountPassword: The password of the privileged account.
The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - = The password must be 8 to 32 characters in length.
dbInstanceIdRequired
public java.lang.Object getDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceId: The ID of the instance.
Note You can call the DescribeDBInstances operation to query details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.
accountDescriptionOptional
public java.lang.Object getAccountDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountDescription: The description of the privileged account.
accountTypeOptional
public java.lang.Object getAccountType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountType: Default value is Super, which creates a privileged account.
When the parameter is Normal, it creates a normal account.