public static class UpdateCustomRoutingEndpointsRequest.UpdateCustomRoutingEndpointsRequestEndpointConfigurationsPolicyConfigurationsPortRanges
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
fromPort
The start port of the port range in the destination to which to allow traffic.
|
String |
toPort
The end port of the port range in the destination to which to allow traffic.
|
构造器和说明 |
---|
UpdateCustomRoutingEndpointsRequestEndpointConfigurationsPolicyConfigurationsPortRanges() |
@NameInMap(value="FromPort") public String fromPort
The start port of the port range in the destination to which to allow traffic. The specified port must fall within the port range of the specified endpoint group.
This parameter takes effect only when **TrafficToEndpointPolicy** is set to **AllowCustom**.
You can specify port ranges for up to 20 destinations for each endpoint and specify up to 20 start ports for each destination.
@NameInMap(value="ToPort") public String toPort
The end port of the port range in the destination to which to allow traffic. The specified port must fall within the port range of the specified endpoint group.
This parameter takes effect only when **TrafficToEndpointPolicy** is set to **AllowCustom**.
You can specify port ranges for up to 20 destinations for each endpoint and specify up to 20 end ports for each destination.
public UpdateCustomRoutingEndpointsRequestEndpointConfigurationsPolicyConfigurationsPortRanges()
public static UpdateCustomRoutingEndpointsRequest.UpdateCustomRoutingEndpointsRequestEndpointConfigurationsPolicyConfigurationsPortRanges build(Map<String,?> map) throws Exception
Exception
public UpdateCustomRoutingEndpointsRequest.UpdateCustomRoutingEndpointsRequestEndpointConfigurationsPolicyConfigurationsPortRanges setFromPort(String fromPort)
public String getFromPort()
public UpdateCustomRoutingEndpointsRequest.UpdateCustomRoutingEndpointsRequestEndpointConfigurationsPolicyConfigurationsPortRanges setToPort(String toPort)
public String getToPort()
Copyright © 2024. All rights reserved.