public static class GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
autoScaling
Specifies whether to enable the elastic TPS feature for the instance.
|
Integer |
messageRetentionTime
The retention period of messages.
|
String |
msgProcessSpec
The computing specification that is used to send and receive messages.
|
Float |
sendReceiveRatio
The ratio between sent messages and received messages in the instance.
|
Boolean |
supportAutoScaling
Specifies whether to enable the elastic TPS feature for the instance.
|
Boolean |
traceOn
Indicates whether the message trace feature is enabled.
|
| 构造器和说明 |
|---|
GetInstanceResponseBodyDataProductInfo() |
@NameInMap(value="autoScaling") public Boolean autoScaling
Specifies whether to enable the elastic TPS feature for the instance.
Valid values:
* true: enable
* false: disable
This parameter is valid only when the supportAutoScaling parameter is set to enable.
@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 in [Usage limits](https://help.aliyun.com/document_detail/440347.html).
The storage of messages in ApsaraMQ for RocketMQ is serverless and scalable. You are charged for message storage based on your actual usage. You can change the retention period of messages to adjust storage capacity. For more information, see [Storage fee](https://help.aliyun.com/document_detail/427238.html).
@NameInMap(value="msgProcessSpec") public String msgProcessSpec
The computing specification that is used to send and receive messages. For information about the upper limit of TPS, see [Instance specifications](https://help.aliyun.com/document_detail/444715.html).
@NameInMap(value="sendReceiveRatio") public Float sendReceiveRatio
The ratio between sent messages and received messages in the instance.
@NameInMap(value="supportAutoScaling") public Boolean supportAutoScaling
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 a ApsaraMQ for RocketMQ instance, you can use a specific amount of TPS that exceeds the specification limit. You are charged for the elastic TPS feature. For more information, see [Computing fee](https://help.aliyun.com/document_detail/427237.html).
> The elastic TPS feature is supported by only specific instance editions. For more information, see [Instance specifications](https://help.aliyun.com/document_detail/444715.html).
@NameInMap(value="traceOn") public Boolean traceOn
Indicates whether the message trace feature is enabled. Valid values:
* true
* false
This parameter is not in use. By default, the message trace feature is enabled for ApsaraMQ for RocketMQ instances, regardless of whether this parameter is configured.
public static GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo build(Map<String,?> map) throws Exception
Exceptionpublic GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo setAutoScaling(Boolean autoScaling)
public Boolean getAutoScaling()
public GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo setMessageRetentionTime(Integer messageRetentionTime)
public Integer getMessageRetentionTime()
public GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo setMsgProcessSpec(String msgProcessSpec)
public String getMsgProcessSpec()
public GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo setSendReceiveRatio(Float sendReceiveRatio)
public Float getSendReceiveRatio()
public GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo setSupportAutoScaling(Boolean supportAutoScaling)
public Boolean getSupportAutoScaling()
public GetInstanceResponseBody.GetInstanceResponseBodyDataProductInfo setTraceOn(Boolean traceOn)
public Boolean getTraceOn()
Copyright © 2024. All rights reserved.