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

        this.tags = new com.amazonaws.internal.SdkInternalList<Tag>(tags);
    }
<p>
A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Redis OSS
and Serverless Memcached only. Default: NULL
</p>

@param tags
       A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Redis
       OSS and Serverless Memcached only. Default: NULL
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/CopyServerlessCacheSnapshotRequest.java