public S3Location withUserMetaData(List<MetadataEntry> userMetadata) {
        setUserMetadata(userMetadata);
        return this;
    }
Sets the metadata to store with the restore results in S3.

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