public class InquireCkafkaPriceRequest extends AbstractModel
Constructor and Description |
---|
InquireCkafkaPriceRequest() |
InquireCkafkaPriceRequest(InquireCkafkaPriceRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBandwidth()
Get Private network bandwidth in MB/sec, which is required when you purchase an instance.
|
String |
getBillType()
Get This field is not required.
|
String |
getCategoryAction()
Get Operation type flag.
|
InquiryDiskParam |
getInquiryDiskParam()
Get Disk type and size, which is required when you purchase an instance.
|
InstanceChargeParam |
getInstanceChargeParam()
Get Billing mode for instance purchase/renewal.
|
String |
getInstanceId()
Get ID of the instance to be renewed, which is required when you renew an instance.
|
Long |
getInstanceNum()
Get The number of instances to be purchased or renewed.
|
String |
getInstanceType()
Get `standard`: Standard Edition; `profession`: Pro Edition
|
Long |
getMessageRetention()
Get Message retention period in hours, which is required when you purchase an instance.
|
Long |
getPartition()
Get The number of instance partitions to be purchased, which is required when you purchase an instance.
|
InquiryPublicNetworkParam |
getPublicNetworkParam()
Get Billing mode for public network bandwidth, which is required when you purchase public network bandwidth.
|
Long |
getTopic()
Get The number of instance topics to be purchased, which is required when you purchase an instance.
|
Long[] |
getZoneIds()
Get The region for instance purchase, which can be obtained via the `DescribeCkafkaZone` API.
|
void |
setBandwidth(Long Bandwidth)
Set Private network bandwidth in MB/sec, which is required when you purchase an instance.
|
void |
setBillType(String BillType)
Set This field is not required.
|
void |
setCategoryAction(String CategoryAction)
Set Operation type flag.
|
void |
setInquiryDiskParam(InquiryDiskParam InquiryDiskParam)
Set Disk type and size, which is required when you purchase an instance.
|
void |
setInstanceChargeParam(InstanceChargeParam InstanceChargeParam)
Set Billing mode for instance purchase/renewal.
|
void |
setInstanceId(String InstanceId)
Set ID of the instance to be renewed, which is required when you renew an instance.
|
void |
setInstanceNum(Long InstanceNum)
Set The number of instances to be purchased or renewed.
|
void |
setInstanceType(String InstanceType)
Set `standard`: Standard Edition; `profession`: Pro Edition
|
void |
setMessageRetention(Long MessageRetention)
Set Message retention period in hours, which is required when you purchase an instance.
|
void |
setPartition(Long Partition)
Set The number of instance partitions to be purchased, which is required when you purchase an instance.
|
void |
setPublicNetworkParam(InquiryPublicNetworkParam PublicNetworkParam)
Set Billing mode for public network bandwidth, which is required when you purchase public network bandwidth.
|
void |
setTopic(Long Topic)
Set The number of instance topics to be purchased, which is required when you purchase an instance.
|
void |
setZoneIds(Long[] ZoneIds)
Set The region for instance purchase, which can be obtained via the `DescribeCkafkaZone` API.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public InquireCkafkaPriceRequest()
public InquireCkafkaPriceRequest(InquireCkafkaPriceRequest source)
public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- `standard`: Standard Edition; `profession`: Pro Editionpublic InstanceChargeParam getInstanceChargeParam()
public void setInstanceChargeParam(InstanceChargeParam InstanceChargeParam)
InstanceChargeParam
- Billing mode for instance purchase/renewal. If this parameter is left empty when you purchase an instance, the fees for one month under the monthly subscription mode will be displayed by default.public Long getInstanceNum()
public void setInstanceNum(Long InstanceNum)
InstanceNum
- The number of instances to be purchased or renewed. If this parameter is left empty, the default value is `1`.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Private network bandwidth in MB/sec, which is required when you purchase an instance.public InquiryDiskParam getInquiryDiskParam()
public void setInquiryDiskParam(InquiryDiskParam InquiryDiskParam)
InquiryDiskParam
- Disk type and size, which is required when you purchase an instance.public Long getMessageRetention()
public void setMessageRetention(Long MessageRetention)
MessageRetention
- Message retention period in hours, which is required when you purchase an instance.public Long getTopic()
public void setTopic(Long Topic)
Topic
- The number of instance topics to be purchased, which is required when you purchase an instance.public Long getPartition()
public void setPartition(Long Partition)
Partition
- The number of instance partitions to be purchased, which is required when you purchase an instance.public Long[] getZoneIds()
public void setZoneIds(Long[] ZoneIds)
ZoneIds
- The region for instance purchase, which can be obtained via the `DescribeCkafkaZone` API.public String getCategoryAction()
public void setCategoryAction(String CategoryAction)
CategoryAction
- Operation type flag. `purchase`: Making new purchases; `renew`: Renewing an instance. The default value is `purchase` if this parameter is left empty.public String getBillType()
public void setBillType(String BillType)
BillType
- This field is not required.public InquiryPublicNetworkParam getPublicNetworkParam()
public void setPublicNetworkParam(InquiryPublicNetworkParam PublicNetworkParam)
PublicNetworkParam
- Billing mode for public network bandwidth, which is required when you purchase public network bandwidth. Currently, public network bandwidth is only supported for Pro Edition.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the instance to be renewed, which is required when you renew an instance.Copyright © 2023. All rights reserved.