public static final class GetInstanceResponseBody.ExtConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetInstanceResponseBody.ExtConfig.Builder |
aclType(String aclType)
The authentication type of the instance.
|
GetInstanceResponseBody.ExtConfig.Builder |
autoScaling(Boolean autoScaling)
Specifies whether to enable the elastic TPS feature for the instance.
|
GetInstanceResponseBody.ExtConfig |
build() |
GetInstanceResponseBody.ExtConfig.Builder |
flowOutBandwidth(Integer flowOutBandwidth)
The Internet bandwidth.
|
GetInstanceResponseBody.ExtConfig.Builder |
flowOutType(String flowOutType)
The metering method for Internet usage.
|
GetInstanceResponseBody.ExtConfig.Builder |
internetSpec(String internetSpec)
Specifies whether to enable the Internet access feature.
|
GetInstanceResponseBody.ExtConfig.Builder |
messageRetentionTime(Integer messageRetentionTime)
The retention period of messages.
|
GetInstanceResponseBody.ExtConfig.Builder |
msgProcessSpec(String msgProcessSpec)
The computing specification that is used to send and receive messages.
|
GetInstanceResponseBody.ExtConfig.Builder |
sendReceiveRatio(Float sendReceiveRatio)
The ratio between sent messages and received messages in the instance.
|
GetInstanceResponseBody.ExtConfig.Builder |
supportAutoScaling(Boolean supportAutoScaling)
Specifies whether the elastic TPS feature is supported by the instance.
|
public GetInstanceResponseBody.ExtConfig.Builder aclType(String aclType)
Valid values: * default: intelligent authentication
public GetInstanceResponseBody.ExtConfig.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.ExtConfig.Builder flowOutBandwidth(Integer flowOutBandwidth)
public GetInstanceResponseBody.ExtConfig.Builder flowOutType(String flowOutType)
Valid values: * PayByTraffic: pay-by-traffic * paybybandwidth: pay-by-bandwidth * uninvolved: N/A
public GetInstanceResponseBody.ExtConfig.Builder internetSpec(String internetSpec)
Valid values: * enable * disable By default, ApsaraMQ for RocketMQ instances are accessed in virtual private clouds (VPCs). If you enable the Internet access feature, you are charged for Internet outbound bandwidth. For more information, see [Internet access fee](~~427240~~).
public GetInstanceResponseBody.ExtConfig.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.ExtConfig.Builder msgProcessSpec(String msgProcessSpec)
public GetInstanceResponseBody.ExtConfig.Builder sendReceiveRatio(Float sendReceiveRatio)
public GetInstanceResponseBody.ExtConfig.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 only by specific instance editions. For more information, see [Instance specifications](~~444715~~).
public GetInstanceResponseBody.ExtConfig build()
Copyright © 2024. All rights reserved.