public ResourceReference withVersion(String version) {
        setVersion(version);
        return this;
    }
<p>
The version of the resource that is using the resource that you are trying to delete.
</p>

@param version
       The version of the resource that is using the resource that you are trying to delete.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/ResourceReference.java