public void setKey(String key) {
        this.key = key;
    }
<p>
The tag key.
</p>
<p>
Constraints: Maximum length of 128 characters.
</p>

@param key
       The tag key.</p>
       <p>
       Constraints: Maximum length of 128 characters.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/Tag.java