public static final class DescribeDrdsDBResponseBody.Data.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeDrdsDBResponseBody.Data |
build() |
DescribeDrdsDBResponseBody.Data.Builder |
createTime(String createTime)
Indicates the time when the database was created.
|
DescribeDrdsDBResponseBody.Data.Builder |
dbInstType(String dbInstType)
Indicates the storage type of the database.
|
DescribeDrdsDBResponseBody.Data.Builder |
dbName(String dbName)
Indicates the name of the database.
|
DescribeDrdsDBResponseBody.Data.Builder |
instRole(String instRole)
Indicates the type of the instance in which the database is deployed.
|
DescribeDrdsDBResponseBody.Data.Builder |
mode(String mode)
Indicates the database sharding method.
|
DescribeDrdsDBResponseBody.Data.Builder |
schema(String schema)
Indicates the schema name of the database.
|
DescribeDrdsDBResponseBody.Data.Builder |
status(String status)
Indicates the state of the database.
|
public DescribeDrdsDBResponseBody.Data.Builder createTime(String createTime)
public DescribeDrdsDBResponseBody.Data.Builder dbInstType(String dbInstType)
public DescribeDrdsDBResponseBody.Data.Builder dbName(String dbName)
public DescribeDrdsDBResponseBody.Data.Builder instRole(String instRole)
* **MASTER**: The instance is a primary instance. * **SLAVE**: The instance is a read-only instance.
public DescribeDrdsDBResponseBody.Data.Builder mode(String mode)
* **HORIZONTAL**: The database is horizontally sharded. * **VERTICAL**: The database is vertically sharded.
public DescribeDrdsDBResponseBody.Data.Builder schema(String schema)
public DescribeDrdsDBResponseBody.Data.Builder status(String status)
* **TO_BE_INIT**: The database is being created. * **NORMAL**: The database is running.
public DescribeDrdsDBResponseBody.Data build()
Copyright © 2024. All rights reserved.