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 Details

    • BackupInfo

      public BackupInfo()
  • Method Details

    • backupId

      public BackupInfo backupId(Long backupId)
    • getBackupId

      public Long getBackupId()
      Get backupId
      Returns:
      backupId
    • setBackupId

      public void setBackupId(Long backupId)
    • state

      public BackupInfo state(StateCode state)
    • getState

      @Valid public @Valid StateCode getState()
      Get state
      Returns:
      state
    • setState

      public void setState(StateCode state)
    • failureReason

      public BackupInfo failureReason(String failureReason)
    • getFailureReason

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

      public void setFailureReason(String failureReason)
    • details

      public BackupInfo details(List<PartitionBackupInfo> details)
    • addDetailsItem

      public BackupInfo addDetailsItem(PartitionBackupInfo detailsItem)
    • getDetails

      @Valid public @Valid List<PartitionBackupInfo> getDetails()
      Detailed list of the status of the backup per partition. It should always contain all partitions known to the cluster.
      Returns:
      details
    • setDetails

      public void setDetails(List<PartitionBackupInfo> 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