public RuleGroupResponse withSourceMetadata(SourceMetadata sourceMetadata) {
        setSourceMetadata(sourceMetadata);
        return this;
    }
<p>
A complex type that contains metadata about the rule group that your own rule group is copied from. You can use
the metadata to track the version updates made to the originating rule group.
</p>

@param sourceMetadata
       A complex type that contains metadata about the rule group that your own rule group is copied from. You
       can use the metadata to track the version updates made to the originating rule group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RuleGroupResponse.java