public static final class UpdateInstanceRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UpdateInstanceRequest |
build() |
UpdateInstanceRequest.Builder |
databasePassword(String databasePassword)
The password that is used to log on to the database.
|
UpdateInstanceRequest.Builder |
databaseUser(String databaseUser)
The account that is used to log on to the database.
|
UpdateInstanceRequest.Builder |
dataLinkName(String dataLinkName)
The name of the database link for cross-database query.
|
UpdateInstanceRequest.Builder |
dbaId(String dbaId)
The ID of the user who assumes the database administrator (DBA) role of the database instance.
|
UpdateInstanceRequest.Builder |
ddlOnline(Integer ddlOnline)
Specifies whether to enable the lock-free schema change feature for the database instance.
|
UpdateInstanceRequest.Builder |
ecsInstanceId(String ecsInstanceId)
The ID of the ECS instance on which the database instance is deployed.
|
UpdateInstanceRequest.Builder |
ecsRegion(String ecsRegion)
The ID of the region in which the database instance resides.
|
UpdateInstanceRequest.Builder |
enableSellSitd(String enableSellSitd)
* **Y:** enables the sensitive data protection feature
* **N:** disables the sensitive data protection feature
* **NULL or other:** does not update the status of the sensitive data protection feature
|
UpdateInstanceRequest.Builder |
envType(String envType)
The type of the environment in which the database instance is deployed.
|
UpdateInstanceRequest.Builder |
exportTimeout(Integer exportTimeout)
The timeout period for exporting data from the database instance.
|
UpdateInstanceRequest.Builder |
host(String host)
The host address that is used to connect to the database instance.
|
UpdateInstanceRequest.Builder |
instanceAlias(String instanceAlias)
The alias of the database instance.
|
UpdateInstanceRequest.Builder |
instanceId(String instanceId)
The ID of the database instance.
|
UpdateInstanceRequest.Builder |
instanceSource(String instanceSource)
The source of the database instance.
|
UpdateInstanceRequest.Builder |
instanceType(String instanceType)
The type of the database.
|
UpdateInstanceRequest.Builder |
port(Integer port)
The port that is used to connect to the database instance.
|
UpdateInstanceRequest.Builder |
queryTimeout(Integer queryTimeout)
The timeout period for querying data in the database instance.
|
UpdateInstanceRequest.Builder |
regionId(String regionId)
RegionId.
|
UpdateInstanceRequest.Builder |
safeRuleId(String safeRuleId)
The name of the security rule set (GroupName) for the instance.
|
UpdateInstanceRequest.Builder |
sid(String sid)
The system ID (SID) of the database instance.
|
UpdateInstanceRequest.Builder |
skipTest(Boolean skipTest)
Specifies whether to skip the connectivity test.
|
UpdateInstanceRequest.Builder |
templateId(Long templateId)
The ID of the classification template.
|
UpdateInstanceRequest.Builder |
templateType(String templateType)
The type of the classification template.
|
UpdateInstanceRequest.Builder |
tid(Long tid)
The ID of the tenant.
|
UpdateInstanceRequest.Builder |
useDsql(Integer useDsql)
Specifies whether to enable the cross-database query feature for the database instance.
|
UpdateInstanceRequest.Builder |
vpcId(String vpcId)
The ID of the VPC to which the database instance belongs.
|
public UpdateInstanceRequest.Builder regionId(String regionId)
public UpdateInstanceRequest.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 UpdateInstanceRequest.Builder databasePassword(String databasePassword)
public UpdateInstanceRequest.Builder databaseUser(String databaseUser)
public UpdateInstanceRequest.Builder dbaId(String dbaId)
public UpdateInstanceRequest.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
public UpdateInstanceRequest.Builder ecsInstanceId(String ecsInstanceId)
> This parameter is required if the InstanceSource parameter is set to ECS_OWN.
public UpdateInstanceRequest.Builder ecsRegion(String ecsRegion)
> This parameter is required if the InstanceSource parameter is set to RDS, ECS_OWN, or VPC_IDC.
public UpdateInstanceRequest.Builder enableSellSitd(String enableSellSitd)
* **N:** disables the sensitive data protection feature * **NULL or other:** does not update the status of the sensitive data protection feature
public UpdateInstanceRequest.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 UpdateInstanceRequest.Builder exportTimeout(Integer exportTimeout)
public UpdateInstanceRequest.Builder host(String host)
public UpdateInstanceRequest.Builder instanceAlias(String instanceAlias)
public UpdateInstanceRequest.Builder instanceId(String instanceId)
public UpdateInstanceRequest.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 UpdateInstanceRequest.Builder instanceType(String instanceType)
public UpdateInstanceRequest.Builder port(Integer port)
public UpdateInstanceRequest.Builder queryTimeout(Integer queryTimeout)
public UpdateInstanceRequest.Builder safeRuleId(String safeRuleId)
public UpdateInstanceRequest.Builder sid(String sid)
> This parameter is required if the InstanceType parameter is set to ORACLE.
public UpdateInstanceRequest.Builder skipTest(Boolean skipTest)
* **true:** skips the connectivity test * **false:** does not skip the connectivity test
public UpdateInstanceRequest.Builder templateId(Long templateId)
public UpdateInstanceRequest.Builder templateType(String templateType)
public UpdateInstanceRequest.Builder tid(Long tid)
public UpdateInstanceRequest.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 UpdateInstanceRequest.Builder vpcId(String vpcId)
> This parameter is required if the InstanceSource parameter is set to VPC_IDC.
public UpdateInstanceRequest build()
Copyright © 2023. All rights reserved.