public void setKey(String key) {
        this.key = key;
    }
<p>
The attribute key.
</p>

@param key
       The attribute key.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/Attribute.java