public DBProxyEndpoint withIsDefault(Boolean isDefault) {
        setIsDefault(isDefault);
        return this;
    }
<p>
Indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints
always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write
or read-only.
</p>

@param isDefault
       Indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy
       endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be
       either read/write or read-only.
@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/DBProxyEndpoint.java