public Patch withVersion(String version) {
        setVersion(version);
        return this;
    }
<p>
The version number of the patch. For example, in <code>example-pkg-1.710.10-2.7.abcd.x86_64</code>, the version
number is indicated by <code>-1</code>. Applies to Linux-based managed nodes only.
</p>

@param version
       The version number of the patch. For example, in <code>example-pkg-1.710.10-2.7.abcd.x86_64</code>, the
       version number is indicated by <code>-1</code>. Applies to Linux-based managed nodes only.
@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/Patch.java