public Tag withKey(String key) {
        setKey(key);
        return this;
    }
<p>
One part of a key-value pair that makes up a tag. A <code>key</code> is a general label that acts like a category
for more specific tag values.
</p>

@param key
       One part of a key-value pair that makes up a tag. A <code>key</code> is a general label that acts like a
       category for more specific tag values.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Tag.java