public static class CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
endpoint
The name of the vSwitch that is specified as an endpoint.
|
List<CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurationsPolicyConfigurations> |
policyConfigurations
The destination to which traffic is forwarded.
|
String |
trafficToEndpointPolicy
The traffic policy that is used to process traffic to the endpoint.
|
String |
type
The type of endpoint.
|
构造器和说明 |
---|
CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations() |
@NameInMap(value="Endpoint") public String endpoint
The name of the vSwitch that is specified as an endpoint.
@NameInMap(value="PolicyConfigurations") public List<CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurationsPolicyConfigurations> policyConfigurations
The destination to which traffic is forwarded.
You can specify at most 20 destinations for each endpoint.
@NameInMap(value="TrafficToEndpointPolicy") public String trafficToEndpointPolicy
The traffic policy that is used to process traffic to the endpoint. Valid values:
* **AllowAll**: allows all traffic to the endpoint.
* **DenyAll** (default): denies all traffic to the endpoint.
* **AllowCustom**: allows traffic only to specified destinations in the endpoint.
If you set this parameter to AllowCustom, you must specify IP addresses and port ranges as the destinations to which traffic is distributed. If you specify only IP addresses and do not specify port ranges, GA can forward traffic to the specified IP addresses over all destination ports.
@NameInMap(value="Type") public String type
The type of endpoint.
Set the value to **PrivateSubNet**, which specifies a private CIDR block. This is the default value.
public CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations()
public static CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations build(Map<String,?> map) throws Exception
Exception
public CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setEndpoint(String endpoint)
public String getEndpoint()
public CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setPolicyConfigurations(List<CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurationsPolicyConfigurations> policyConfigurations)
public List<CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurationsPolicyConfigurations> getPolicyConfigurations()
public CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setTrafficToEndpointPolicy(String trafficToEndpointPolicy)
public String getTrafficToEndpointPolicy()
public CreateCustomRoutingEndpointGroupsRequest.CreateCustomRoutingEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setType(String type)
public String getType()
Copyright © 2024. All rights reserved.