Package com.vmware.nsx_policy.model
Class BackupOperationHistory.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BackupOperationHistory.Builder
-
- Enclosing class:
- BackupOperationHistory
public static final class BackupOperationHistory.Builder extends java.lang.Object
Builder class forBackupOperationHistory
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBackupOperationHistory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupOperationHistory
build()
BackupOperationHistory.Builder
setClusterBackupStatuses(java.util.List<BackupOperationStatus> clusterBackupStatuses)
Statuses of previous cluster backupsBackupOperationHistory.Builder
setInventoryBackupStatuses(java.util.List<BackupOperationStatus> inventoryBackupStatuses)
Statuses of previous inventory backupsBackupOperationHistory.Builder
setNodeBackupStatuses(java.util.List<BackupOperationStatus> nodeBackupStatuses)
Statuses of previous node backupsBackupOperationHistory.Builder
setOverallBackupStatus(java.lang.String overallBackupStatus)
Possible values are:BackupOperationHistory.OVERALL_BACKUP_STATUS_NOT_AVAILABLE
BackupOperationHistory.OVERALL_BACKUP_STATUS_IN_PROGRESS
BackupOperationHistory.OVERALL_BACKUP_STATUS_SUCCESS
BackupOperationHistory.OVERALL_BACKUP_STATUS_FAILED
This attribute is used to indicate the overall backup status
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBackupOperationHistory
.
-
-
Method Detail
-
setClusterBackupStatuses
public BackupOperationHistory.Builder setClusterBackupStatuses(java.util.List<BackupOperationStatus> clusterBackupStatuses)
Statuses of previous cluster backups- Parameters:
clusterBackupStatuses
- New value for the property.
-
setInventoryBackupStatuses
public BackupOperationHistory.Builder setInventoryBackupStatuses(java.util.List<BackupOperationStatus> inventoryBackupStatuses)
Statuses of previous inventory backups- Parameters:
inventoryBackupStatuses
- New value for the property.
-
setNodeBackupStatuses
public BackupOperationHistory.Builder setNodeBackupStatuses(java.util.List<BackupOperationStatus> nodeBackupStatuses)
Statuses of previous node backups- Parameters:
nodeBackupStatuses
- New value for the property.
-
setOverallBackupStatus
public BackupOperationHistory.Builder setOverallBackupStatus(java.lang.String overallBackupStatus)
Possible values are: This attribute is used to indicate the overall backup status- Parameters:
overallBackupStatus
- New value for the property.
-
build
public BackupOperationHistory build()
-
-