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 up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
</p>
<note>
<p>
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and
the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the
maximum length for a tag's value is 256 characters.
</p>
</note>

@param tags
       A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.</p> <note>
       <p>
       Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8
       format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128
       characters, and the maximum length for a tag's value is 256 characters.
       </p>
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/ActivateGatewayRequest.java