public static final class GetInstanceResponseBody.ProductInfo.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetInstanceResponseBody.ProductInfo.Builder |
autoScaling(Boolean autoScaling)
Specifies whether to enable the elastic TPS feature for the instance.
|
GetInstanceResponseBody.ProductInfo |
build() |
GetInstanceResponseBody.ProductInfo.Builder |
messageRetentionTime(Integer messageRetentionTime)
The retention period of messages.
|
GetInstanceResponseBody.ProductInfo.Builder |
msgProcessSpec(String msgProcessSpec)
The computing specification that is used to send and receive messages.
|
GetInstanceResponseBody.ProductInfo.Builder |
sendReceiveRatio(Float sendReceiveRatio)
The ratio between sent messages and received messages in the instance.
|
GetInstanceResponseBody.ProductInfo.Builder |
supportAutoScaling(Boolean supportAutoScaling)
Specifies whether to enable the elastic TPS feature for the instance.
|
GetInstanceResponseBody.ProductInfo.Builder |
traceOn(Boolean traceOn)
Indicates whether the message trace feature is enabled.
|
public GetInstanceResponseBody.ProductInfo.Builder autoScaling(Boolean autoScaling)
Valid values: * true: enable * false: disable This parameter is valid only when the supportAutoScaling parameter is set to enable.
public GetInstanceResponseBody.ProductInfo.Builder messageRetentionTime(Integer messageRetentionTime)
For information about the valid values of this parameter, see the "Limits on resource quotas" section in [Usage limits](~~440347~~). 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](~~427238~~).
public GetInstanceResponseBody.ProductInfo.Builder msgProcessSpec(String msgProcessSpec)
public GetInstanceResponseBody.ProductInfo.Builder sendReceiveRatio(Float sendReceiveRatio)
public GetInstanceResponseBody.ProductInfo.Builder supportAutoScaling(Boolean supportAutoScaling)
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](~~427237~~). > The elastic TPS feature is supported by only specific instance editions. For more information, see [Instance specifications](~~444715~~).
public GetInstanceResponseBody.ProductInfo.Builder traceOn(Boolean traceOn)
* 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 GetInstanceResponseBody.ProductInfo build()
Copyright © 2024. All rights reserved.