public RestoreObjectRequest withType(String restoreRequestType) {
        setType(restoreRequestType);
        return this;
    }
Sets the restore request type.

@param restoreRequestType New value for restore request type.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/RestoreObjectRequest.java