public void setKey(String key) {
        this.key = key;
    }
<p>
The tag key.
</p>

@param key
       The tag key.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/Tag.java