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

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