public PackageFilter withVersion(StringFilter version) {
        setVersion(version);
        return this;
    }
<p>
The package version to filter on.
</p>

@param version
       The package version to filter on.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/PackageFilter.java