public UpdateEndpointAccessRequest withEndpointName(String endpointName) {
        setEndpointName(endpointName);
        return this;
    }
<p>
The name of the VPC endpoint to update.
</p>

@param endpointName
       The name of the VPC endpoint to update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/UpdateEndpointAccessRequest.java