public RevisionDestinationEntry withKeyPattern(String keyPattern) {
        setKeyPattern(keyPattern);
        return this;
    }
<p>
A string representing the pattern for generated names of the individual assets in the revision. For more
information about key patterns, see <a
href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key
patterns when exporting revisions</a>.
</p>

@param keyPattern
       A string representing the pattern for generated names of the individual assets in the revision. For more
       information about key patterns, see <a
       href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns"
       >Key patterns when exporting revisions</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/RevisionDestinationEntry.java