public ModifyDBClusterEndpointResult withCustomEndpointType(String customEndpointType) {
        setCustomEndpointType(customEndpointType);
        return this;
    }
<p>
The type associated with a custom endpoint. One of: <code>READER</code>, <code>WRITER</code>, <code>ANY</code>.
</p>

@param customEndpointType
       The type associated with a custom endpoint. One of: <code>READER</code>, <code>WRITER</code>,
       <code>ANY</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/ModifyDBClusterEndpointResult.java