public TagScopeTerm withKey(String key) {
        setKey(key);
        return this;
    }
<p>
The object property to use in the condition. The only valid value is TAG.
</p>

@param key
       The object property to use in the condition. The only valid value is TAG.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/TagScopeTerm.java