public class RenewElasticityAssurancesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
RenewElasticityAssurancesRequest.RenewElasticityAssurancesRequestPrivatePoolOptions |
限定符和类型 | 字段和说明 |
---|---|
Boolean |
autoPay
Specifies whether to enable automatic payment.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
period
The renewal duration.
|
String |
periodUnit
The unit of the renewal duration.
|
RenewElasticityAssurancesRequest.RenewElasticityAssurancesRequestPrivatePoolOptions |
privatePoolOptions |
String |
regionId
The region ID of the elasticity assurance.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
RenewElasticityAssurancesRequest() |
@NameInMap(value="PrivatePoolOptions") public RenewElasticityAssurancesRequest.RenewElasticityAssurancesRequestPrivatePoolOptions privatePoolOptions
@NameInMap(value="AutoPay") public Boolean autoPay
Specifies whether to enable automatic payment. Valid values:
Default value: true.
example:true
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.
The token
can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Period") public Integer period
The renewal duration. The unit of the renewal duration is determined by the PeriodUnit
value. Valid values:
PeriodUnit
to Month
: 1, 2, 3, 4, 5, 6, 7, 8, and 9.PeriodUnit
to Year
: 1, 2, and 3.Default value: 1.
example:1
@NameInMap(value="PeriodUnit") public String periodUnit
The unit of the renewal duration. Valid values:
Default value: Year.
example:Year
@NameInMap(value="RegionId") public String regionId
The region ID of the elasticity assurance.
You can call the DescribeRegions operation to query the most recent region list.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static RenewElasticityAssurancesRequest build(Map<String,?> map) throws Exception
Exception
public RenewElasticityAssurancesRequest setPrivatePoolOptions(RenewElasticityAssurancesRequest.RenewElasticityAssurancesRequestPrivatePoolOptions privatePoolOptions)
public RenewElasticityAssurancesRequest.RenewElasticityAssurancesRequestPrivatePoolOptions getPrivatePoolOptions()
public RenewElasticityAssurancesRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public RenewElasticityAssurancesRequest setClientToken(String clientToken)
public String getClientToken()
public RenewElasticityAssurancesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public RenewElasticityAssurancesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public RenewElasticityAssurancesRequest setPeriod(Integer period)
public Integer getPeriod()
public RenewElasticityAssurancesRequest setPeriodUnit(String periodUnit)
public String getPeriodUnit()
public RenewElasticityAssurancesRequest setRegionId(String regionId)
public String getRegionId()
public RenewElasticityAssurancesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public RenewElasticityAssurancesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.