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