public DeleteDBClusterEndpointResult withEndpointType(String endpointType) {
        setEndpointType(endpointType);
        return this;
    }
<p>
The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>, <code>CUSTOM</code>.
</p>

@param endpointType
       The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>, <code>CUSTOM</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/DeleteDBClusterEndpointResult.java