public class DescribeRenewalPriceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
expectedRenewDay
The synchronized expiration date.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
period
The renewal period.
|
String |
priceUnit
The unit of the renewal period.
|
String |
regionId
The region ID of the instance.
|
String |
resourceId
The ID of the resource.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
resourceType
The type of the resource.
|
构造器和说明 |
---|
DescribeRenewalPriceRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DescribeRenewalPriceRequest |
build(Map<String,?> map) |
Integer |
getExpectedRenewDay() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
Integer |
getPeriod() |
String |
getPriceUnit() |
String |
getRegionId() |
String |
getResourceId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getResourceType() |
DescribeRenewalPriceRequest |
setExpectedRenewDay(Integer expectedRenewDay) |
DescribeRenewalPriceRequest |
setOwnerAccount(String ownerAccount) |
DescribeRenewalPriceRequest |
setOwnerId(Long ownerId) |
DescribeRenewalPriceRequest |
setPeriod(Integer period) |
DescribeRenewalPriceRequest |
setPriceUnit(String priceUnit) |
DescribeRenewalPriceRequest |
setRegionId(String regionId) |
DescribeRenewalPriceRequest |
setResourceId(String resourceId) |
DescribeRenewalPriceRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DescribeRenewalPriceRequest |
setResourceOwnerId(Long resourceOwnerId) |
DescribeRenewalPriceRequest |
setResourceType(String resourceType) |
@NameInMap(value="ExpectedRenewDay") public Integer expectedRenewDay
The synchronized expiration date. If you specify this parameter, the price for renewing a specified instance to the specified synchronized expiration date is queried. Valid values: 1 to 28.
For information about how to synchronize the expiration dates of instances, see Synchronize the expiration dates of instances.
example:The renewal period-related parameter pair (
Period
andPeriodUnit
) and theExpectedRenewDay
parameter are mutually exclusive.
5
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Period") public Integer period
The renewal period. Valid values:
PriceUnit
parameter is set to Month
: 1, 2, 3, 4, 5, 6, 7, 8, and 9.PriceUnit
parameter is set to Year
: 1, 2, 3.Default value: 1.
example:The renewal period-related parameter pair (
Period
andPeriodUnit
) and theExpectedRenewDay
parameter are mutually exclusive.
1
@NameInMap(value="PriceUnit") public String priceUnit
The unit of the renewal period. Valid values:
Default value: Month.
example:Month
@NameInMap(value="RegionId") public String regionId
The region ID of the instance. You can call the DescribeRegions operation to query the most recent list of regions.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource. If the ResourceType
parameter is set to instance
, the value of the ResourceId
parameter is the ID of the specified instance.``
This parameter is required.
example:i-bp1f2o4ldh8l29zv****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ResourceType") public String resourceType
The type of the resource. Set the value to instance.
Default value: instance.
example:instance
public static DescribeRenewalPriceRequest build(Map<String,?> map) throws Exception
Exception
public DescribeRenewalPriceRequest setExpectedRenewDay(Integer expectedRenewDay)
public Integer getExpectedRenewDay()
public DescribeRenewalPriceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeRenewalPriceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeRenewalPriceRequest setPeriod(Integer period)
public Integer getPeriod()
public DescribeRenewalPriceRequest setPriceUnit(String priceUnit)
public String getPriceUnit()
public DescribeRenewalPriceRequest setRegionId(String regionId)
public String getRegionId()
public DescribeRenewalPriceRequest setResourceId(String resourceId)
public String getResourceId()
public DescribeRenewalPriceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeRenewalPriceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeRenewalPriceRequest setResourceType(String resourceType)
public String getResourceType()
Copyright © 2024. All rights reserved.