public CreateTemplateRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
</p>

@param tags
       Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/CreateTemplateRequest.java