public Tag withKey(String key) {
        setKey(key);
        return this;
    }
<p>
The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.
</p>

@param key
       The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/Tag.java