public static class CreateInstanceRequest.CreateInstanceRequestNetworkInfoInternetInfo
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
flowOutBandwidth
The Internet bandwidth.
|
String |
flowOutType
The billing method of Internet usage.
|
String |
internetSpec
Specifies whether to enable the Internet access feature.
|
List<String> |
ipWhitelist
The whitelist that includes the IP addresses that are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
|
| 构造器和说明 |
|---|
CreateInstanceRequestNetworkInfoInternetInfo() |
@NameInMap(value="flowOutBandwidth") public Integer flowOutBandwidth
The Internet bandwidth. Unit: MB/s.
This parameter is required only if you set flowOutType to payByBandwidth.
Valid values: 1 to 1000.
@NameInMap(value="flowOutType") public String flowOutType
The billing method of Internet usage.
Valid values:
* payByBandwidth: pay-by-bandwidth. If Internet access is enabled for an instance, specify this value for the parameter.
* payByTraffic: pay-by-traffic. If Internet access is enabled for an instance, specify this value for the parameter.
* uninvolved: No billing method is involved. If Internet access is disabled for an instance, specify this value for the parameter.
This parameter is required.
@NameInMap(value="internetSpec") public String internetSpec
Specifies whether to enable the Internet access feature.
Valid values:
* enable
* disable
By default, ApsaraMQ for RocketMQ allows you to access instances in VPCs. If you enable Internet access for an instance, you can access the instance over the Internet. After you enable this feature, you are charged for outbound Internet traffic. For more information, see [Internet access fee](https://help.aliyun.com/document_detail/427240.html).
This parameter is required.
@NameInMap(value="ipWhitelist") public List<String> ipWhitelist
The whitelist that includes the IP addresses that are allowed to access the ApsaraMQ for RocketMQ broker over the Internet. This parameter can be configured only if you use a public endpoint to access the instance.
* If you do not configure an IP address whitelist, all CIDR blocks are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
* If configure an IP address whitlist, only the IP addresses in the whitelist are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
public CreateInstanceRequestNetworkInfoInternetInfo()
public static CreateInstanceRequest.CreateInstanceRequestNetworkInfoInternetInfo build(Map<String,?> map) throws Exception
Exceptionpublic CreateInstanceRequest.CreateInstanceRequestNetworkInfoInternetInfo setFlowOutBandwidth(Integer flowOutBandwidth)
public Integer getFlowOutBandwidth()
public CreateInstanceRequest.CreateInstanceRequestNetworkInfoInternetInfo setFlowOutType(String flowOutType)
public String getFlowOutType()
public CreateInstanceRequest.CreateInstanceRequestNetworkInfoInternetInfo setInternetSpec(String internetSpec)
public String getInternetSpec()
public CreateInstanceRequest.CreateInstanceRequestNetworkInfoInternetInfo setIpWhitelist(List<String> ipWhitelist)
Copyright © 2024. All rights reserved.