Skip to content

BasicEndpointProps

Properties for defining a BasicEndpoint.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-basicendpoint

Initializer

import com.aliyun.ros.cdk.ga.BasicEndpointProps;
BasicEndpointProps.builder()
    .acceleratorId(java.lang.String)
    .acceleratorId(IResolvable)
    .endpointAddress(java.lang.String)
    .endpointAddress(IResolvable)
    .endpointGroupId(java.lang.String)
    .endpointGroupId(IResolvable)
//  .endpointSubAddress(java.lang.String)
//  .endpointSubAddress(IResolvable)
//  .endpointSubAddressType(java.lang.String)
//  .endpointSubAddressType(IResolvable)
//  .endpointType(java.lang.String)
//  .endpointType(IResolvable)
//  .endpointZoneId(java.lang.String)
//  .endpointZoneId(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
    .build();

Properties

Name Type Description
acceleratorId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property acceleratorId: The ID of the basic GA instance.
endpointAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointAddress: The address of the endpoint.
endpointGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointGroupId: The ID of the endpoint group.
endpointSubAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointSubAddress: The secondary address of the endpoint.
endpointSubAddressType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointSubAddressType: The type of the secondary address of the endpoint.
endpointType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointType: The type of the endpoint.
endpointZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointZoneId: The zone ID of the endpoint.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the endpoint that is associated with the basic GA instance.

acceleratorIdRequired

public java.lang.Object getAcceleratorId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property acceleratorId: The ID of the basic GA instance.


endpointAddressRequired

public java.lang.Object getEndpointAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property endpointAddress: The address of the endpoint.


endpointGroupIdRequired

public java.lang.Object getEndpointGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property endpointGroupId: The ID of the endpoint group.


endpointSubAddressOptional

public java.lang.Object getEndpointSubAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property 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.This parameter is required if the endpoint type is NLB. EndpointSubAddress is the primary private IP address of the NLB backend server.


endpointSubAddressTypeOptional

public java.lang.Object getEndpointSubAddressType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property 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.


endpointTypeOptional

public java.lang.Object getEndpointType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property endpointType: The type of the endpoint.

Valid values: ENI: elastic network interface (ENI) SLB: Classic Load Balancer (CLB) NLB: Network Load Balancer (NLB) ECS: Elastic Compute Service (ECS)


endpointZoneIdOptional

public java.lang.Object getEndpointZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property endpointZoneId: The zone ID of the endpoint.

This parameter is required only if the endpoint type is NLB.


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property 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.