public DBInstance withEndpoint(Endpoint endpoint) {
        setEndpoint(endpoint);
        return this;
    }
<p>
The connection endpoint for the DB instance.
</p>
<note>
<p>
The endpoint might not be shown for instances with the status of <code>creating</code>.
</p>
</note>

@param endpoint
       The connection endpoint for the DB instance.</p> <note>
       <p>
       The endpoint might not be shown for instances with the status of <code>creating</code>.
       </p>
@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/DBInstance.java