public static class CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
endpointAddress
The address of the endpoint.
|
String |
endpointSubAddress
The secondary address of the endpoint.
|
String |
endpointSubAddressType
The secondary address type of the endpoint.
|
String |
endpointType
The type of the endpoint.
|
String |
endpointZoneId
The ID of the zone where the endpoint resides.
|
String |
name
The name of the endpoint.
|
构造器和说明 |
---|
CreateBasicEndpointsRequestEndpoints() |
@NameInMap(value="EndpointAddress") public String endpointAddress
The address of the endpoint.
@NameInMap(value="EndpointSubAddress") public String endpointSubAddress
The secondary address of the endpoint.
This parameter is required only if you set the endpoint type to **ECS**, **ENI**, or **NLB**.
* If you set the endpoint type to **ECS**, you can set **EndpointSubAddress** to the secondary private IP address of the primary ENI. If you leave this parameter empty, the primary private IP address of the primary ENI is used.
* If you set the endpoint type to **ENI**, you can set **EndpointSubAddress** to the secondary private IP address of the secondary ENI. If you leave this parameter empty, the primary private IP address of the secondary ENI is used.
* If you set the endpoint type to **NLB**, you can set **EndpointSubAddress** to the primary private IP address of the NLB backend server.
@NameInMap(value="EndpointSubAddressType") public String endpointSubAddressType
The secondary address type of the endpoint. Valid values:
* **primary**: a primary private IP address.
* **secondary**: a secondary private IP address.
This parameter is required only if you set the endpoint type to **ECS**, **ENI**, or **NLB**. If you set the endpoint type to **NLB**, only **primary** is supported.
@NameInMap(value="EndpointType") public String endpointType
The type of the endpoint. Valid values:
* **ENI**: elastic network interface (ENI).
* **SLB**: Classic Load Balancer (CLB) instance.
* **ECS**: Elastic Compute Service (ECS) instance.
* **NLB**: Network Load Balancer (NLB) instance.
> This parameter is required.
@NameInMap(value="EndpointZoneId") public String endpointZoneId
The ID of the zone where the endpoint resides.
This parameter is required only if you set the endpoint type to **NLB**.
@NameInMap(value="Name") public String name
The name of the endpoint.
The name must be 1 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
public static CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints build(Map<String,?> map) throws Exception
Exception
public CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints setEndpointAddress(String endpointAddress)
public String getEndpointAddress()
public CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints setEndpointSubAddress(String endpointSubAddress)
public String getEndpointSubAddress()
public CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints setEndpointSubAddressType(String endpointSubAddressType)
public String getEndpointSubAddressType()
public CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints setEndpointType(String endpointType)
public String getEndpointType()
public CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints setEndpointZoneId(String endpointZoneId)
public String getEndpointZoneId()
public CreateBasicEndpointsRequest.CreateBasicEndpointsRequestEndpoints setName(String name)
public String getName()
Copyright © 2024. All rights reserved.