public class CreateBasicEndpointRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceleratorId
The ID of the basic GA instance.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
endpointAddress
The address of the endpoint.
|
String |
endpointGroupId
The ID of the endpoint group.
|
String |
endpointSubAddress
The secondary address of the endpoint.
|
String |
endpointSubAddressType
The type of the secondary address of the endpoint.
|
String |
endpointType
The type of endpoint.
|
String |
endpointZoneId
The zone ID of the endpoint.
|
String |
name
The name of the endpoint that is associated with the basic GA instance.
|
String |
regionId
The ID of the region where the GA instance is deployed.
|
构造器和说明 |
---|
CreateBasicEndpointRequest() |
@NameInMap(value="AcceleratorId") public String acceleratorId
The ID of the basic GA instance.
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="EndpointAddress") public String endpointAddress
The address of the endpoint.
@NameInMap(value="EndpointGroupId") public String endpointGroupId
The ID of the endpoint group.
@NameInMap(value="EndpointSubAddress") public String endpointSubAddress
The secondary address of the endpoint.
This parameter is required if the endpoint type is **ECS**, **ENI**, or **NLB**.
* If the endpoint type is **ECS**, you can set **EndpointSubAddress** to the secondary private IP address of the primary ENI. If the parameter is left empty, the primary private IP address of the primary ENI is used.
* If the endpoint type is **ENI**, you can set **EndpointSubAddress** to the secondary private IP address of the secondary ENI. If the parameter is left empty, the primary private IP address of the secondary ENI is used.
* This parameter is required if the endpoint type is **NLB**. **EndpointSubAddress** is the primary private IP address of the NLB backend server.
@NameInMap(value="EndpointSubAddressType") public String endpointSubAddressType
The type of the secondary address of the endpoint. Valid values:
* **primary**: a primary private IP address.
* **secondary**: a secondary private IP address.
This parameter is required if the endpoint type is **ECS**, **ENI**, or **NLB**. If the endpoint type is **NLB**, only **primary** is supported.
@NameInMap(value="EndpointType") public String endpointType
The type of endpoint. Valid values:
* **ENI**: elastic network interface (ENI)
* **SLB**: Classic Load Balancer (CLB)
* **ECS**: Elastic Compute Service (ECS)
* **NLB**: Network Load Balancer (NLB)
@NameInMap(value="EndpointZoneId") public String endpointZoneId
The zone ID of the endpoint.
This parameter is required only if the endpoint type is **NLB**.
@NameInMap(value="Name") public String name
The name of the endpoint that is associated with the basic GA instance.
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.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the GA instance is deployed. Set the value to **cn-hangzhou**.
public static CreateBasicEndpointRequest build(Map<String,?> map) throws Exception
Exception
public CreateBasicEndpointRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public CreateBasicEndpointRequest setClientToken(String clientToken)
public String getClientToken()
public CreateBasicEndpointRequest setEndpointAddress(String endpointAddress)
public String getEndpointAddress()
public CreateBasicEndpointRequest setEndpointGroupId(String endpointGroupId)
public String getEndpointGroupId()
public CreateBasicEndpointRequest setEndpointSubAddress(String endpointSubAddress)
public String getEndpointSubAddress()
public CreateBasicEndpointRequest setEndpointSubAddressType(String endpointSubAddressType)
public String getEndpointSubAddressType()
public CreateBasicEndpointRequest setEndpointType(String endpointType)
public String getEndpointType()
public CreateBasicEndpointRequest setEndpointZoneId(String endpointZoneId)
public String getEndpointZoneId()
public CreateBasicEndpointRequest setName(String name)
public String getName()
public CreateBasicEndpointRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.