public static final class GetInstanceResponseBody.InternetInfo.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetInstanceResponseBody.InternetInfo |
build() |
GetInstanceResponseBody.InternetInfo.Builder |
flowOutBandwidth(Integer flowOutBandwidth)
The Internet bandwidth.
|
GetInstanceResponseBody.InternetInfo.Builder |
flowOutType(String flowOutType)
The metering method for Internet usage.
|
GetInstanceResponseBody.InternetInfo.Builder |
internetSpec(String internetSpec)
Specifies whether to enable the Internet access feature.
|
GetInstanceResponseBody.InternetInfo.Builder |
ipWhitelist(List<String> ipWhitelist)
The whitelist that includes the IP addresses that are allowed to access the ApsaraMQ for RocketMQ broker.
|
public GetInstanceResponseBody.InternetInfo.Builder flowOutBandwidth(Integer flowOutBandwidth)
public GetInstanceResponseBody.InternetInfo.Builder flowOutType(String flowOutType)
Valid values: * PayByBandwidth: pay-by-bandwidth. If the Internet access feature is enabled, specify this value for the parameter. * uninvolved: N/A. If the Internet access feature is not enabled, specify this value for the parameter.
public GetInstanceResponseBody.InternetInfo.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.InternetInfo.Builder ipWhitelist(List<String> ipWhitelist)
* If this parameter is not configured, all IP addresses are allowed to access the ApsaraMQ for RocketMQ broker over the Internet. * If this parameter is configured, only the IP addresses that are included in the whitelist can access the ApsaraMQ for RocketMQ broker over the Internet.
public GetInstanceResponseBody.InternetInfo build()
Copyright © 2024. All rights reserved.