public DBProxyEndpoint withEndpoint(String endpoint) {
        setEndpoint(endpoint);
        return this;
    }
<p>
The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string
for a database client application.
</p>

@param endpoint
       The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection
       string for a database client application.
@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