public java.util.List<Tag> getTags() {
        if (tags == null) {
            tags = new com.amazonaws.internal.SdkInternalList<Tag>();
        }
        return 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>

@return 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