public DocumentRequires withVersion(String version) {
        setVersion(version);
        return this;
    }
<p>
The document version required by the current document.
</p>

@param version
       The document version required by the current document.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/DocumentRequires.java