public void setKey(String key) {
        this.key = key;
    }
<p>
A key to be specified in <code>UserProperty</code>.
</p>

@param key
       A key to be specified in <code>UserProperty</code>.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UserProperty.java