public CreateContactRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
</p>

@param tags
       Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/CreateContactRequest.java