public static final class RenewInstanceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
RenewInstanceRequest |
build() |
RenewInstanceRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
RenewInstanceRequest.Builder |
instanceId(String instanceId)
The ID of the instance
This parameter is required.
|
RenewInstanceRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
RenewInstanceRequest.Builder |
productCode(String productCode)
The code of the service to which the instance belongs.
|
RenewInstanceRequest.Builder |
productType(String productType)
The type of the service.
|
RenewInstanceRequest.Builder |
renewPeriod(Integer renewPeriod)
The duration of the subscription renewal.
|
public RenewInstanceRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
example:ASKJHKLASJHAFSLKJH
public RenewInstanceRequest.Builder instanceId(String instanceId)
The ID of the instance
This parameter is required.
example:rm-skjdhaskjdh
public RenewInstanceRequest.Builder ownerId(Long ownerId)
public RenewInstanceRequest.Builder productCode(String productCode)
The code of the service to which the instance belongs.
This parameter is required.
example:rds
public RenewInstanceRequest.Builder productType(String productType)
The type of the service.
example:rds
public RenewInstanceRequest.Builder renewPeriod(Integer renewPeriod)
The duration of the subscription renewal. Unit: months. Valid values:
This parameter is required.
example:6
public RenewInstanceRequest build()
Copyright © 2026. All rights reserved.