public void setEndpointId(String endpointId) {
        this.endpointId = endpointId;
    }
<p>
An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the
Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP
address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.
</p>
<p>
An Application Load Balancer can be either internal or internet-facing.
</p>

@param endpointId
       An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is
       the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the
       Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. </p>
       <p>
       An Application Load Balancer can be either internal or internet-facing.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/EndpointDescription.java