public String getEndpointId() {
        return this.endpointId;
    }
<p>
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator
by specified principals.
</p>

@return The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an
        accelerator by specified principals.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/CrossAccountResource.java