public JobManifestGeneratorFilter withKeyNameConstraint(KeyNameConstraint keyNameConstraint) {
        setKeyNameConstraint(keyNameConstraint);
        return this;
    }
<p>
If provided, the generated manifest includes only source bucket objects whose object keys match the string
constraints specified for <code>MatchAnyPrefix</code>, <code>MatchAnySuffix</code>, and
<code>MatchAnySubstring</code>.
</p>

@param keyNameConstraint
       If provided, the generated manifest includes only source bucket objects whose object keys match the string
       constraints specified for <code>MatchAnyPrefix</code>, <code>MatchAnySuffix</code>, and
       <code>MatchAnySubstring</code>.
@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/JobManifestGeneratorFilter.java