public class DescribeRegionsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceptLanguage
The natural language that is used to filter responses.
|
String |
instanceChargeType
The billing method of the instance.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
resourceType
The type of the resource.
|
构造器和说明 |
---|
DescribeRegionsRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DescribeRegionsRequest |
build(Map<String,?> map) |
String |
getAcceptLanguage() |
String |
getInstanceChargeType() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getResourceType() |
DescribeRegionsRequest |
setAcceptLanguage(String acceptLanguage) |
DescribeRegionsRequest |
setInstanceChargeType(String instanceChargeType) |
DescribeRegionsRequest |
setOwnerAccount(String ownerAccount) |
DescribeRegionsRequest |
setOwnerId(Long ownerId) |
DescribeRegionsRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DescribeRegionsRequest |
setResourceOwnerId(Long resourceOwnerId) |
DescribeRegionsRequest |
setResourceType(String resourceType) |
@NameInMap(value="AcceptLanguage") public String acceptLanguage
The natural language that is used to filter responses. For more information, visit [RFC 7231](https://tools.ietf.org/html/rfc7231). Valid values:
* zh-CN: Chinese
* en-US: English
* ja: Japanese
Default value: zh-CN.
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of the instance. For more information, see [Billing overview](~~25398~~). Valid values:
* PrePaid: subscription. If this parameter is set to PrePaid, make sure that you have sufficient balance or credits in your account. Otherwise, the InvalidPayMethod error code is returned.
* PostPaid: pay-as-you-go.
Default value: PostPaid.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ResourceType") public String resourceType
The type of the resource. Valid values:
* instance: Elastic Compute Service (ECS) instance
* disk: disk
* reservedinstance: reserved instance
* scu: storage capacity unit (SCU)
Default value: instance.
public static DescribeRegionsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeRegionsRequest setAcceptLanguage(String acceptLanguage)
public String getAcceptLanguage()
public DescribeRegionsRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public DescribeRegionsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeRegionsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeRegionsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeRegionsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeRegionsRequest setResourceType(String resourceType)
public String getResourceType()
Copyright © 2023. All rights reserved.