public ConfigurationTag withKey(String key) {
        setKey(key);
        return this;
    }
<p>
A type of tag on which to filter. For example, <i>serverType</i>.
</p>

@param key
       A type of tag on which to filter. For example, <i>serverType</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/ConfigurationTag.java