Package io.camunda.client.protocol.rest
Class BackupInfo
java.lang.Object
io.camunda.client.protocol.rest.BackupInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class BackupInfo
extends Object
Detailed status of a runtime backup. The aggregated state is computed from the backup state of each partition as: - If the backup of all partitions is 'COMPLETED', the overall state is 'COMPLETED'. - If one partition is 'FAILED', the overall state is 'FAILED'. - Otherwise, if one partition is 'DOES_NOT_EXIST', the overall state is 'INCOMPLETE'. - Otherwise, if one partition is 'IN_PROGRESS', the overall state is 'IN_PROGRESS'.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBackupInfo(Long backupId, StateCode state, List<PartitionBackupInfo> details) Constructor with only readonly parameters -
Method Summary
Modifier and TypeMethodDescriptionbooleanfailureReason(String failureReason) The id of the backup.Detailed status of the backup per partition.Reason for failure if the state is 'FAILED'.getState()The aggregated state of the backup.inthashCode()voidsetFailureReason(String failureReason) toString()
-
Field Details
-
JSON_PROPERTY_BACKUP_ID
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_FAILURE_REASON
- See Also:
-
JSON_PROPERTY_DETAILS
- See Also:
-
-
Constructor Details
-
BackupInfo
public BackupInfo() -
BackupInfo
Constructor with only readonly parameters
-
-
Method Details
-
getBackupId
The id of the backup. minimum: 1- Returns:
- backupId
-
getState
The aggregated state of the backup.- Returns:
- state
-
failureReason
-
getFailureReason
Reason for failure if the state is 'FAILED'.- Returns:
- failureReason
-
setFailureReason
-
getDetails
Detailed status of the backup per partition. Always contains every partition of the physical tenant.- Returns:
- details
-
equals
-
hashCode
public int hashCode() -
toString
-