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 Details

  • Constructor Details

  • Method Details

    • getBackupId

      @Nonnull public Long getBackupId()
      The id of the backup. minimum: 1
      Returns:
      backupId
    • getState

      @Nonnull public StateCode getState()
      The aggregated state of the backup.
      Returns:
      state
    • failureReason

      public BackupInfo failureReason(@Nullable String failureReason)
    • getFailureReason

      @Nullable public String getFailureReason()
      Reason for failure if the state is 'FAILED'.
      Returns:
      failureReason
    • setFailureReason

      public void setFailureReason(@Nullable String failureReason)
    • getDetails

      @Nonnull public List<PartitionBackupInfo> getDetails()
      Detailed status of the backup per partition. Always contains every partition of the physical tenant.
      Returns:
      details
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object