public Endpoint getEndpoint() {
        return this.endpoint;
    }
<p>
The endpoint that is created from the workgroup.
</p>

@return The endpoint that is created from the workgroup.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/Workgroup.java