public class PurchaseElasticityAssuranceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
PurchaseElasticityAssuranceRequest.PurchaseElasticityAssuranceRequestPrivatePoolOptions |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
period
The term of the elasticity assurance.
|
String |
periodUnit
The unit of the term of the elasticity assurance.
|
PurchaseElasticityAssuranceRequest.PurchaseElasticityAssuranceRequestPrivatePoolOptions |
privatePoolOptions |
String |
regionId
The region ID of the elasticity assurance.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
startTime
The time when the elasticity assurance takes effect.
|
构造器和说明 |
---|
PurchaseElasticityAssuranceRequest() |
@NameInMap(value="PrivatePoolOptions") public PurchaseElasticityAssuranceRequest.PurchaseElasticityAssuranceRequestPrivatePoolOptions privatePoolOptions
@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 term of the elasticity assurance. The unit of the term is determined by the PeriodUnit value. Valid values:
Default value: 1.
example:1
@NameInMap(value="PeriodUnit") public String periodUnit
The unit of the term of the elasticity assurance. Valid values:
Default value: Year.
example:Month
@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.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="StartTime") public String startTime
The time when the elasticity assurance takes effect. The default value is the time when the elasticity assurance is created. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ
format. The time must be in UTC. For more information, see ISO 8601.
2024-06-18T00:00Z
public static PurchaseElasticityAssuranceRequest build(Map<String,?> map) throws Exception
Exception
public PurchaseElasticityAssuranceRequest setPrivatePoolOptions(PurchaseElasticityAssuranceRequest.PurchaseElasticityAssuranceRequestPrivatePoolOptions privatePoolOptions)
public PurchaseElasticityAssuranceRequest.PurchaseElasticityAssuranceRequestPrivatePoolOptions getPrivatePoolOptions()
public PurchaseElasticityAssuranceRequest setClientToken(String clientToken)
public String getClientToken()
public PurchaseElasticityAssuranceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public PurchaseElasticityAssuranceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public PurchaseElasticityAssuranceRequest setPeriod(Integer period)
public Integer getPeriod()
public PurchaseElasticityAssuranceRequest setPeriodUnit(String periodUnit)
public String getPeriodUnit()
public PurchaseElasticityAssuranceRequest setRegionId(String regionId)
public String getRegionId()
public PurchaseElasticityAssuranceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public PurchaseElasticityAssuranceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public PurchaseElasticityAssuranceRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.