public DescribePackagesFilter withName(DescribePackagesFilterName name) {
        this.name = name.toString();
        return this;
    }
<p>
Any field from <code>PackageDetails</code>.
</p>

@param name
       Any field from <code>PackageDetails</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see DescribePackagesFilterName
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DescribePackagesFilter.java