public static class CreateInstanceRequest.CreateInstanceRequestProductInfo
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
autoScaling
Specifies whether to enable the elastic TPS feature for the instance.
|
String |
chargeType
The billing method.
|
String |
intranetSpec
This parameter is no longer used.
|
Integer |
messageRetentionTime
The retention period of messages.
|
String |
msgProcessSpec
The computing specification that specifies the messaging transactions per second (TPS) of the instance.
|
Float |
sendReceiveRatio
The proportion of message sending TPS to the messaging TPS on the instance.
|
| 构造器和说明 |
|---|
CreateInstanceRequestProductInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateInstanceRequest.CreateInstanceRequestProductInfo |
build(Map<String,?> map) |
Boolean |
getAutoScaling() |
String |
getChargeType() |
String |
getIntranetSpec() |
Integer |
getMessageRetentionTime() |
String |
getMsgProcessSpec() |
Float |
getSendReceiveRatio() |
CreateInstanceRequest.CreateInstanceRequestProductInfo |
setAutoScaling(Boolean autoScaling) |
CreateInstanceRequest.CreateInstanceRequestProductInfo |
setChargeType(String chargeType) |
CreateInstanceRequest.CreateInstanceRequestProductInfo |
setIntranetSpec(String intranetSpec) |
CreateInstanceRequest.CreateInstanceRequestProductInfo |
setMessageRetentionTime(Integer messageRetentionTime) |
CreateInstanceRequest.CreateInstanceRequestProductInfo |
setMsgProcessSpec(String msgProcessSpec) |
CreateInstanceRequest.CreateInstanceRequestProductInfo |
setSendReceiveRatio(Float sendReceiveRatio) |
@NameInMap(value="autoScaling") public Boolean autoScaling
Specifies whether to enable the elastic TPS feature for the instance.
Valid values:
* true: enable
* false: disable
After you enable the elastic TPS feature for an ApsaraMQ for RocketMQ instance, you can use a specific number of TPS that exceeds the specification limit. You are charged for using the elastic TPS feature. For more information, see [Computing fees](https://help.aliyun.com/document_detail/427237.html).
> The elastic TPS feature is supported only by instances of specific editions. For more information, see [Instance editions](https://help.aliyun.com/document_detail/444715.html).
@NameInMap(value="chargeType") public String chargeType
The billing method.
Valid values:
* provisioned
* ondemand
@NameInMap(value="intranetSpec") public String intranetSpec
This parameter is no longer used. You do not need to configure this parameter.
@NameInMap(value="messageRetentionTime") public Integer messageRetentionTime
The retention period of messages. Unit: hours.
For information about the valid values of this parameter, see the "Limits on resource quotas" section of the [Limits](https://help.aliyun.com/document_detail/440347.html) topic.
ApsaraMQ for RocketMQ supports serverless scaling of message storage. You are charged storage fees based on your actual storage usage. You can change the retention period of messages to manage storage capacity. For more information, see [Storage fees](https://help.aliyun.com/document_detail/427238.html).
@NameInMap(value="msgProcessSpec") public String msgProcessSpec
The computing specification that specifies the messaging transactions per second (TPS) of the instance. For information about computing specification limits, see [Instance specifications](https://help.aliyun.com/document_detail/444715.html).
This parameter is required.
@NameInMap(value="sendReceiveRatio") public Float sendReceiveRatio
The proportion of message sending TPS to the messaging TPS on the instance.
For example, you create an instance whose peak messaging TPS is specified as 1,000 and the proportion of message sending TPS is specified as 0.8. In this case, the peak message sending TPS is 800 and the peak message receiving TPS is 200 on the instance.
Valid values: 0 to 1. Default value: 0.5.
public static CreateInstanceRequest.CreateInstanceRequestProductInfo build(Map<String,?> map) throws Exception
Exceptionpublic CreateInstanceRequest.CreateInstanceRequestProductInfo setAutoScaling(Boolean autoScaling)
public Boolean getAutoScaling()
public CreateInstanceRequest.CreateInstanceRequestProductInfo setChargeType(String chargeType)
public String getChargeType()
public CreateInstanceRequest.CreateInstanceRequestProductInfo setIntranetSpec(String intranetSpec)
public String getIntranetSpec()
public CreateInstanceRequest.CreateInstanceRequestProductInfo setMessageRetentionTime(Integer messageRetentionTime)
public Integer getMessageRetentionTime()
public CreateInstanceRequest.CreateInstanceRequestProductInfo setMsgProcessSpec(String msgProcessSpec)
public String getMsgProcessSpec()
public CreateInstanceRequest.CreateInstanceRequestProductInfo setSendReceiveRatio(Float sendReceiveRatio)
public Float getSendReceiveRatio()
Copyright © 2024. All rights reserved.