public InstancePropertyFilter withKey(InstancePropertyFilterKey key) {
        this.key = key.toString();
        return this;
    }
<p>
The name of the filter.
</p>

@param key
       The name of the filter.
@return Returns a reference to this object so that method calls can be chained together.
@see InstancePropertyFilterKey
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/InstancePropertyFilter.java