public void setKey(String key) {
        this.key = key;
    }
<p>
The key that's associated with the tag.
</p>

@param key
       The key that's associated with the tag.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/Tag.java