Package com.vmware.nsx_policy.model
Class BackupConfiguration.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BackupConfiguration.Builder
-
- Enclosing class:
- BackupConfiguration
public static final class BackupConfiguration.Builder extends java.lang.Object
Builder class forBackupConfiguration
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBackupConfiguration
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupConfiguration
build()
BackupConfiguration.Builder
setAfterInventoryUpdateInterval(java.lang.Long afterInventoryUpdateInterval)
A number of seconds after a last backup, that needs to pass, before a topology change will trigger a generation of a new cluster/node backups.BackupConfiguration.Builder
setBackupEnabled(java.lang.Boolean backupEnabled)
true if automated backup is enabledBackupConfiguration.Builder
setBackupSchedule(com.vmware.vapi.bindings.Structure backupSchedule)
BackupConfiguration.Builder
setInventorySummaryInterval(java.lang.Long inventorySummaryInterval)
The minimum number of seconds between each upload of the inventory summary to backup server.BackupConfiguration.Builder
setPassphrase(java.lang.String passphrase)
Passphrase used to encrypt backup files.BackupConfiguration.Builder
setRemoteFileServer(RemoteFileServer remoteFileServer)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBackupConfiguration
.
-
-
Method Detail
-
setAfterInventoryUpdateInterval
public BackupConfiguration.Builder setAfterInventoryUpdateInterval(java.lang.Long afterInventoryUpdateInterval)
A number of seconds after a last backup, that needs to pass, before a topology change will trigger a generation of a new cluster/node backups. If parameter is not provided, then changes in a topology will not trigger a generation of cluster/node backups. format: int64- Parameters:
afterInventoryUpdateInterval
- New value for the property.
-
setBackupEnabled
public BackupConfiguration.Builder setBackupEnabled(java.lang.Boolean backupEnabled)
true if automated backup is enabled- Parameters:
backupEnabled
- New value for the property.
-
setBackupSchedule
public BackupConfiguration.Builder setBackupSchedule(com.vmware.vapi.bindings.Structure backupSchedule)
- Parameters:
backupSchedule
- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inBackupSchedule
. When methods return a value of this class as a return value, the property will contain all the properties defined inBackupSchedule
.
-
setInventorySummaryInterval
public BackupConfiguration.Builder setInventorySummaryInterval(java.lang.Long inventorySummaryInterval)
The minimum number of seconds between each upload of the inventory summary to backup server. format: int64- Parameters:
inventorySummaryInterval
- New value for the property.
-
setPassphrase
public BackupConfiguration.Builder setPassphrase(java.lang.String passphrase)
Passphrase used to encrypt backup files. The passphrase specified must be at least 8 characters in length and must contain at least one lowercase, one uppercase, one numeric character and one special character (any other non-space character).- Parameters:
passphrase
- New value for the property.
-
setRemoteFileServer
public BackupConfiguration.Builder setRemoteFileServer(RemoteFileServer remoteFileServer)
- Parameters:
remoteFileServer
- New value for the property.
-
build
public BackupConfiguration build()
-
-