public Connection withLocation(String location) {
        setLocation(location);
        return this;
    }
<p>
The location of the connection.
</p>

@param location
       The location of the connection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/Connection.java