public static final class ModifyInstanceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyInstanceRequest |
build() |
ModifyInstanceRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifyInstanceRequest.Builder |
instanceId(String instanceId)
The ID of the instance for which you want to modify the configurations.
|
ModifyInstanceRequest.Builder |
modifyType(String modifyType)
The type of configuration modifications.
|
ModifyInstanceRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyInstanceRequest.Builder |
parameter(List<ModifyInstanceRequest.Parameter> parameter)
The details about the parameters.
|
ModifyInstanceRequest.Builder |
productCode(String productCode)
The code of the service to which the instance belongs.
|
ModifyInstanceRequest.Builder |
productType(String productType)
The type of the service to which the instance belongs.
|
ModifyInstanceRequest.Builder |
subscriptionType(String subscriptionType)
The billing method.
|
public ModifyInstanceRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests.
example:JAKSJFHFAKJSF
public ModifyInstanceRequest.Builder instanceId(String instanceId)
The ID of the instance for which you want to modify the configurations.
example:rm-akjhkdsjhfskjfhd
public ModifyInstanceRequest.Builder modifyType(String modifyType)
The type of configuration modifications. Valid values:
This parameter is required.
example:Upgrade
public ModifyInstanceRequest.Builder ownerId(Long ownerId)
public ModifyInstanceRequest.Builder parameter(List<ModifyInstanceRequest.Parameter> parameter)
The details about the parameters.
public ModifyInstanceRequest.Builder productCode(String productCode)
The code of the service to which the instance belongs.
This parameter is required.
example:rds
public ModifyInstanceRequest.Builder productType(String productType)
The type of the service to which the instance belongs.
example:rds
public ModifyInstanceRequest.Builder subscriptionType(String subscriptionType)
The billing method. Valid values:
This parameter is required.
example:Subscription
public ModifyInstanceRequest build()
Copyright © 2026. All rights reserved.