public void setType(String type) {
        this.type = type;
    }
Sets the restore request type.

@param type New value for type.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/RestoreObjectRequest.java