public static class BackupPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackupPolicy |
build() |
BackupPolicy.Builder |
copy(BackupPolicy model) |
BackupPolicy.Builder |
frequencyInHours(Integer frequencyInHours)
Specifies how often backup should be performed
|
BackupPolicy.Builder |
isEnabled(Boolean isEnabled)
Specifies if automatic backups are enabled.
|
BackupPolicy.Builder |
retentionInDays(Integer retentionInDays)
Specifies how long backup copy should remain on Storage in days
|
public BackupPolicy.Builder isEnabled(Boolean isEnabled)
Specifies if automatic backups are enabled.
isEnabled
- the value to setpublic BackupPolicy.Builder retentionInDays(Integer retentionInDays)
Specifies how long backup copy should remain on Storage in days
retentionInDays
- the value to setpublic BackupPolicy.Builder frequencyInHours(Integer frequencyInHours)
Specifies how often backup should be performed
frequencyInHours
- the value to setpublic BackupPolicy build()
public BackupPolicy.Builder copy(BackupPolicy model)
Copyright © 2016–2025. All rights reserved.