public void setKey(String key) {
        this.key = key;
    }
Sets the key, the name of the reference to the object to restore, which
is now stored in Amazon Glacier.

@see RestoreObjectRequest#getKey()
@see RestoreObjectRequest#withKey(String)
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/RestoreObjectRequest.java