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

@param key
       The filter's key.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ResourceMapFilter.java