public static final class RegisterInstanceRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
RegisterInstanceRequest |
build() |
RegisterInstanceRequest.Builder |
databasePassword(String databasePassword)
The password that is used to log on to the database.
|
RegisterInstanceRequest.Builder |
databaseUser(String databaseUser)
The account that is used to log on to the database.
|
RegisterInstanceRequest.Builder |
dataLinkName(String dataLinkName)
The name of the database link for cross-database query.
|
RegisterInstanceRequest.Builder |
dbaUid(Long dbaUid)
The ID of the user who assumes the DBA role of the database instance.
|
RegisterInstanceRequest.Builder |
ddlOnline(Integer ddlOnline)
Specifies whether to enable the lock-free schema change feature for the database instance.
|
RegisterInstanceRequest.Builder |
ecsInstanceId(String ecsInstanceId)
The ID of the ECS instance on which the database instance is deployed.
|
RegisterInstanceRequest.Builder |
ecsRegion(String ecsRegion)
The ID of the region in which the database instance resides.
|
RegisterInstanceRequest.Builder |
enableSellSitd(String enableSellSitd)
* **Y:** enables the sensitive data protection feature
* **NULL or other:** disables the sensitive data protection feature
|
RegisterInstanceRequest.Builder |
envType(String envType)
The type of the environment in which the database instance is deployed.
|
RegisterInstanceRequest.Builder |
exportTimeout(Integer exportTimeout)
The timeout period for exporting data from the database instance.
|
RegisterInstanceRequest.Builder |
host(String host)
The host address that is used to connect to the database instance.
|
RegisterInstanceRequest.Builder |
instanceAlias(String instanceAlias)
The alias of the database instance.
|
RegisterInstanceRequest.Builder |
instanceSource(String instanceSource)
The source of the database instance.
|
RegisterInstanceRequest.Builder |
instanceType(String instanceType)
The type of the database.
|
RegisterInstanceRequest.Builder |
networkType(String networkType)
The network type of the database instance.
|
RegisterInstanceRequest.Builder |
port(Integer port)
The port that is used to connect to the database instance.
|
RegisterInstanceRequest.Builder |
queryTimeout(Integer queryTimeout)
The timeout period for querying data in the database instance.
|
RegisterInstanceRequest.Builder |
regionId(String regionId)
RegionId.
|
RegisterInstanceRequest.Builder |
safeRule(String safeRule)
The name of the security rule set (GroupName) for the database instance.
|
RegisterInstanceRequest.Builder |
sid(String sid)
The system ID (SID) of the database.
|
RegisterInstanceRequest.Builder |
skipTest(Boolean skipTest)
Specifies whether to skip the connectivity test.
|
RegisterInstanceRequest.Builder |
templateId(Long templateId)
The ID of the classification template.
|
RegisterInstanceRequest.Builder |
templateType(String templateType)
The type of the classification template.
|
RegisterInstanceRequest.Builder |
tid(Long tid)
The ID of the tenant.
|
RegisterInstanceRequest.Builder |
useDsql(Integer useDsql)
Specifies whether to enable the cross-database query feature for the database instance.
|
RegisterInstanceRequest.Builder |
vpcId(String vpcId)
The ID of the VPC to which the database instance belongs.
|
public RegisterInstanceRequest.Builder regionId(String regionId)
public RegisterInstanceRequest.Builder dataLinkName(String dataLinkName)
> * This parameter is required if the UseDsql parameter is set to 1. * The name can contain only lowercase letters and underscores (\_). * The name must be unique within a tenant.
public RegisterInstanceRequest.Builder databasePassword(String databasePassword)
public RegisterInstanceRequest.Builder databaseUser(String databaseUser)
public RegisterInstanceRequest.Builder dbaUid(Long dbaUid)
public RegisterInstanceRequest.Builder ddlOnline(Integer ddlOnline)
* **0:** disables the lock-free schema change feature * **1:** uses the online DDL of MySQL first * **2:** uses the lock-free schema change feature of DMS first > Supported database types: ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.
public RegisterInstanceRequest.Builder ecsInstanceId(String ecsInstanceId)
> This parameter is required if the InstanceSource parameter is set to ECS_OWN.
public RegisterInstanceRequest.Builder ecsRegion(String ecsRegion)
> This parameter is required if the InstanceSource parameter is set to RDS, ECS_OWN, or VPC_IDC.
public RegisterInstanceRequest.Builder enableSellSitd(String enableSellSitd)
* **NULL or other:** disables the sensitive data protection feature
public RegisterInstanceRequest.Builder envType(String envType)
* product: production environment * dev: development environment * pre: pre-release environment * test: test environment * sit: system integration testing (SIT) environment * uat: user acceptance testing (UAT) environment * pet: stress testing environment * stag: staging environment
public RegisterInstanceRequest.Builder exportTimeout(Integer exportTimeout)
public RegisterInstanceRequest.Builder host(String host)
public RegisterInstanceRequest.Builder instanceAlias(String instanceAlias)
public RegisterInstanceRequest.Builder instanceSource(String instanceSource)
* **PUBLIC_OWN:** a self-managed database instance that is deployed on the Internet * **RDS:** an ApsaraDB RDS instance * **ECS_OWN:** a self-managed database that is deployed on an Elastic Compute Service (ECS) instance * **VPC_IDC:** a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC)
public RegisterInstanceRequest.Builder instanceType(String instanceType)
public RegisterInstanceRequest.Builder networkType(String networkType)
* **CLASSIC:** classic network * **VPC:** VPC
public RegisterInstanceRequest.Builder port(Integer port)
public RegisterInstanceRequest.Builder queryTimeout(Integer queryTimeout)
public RegisterInstanceRequest.Builder safeRule(String safeRule)
public RegisterInstanceRequest.Builder sid(String sid)
> This parameter is required if the InstanceType parameter is set to ORACLE.
public RegisterInstanceRequest.Builder skipTest(Boolean skipTest)
* **true:** skips the connectivity test * **false:** does not skip the connectivity test
public RegisterInstanceRequest.Builder templateId(Long templateId)
public RegisterInstanceRequest.Builder templateType(String templateType)
public RegisterInstanceRequest.Builder tid(Long tid)
public RegisterInstanceRequest.Builder useDsql(Integer useDsql)
* **0:** disables the cross-database query feature * **1:** enables the cross-database query feature > Supported database types: MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and ApsaraDB for Redis.
public RegisterInstanceRequest.Builder vpcId(String vpcId)
> This parameter is required if the InstanceSource parameter is set to VPC_IDC.
public RegisterInstanceRequest build()
Copyright © 2023. All rights reserved.