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

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
<p>
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for
each resource. Tags are searchable using the <code>Search</code> API.
</p>

@param tags
       Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be
       unique for each resource. Tags are searchable using the <code>Search</code> API.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateSpaceRequest.java