public KeyNameConstraint withMatchAnySubstring(java.util.Collection<String> matchAnySubstring) {
        setMatchAnySubstring(matchAnySubstring);
        return this;
    }
<p>
If provided, the generated manifest includes objects where the specified string appears anywhere within the
object key string.
</p>

@param matchAnySubstring
       If provided, the generated manifest includes objects where the specified string appears anywhere within
       the object key string.
@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/KeyNameConstraint.java