public CreateDbInstanceResult withEndpoint(String endpoint) {
        setEndpoint(endpoint);
        return this;
    }
<p>
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
</p>

@param endpoint
       The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-timestreaminfluxdb/src/main/java/com/amazonaws/services/timestreaminfluxdb/model/CreateDbInstanceResult.java