public CreateDataSetRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a
key and an optional value, both of which you define. When you use tagging, you can also use tag-based access
control in IAM policies to control access to these data sets and revisions.
</p>

@param tags
       A data set tag is an optional label that you can assign to a data set when you create it. Each tag
       consists of a key and an optional value, both of which you define. When you use tagging, you can also use
       tag-based access control in IAM policies to control access to these data sets and revisions.
@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/CreateDataSetRequest.java