public void setKey(String key) {
        this.key = key;
    }
<p>
The name of the filter.
</p>
<note>
<p>
The <code>ExecutionStage</code> filter can't be used with the <code>ListCommandInvocations</code> operation, only
with <code>ListCommands</code>.
</p>
</note>

@param key
       The name of the filter.</p> <note>
       <p>
       The <code>ExecutionStage</code> filter can't be used with the <code>ListCommandInvocations</code>
       operation, only with <code>ListCommands</code>.
       </p>
@see CommandFilterKey
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/CommandFilter.java