public StorageLensGroupFilter withMatchAnyPrefix(java.util.Collection<String> matchAnyPrefix) {
        setMatchAnyPrefix(matchAnyPrefix);
        return this;
    }
<p>
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
</p>

@param matchAnyPrefix
       Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/StorageLensGroupFilter.java