public void setTags(java.util.Collection<Tag> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
<p>
The tags to add to the service. Each tag consists of a key and an optional value that you define. Tags keys can
be up to 128 characters in length, and tag values can be up to 256 characters in length.
</p>

@param tags
       The tags to add to the service. Each tag consists of a key and an optional value that you define. Tags
       keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/CreateServiceRequest.java