public void setKey(String key) {
        this.key = key;
    }
<p>
The string that represents a key for a specified group.
</p>

@param key
       The string that represents a key for a specified group.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/GroupDefinition.java