public Condition withKey(String key) {
        setKey(key);
        return this;
    }
<p>
Specifies the key for the condition. Currently the only supported key is <code>aws:PrincipalOrgID</code>.
</p>

@param key
       Specifies the key for the condition. Currently the only supported key is <code>aws:PrincipalOrgID</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/Condition.java