public CreateIndexRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to
the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following
symbols: _ . : / = + - @.
</p>

@param tags
       A list of key-value pairs that identify or categorize the index. You can also use tags to help control
       access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
       the following symbols: _ . : / = + - @.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/CreateIndexRequest.java