public Location withLocationCode(String locationCode) {
        setLocationCode(locationCode);
        return this;
    }
<p>
The code for the location.
</p>

@param locationCode
       The code for the location.
@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/Location.java