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

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
<p>
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways,
for example, by purpose, owner, or environment. For more information, see <a
href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.
</p>

@param tags
       An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
       different ways, for example, by purpose, owner, or environment. For more information, see <a
       href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
       Resources</a>.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateEndpointRequest.java