public static final class DescribeDatabasesResponseBody.Account.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeDatabasesResponseBody.Account.Builder |
accountName(String accountName)
The username of the account.
|
DescribeDatabasesResponseBody.Account.Builder |
accountPrivilege(String accountPrivilege)
The permissions that are granted to the account.
|
DescribeDatabasesResponseBody.Account.Builder |
accountStatus(String accountStatus)
The state of the account.
|
DescribeDatabasesResponseBody.Account |
build() |
DescribeDatabasesResponseBody.Account.Builder |
privilegeStatus(String privilegeStatus)
The authorization state of the account.
|
public DescribeDatabasesResponseBody.Account.Builder accountName(String accountName)
> A PolarDB for MySQL cluster does not support privileged accounts.
public DescribeDatabasesResponseBody.Account.Builder accountPrivilege(String accountPrivilege)
* **ReadWrite**: read and write permissions * **ReadOnly**: read-only permissions * **DMLOnly**: The account is granted the permissions to execute only DML statements on the database. * **DDLOnly**: The account is granted the permissions to execute only DDL statements on the database. * **ReadIndex**: The account has the read and index permissions on the database.
public DescribeDatabasesResponseBody.Account.Builder accountStatus(String accountStatus)
* **Creating** * **Available** * **Deleting**
public DescribeDatabasesResponseBody.Account.Builder privilegeStatus(String privilegeStatus)
* **Empowering**: The system is granting permissions to the account. * **Empowered**: Permissions are granted to the account. * **Removing**: The system is revoking permissions from the account.
public DescribeDatabasesResponseBody.Account build()
Copyright © 2024. All rights reserved.