public S3Location withPrefix(String prefix) {
        setPrefix(prefix);
        return this;
    }
Sets the prefix that is prepended to the restore results for this request.

@param prefix The new prefix value.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/S3Location.java