Class PartitionBackupInfo
java.lang.Object
io.camunda.zeebe.shared.management.openapi.models.PartitionBackupInfo
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-04-05T07:58:08.291865267Z[Etc/UTC]")
public class PartitionBackupInfo
extends Object
Detailed info of the backup for a given partition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrokerVersion(String brokerVersion) checkpointPosition(Long checkpointPosition) createdAt(OffsetDateTime createdAt) booleanfailureReason(String failureReason) @Min(0L) IntegerThe ID of the broker from which the backup was taken for this partition.The version of the broker from which the backup was taken for this partition.The position of the checkpoint for this backup.@Valid OffsetDateTimeThe timestamp at which the backup was started on this partition.Failure reason if stats is 'FAILED'@Valid OffsetDateTimeThe timestamp at which the backup was last updated on this partition, e.g.Get partitionIdThe ID of the snapshot which is included in this backup.@Valid StateCodegetState()Get stateinthashCode()lastUpdatedAt(OffsetDateTime lastUpdatedAt) partitionId(Integer partitionId) voidsetBrokerId(Integer brokerId) voidsetBrokerVersion(String brokerVersion) voidsetCheckpointPosition(Long checkpointPosition) voidsetCreatedAt(OffsetDateTime createdAt) voidsetFailureReason(String failureReason) voidsetLastUpdatedAt(OffsetDateTime lastUpdatedAt) voidsetPartitionId(Integer partitionId) voidsetSnapshotId(String snapshotId) voidsnapshotId(String snapshotId) toString()
-
Constructor Details
-
PartitionBackupInfo
public PartitionBackupInfo()
-
-
Method Details
-
partitionId
-
getPartitionId
Get partitionId- Returns:
- partitionId
-
setPartitionId
-
getState
Get state- Returns:
- state
-
failureReason
-
getFailureReason
Failure reason if stats is 'FAILED'- Returns:
- failureReason
-
setFailureReason
-
createdAt
-
getCreatedAt
The timestamp at which the backup was started on this partition.- Returns:
- createdAt
-
setCreatedAt
-
lastUpdatedAt
-
getLastUpdatedAt
The timestamp at which the backup was last updated on this partition, e.g. changed state from IN_PROGRESS to COMPLETED.- Returns:
- lastUpdatedAt
-
setLastUpdatedAt
-
snapshotId
-
getSnapshotId
The ID of the snapshot which is included in this backup.- Returns:
- snapshotId
-
setSnapshotId
-
checkpointPosition
-
getCheckpointPosition
The position of the checkpoint for this backup.- Returns:
- checkpointPosition
-
setCheckpointPosition
-
brokerId
-
getBrokerId
The ID of the broker from which the backup was taken for this partition. minimum: 0- Returns:
- brokerId
-
setBrokerId
-
brokerVersion
-
getBrokerVersion
The version of the broker from which the backup was taken for this partition.- Returns:
- brokerVersion
-
setBrokerVersion
-
equals
-
hashCode
public int hashCode() -
toString
-