Class BackupInfo
java.lang.Object
io.camunda.zeebe.shared.management.openapi.models.BackupInfo
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-09-07T18:46:53.397675297Z[GMT]")
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
ConstructorsConstructorDescriptionBackupInfo(Long backupId, StateCode state, List<@Valid PartitionBackupInfo> details) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddDetailsItem(PartitionBackupInfo detailsItem) details(List<@Valid PartitionBackupInfo> details) booleanfailureReason(String failureReason) @Min(0L) LongThe ID of the backup.@Valid List<@Valid 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<@Valid PartitionBackupInfo> details) voidsetFailureReason(String failureReason) voidtoString()
-
Constructor Details
-
BackupInfo
public BackupInfo()
-
-
Method Details
-
backupId
-
getBackupId
The ID of the backup. The ID of the backup must be a positive numerical value. As backups are logically ordered by their IDs (ascending), each successive backup must use a higher ID than the previous one. minimum: 0- 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
-