Package io.camunda.client.protocol.rest
Class PartitionBackupInfo
java.lang.Object
io.camunda.client.protocol.rest.PartitionBackupInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PartitionBackupInfo
extends Object
Detailed info of the backup for a given partition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfailureReason(String failureReason) The 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.The timestamp at which the backup was started on this partition.Failure reason if the state is 'FAILED'.The first log position included in this backup.The timestamp at which the backup was last updated on this partition, e.g. changed state from 'IN_PROGRESS' to 'COMPLETED'.The id of the partition.The id of the snapshot which is included in this backup.getState()The state of the backup on this partition.inthashCode()voidsetFailureReason(String failureReason) toString()
-
Field Details
-
JSON_PROPERTY_PARTITION_ID
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_FAILURE_REASON
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_LAST_UPDATED_AT
- See Also:
-
JSON_PROPERTY_SNAPSHOT_ID
- See Also:
-
JSON_PROPERTY_FIRST_LOG_POSITION
- See Also:
-
JSON_PROPERTY_CHECKPOINT_POSITION
- See Also:
-
JSON_PROPERTY_BROKER_ID
- See Also:
-
JSON_PROPERTY_BROKER_VERSION
- See Also:
-
-
Constructor Details
-
PartitionBackupInfo
public PartitionBackupInfo() -
PartitionBackupInfo
public PartitionBackupInfo(Integer partitionId, StateCode state, String createdAt, String lastUpdatedAt, String snapshotId, Long firstLogPosition, Long checkpointPosition, Integer brokerId, String brokerVersion) Constructor with only readonly parameters
-
-
Method Details
-
getPartitionId
The id of the partition. minimum: 1- Returns:
- partitionId
-
getState
The state of the backup on this partition.- Returns:
- state
-
failureReason
-
getFailureReason
Failure reason if the state is 'FAILED'.- Returns:
- failureReason
-
setFailureReason
-
getCreatedAt
The timestamp at which the backup was started on this partition.- Returns:
- createdAt
-
getLastUpdatedAt
The timestamp at which the backup was last updated on this partition, e.g. changed state from 'IN_PROGRESS' to 'COMPLETED'.- Returns:
- lastUpdatedAt
-
getSnapshotId
The id of the snapshot which is included in this backup.- Returns:
- snapshotId
-
getFirstLogPosition
The first log position included in this backup.- Returns:
- firstLogPosition
-
getCheckpointPosition
The position of the checkpoint for this backup.- Returns:
- checkpointPosition
-
getBrokerId
The id of the broker from which the backup was taken for this partition. minimum: 0- Returns:
- brokerId
-
getBrokerVersion
The version of the broker from which the backup was taken for this partition.- Returns:
- brokerVersion
-
equals
-
hashCode
public int hashCode() -
toString
-