Skip to content

AccountProps

Properties for defining a Account.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-drds-account

Initializer

import com.aliyun.ros.cdk.drds.AccountProps;
AccountProps.builder()
    .dbPrivileges(IResolvable)
    .dbPrivileges(java.util.List<IResolvable)
    .dbPrivileges(DbPrivilegesProperty>)
    .drdsAccountName(java.lang.String)
    .drdsAccountName(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .password(java.lang.String)
    .password(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
    .build();

Properties

Name Type Description
dbPrivileges com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDbPrivilegesProperty> Property dbPrivileges: Database permission information.
drdsAccountName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property drdsAccountName: The name of the account.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the instance.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property password: The password of the account.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Account remarks.

dbPrivilegesRequired

public java.lang.Object getDbPrivileges();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDbPrivilegesProperty>

Property dbPrivileges: Database permission information.


drdsAccountNameRequired

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

Property drdsAccountName: The name of the account.


instanceIdRequired

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

Property instanceId: The ID of the instance.


passwordRequired

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

Property password: The password of the account.


descriptionOptional

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

Property description: Account remarks.

The default value of the advanced account is Created by DRDS, and the normal account does not have any comments. Remarks can be customized in account management.