Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static record BackupCreate(

private static record Config(
@SerializedName("CPUPercentage") Integer cpuPercentage,
@SerializedName("ChunkSize") Integer chunkSize,
@SerializedName("CompressionLevel") CompressionLevel compressionLevel,
@SerializedName("Bucket") String bucket,
@SerializedName("Path") String path) {
Expand All @@ -51,7 +50,6 @@ public BackupCreate(Builder builder) {
builder.excludeCollections,
new Config(
builder.cpuPercentage,
builder.chunkSize,
builder.compressionLevel,
builder.bucket,
builder.path));
Expand All @@ -61,7 +59,6 @@ public static class Builder implements ObjectBuilder<BackupCreate> {
private final String backupId;

private Integer cpuPercentage;
private Integer chunkSize;
private CompressionLevel compressionLevel;
private String bucket;
private String path;
Expand Down Expand Up @@ -104,16 +101,6 @@ public Builder cpuPercentage(int cpuPercentage) {
return this;
}

/**
* Set the desired chunk size. Defaults to 128MB.
*
* @param chunkSize Chunk size in MB (2MB to 512 MB).
*/
public Builder chunkSize(int chunkSize) {
this.chunkSize = chunkSize;
return this;
}

/** Adjust the parameters of the selected compression algorithm. */
public Builder compressionLevel(CompressionLevel compressionLevel) {
this.compressionLevel = compressionLevel;
Expand Down
Loading