public static final class UpdateInstanceRequest.ProductInfo.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
UpdateInstanceRequest.ProductInfo.Builder |
autoScaling(Boolean autoScaling)
Specifies whether to enable the elastic transactions per second (TPS) feature for the instance.
|
UpdateInstanceRequest.ProductInfo |
build() |
UpdateInstanceRequest.ProductInfo.Builder |
messageRetentionTime(Integer messageRetentionTime)
The retention period of messages.
|
UpdateInstanceRequest.ProductInfo.Builder |
sendReceiveRatio(Float sendReceiveRatio)
The ratio of the number of messages that you can send to the number of messages that you can receive on the instance.
|
UpdateInstanceRequest.ProductInfo.Builder |
traceOn(Boolean traceOn)
Specifies whether to enable the message trace feature.
|
public UpdateInstanceRequest.ProductInfo.Builder autoScaling(Boolean autoScaling)
Valid values: * true * false 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](~~427237~~). > The elastic TPS feature is supported only by specific instance editions. For more information, see [Instance editions](~~444715~~).
public UpdateInstanceRequest.ProductInfo.Builder messageRetentionTime(Integer messageRetentionTime)
For information about the valid values of this parameter, see the "Limits on resource quotas" section of the [Limits](~~440347~~) 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](~~427238~~).
public UpdateInstanceRequest.ProductInfo.Builder sendReceiveRatio(Float sendReceiveRatio)
Value values: 0.25 to 1.
public UpdateInstanceRequest.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 UpdateInstanceRequest.ProductInfo build()
Copyright © 2024. All rights reserved.