Class BackupInfo
java.lang.Object
io.camunda.zeebe.shared.management.openapi.models.BackupInfo
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-04-11T12:04:52.073995864Z[Etc/UTC]")
public class BackupInfo
extends Object
Detailed status of a backup. The aggregated state is computed from the backup state of each partition as: - If the backup of all partitions is in state 'COMPLETED', then the overall state is 'COMPLETED'. - If one is 'FAILED', then the overall state is 'FAILED'. - Otherwise, if one is 'DOES_NOT_EXIST', then the overall state is 'INCOMPLETE'. - Otherwise, if one is 'IN_PROGRESS', then the overall state is 'IN_PROGRESS'.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDetailsItem(PartitionBackupInfo detailsItem) details(List<PartitionBackupInfo> details) booleanfailureReason(String failureReason) Get backupId@Valid List<PartitionBackupInfo>Detailed list of the status of the backup per partition.Reason for failure if the state is 'FAILED'@Valid StateCodegetState()Get stateinthashCode()voidsetBackupId(Long backupId) voidsetDetails(List<PartitionBackupInfo> details) voidsetFailureReason(String failureReason) voidtoString()
-
Constructor Details
-
BackupInfo
public BackupInfo()
-
-
Method Details
-
backupId
-
getBackupId
Get backupId- Returns:
- backupId
-
setBackupId
-
getState
Get state- Returns:
- state
-
failureReason
-
getFailureReason
Reason for failure if the state is 'FAILED'- Returns:
- failureReason
-
setFailureReason
-
details
-
getDetails
Detailed list of the status of the backup per partition. It should always contain all partitions known to the cluster.- Returns:
- details
-
setDetails
-
equals
-
hashCode
public int hashCode() -
toString
-