Package io.camunda.client.protocol.rest
Class PartitionBackupState
java.lang.Object
io.camunda.client.protocol.rest.PartitionBackupState
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PartitionBackupState
extends Object
Detailed information about the backup state for a given partition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckpointId(Long checkpointId) checkpointPosition(Long checkpointPosition) checkpointTimestamp(String checkpointTimestamp) checkpointType(BackupType checkpointType) booleanfirstLogPosition(Long firstLogPosition) The id of the checkpoint this backup is based on.The log position of the checkpoint this backup is based on.The timestamp at which the checkpoint was created.The type of the backup.The first log position included in this backup.The id of the partition.inthashCode()partitionId(Integer partitionId) voidsetCheckpointId(Long checkpointId) voidsetCheckpointPosition(Long checkpointPosition) voidsetCheckpointTimestamp(String checkpointTimestamp) voidsetCheckpointType(BackupType checkpointType) voidsetFirstLogPosition(Long firstLogPosition) voidsetPartitionId(Integer partitionId) toString()
-
Field Details
-
JSON_PROPERTY_CHECKPOINT_ID
- See Also:
-
JSON_PROPERTY_CHECKPOINT_TYPE
- See Also:
-
JSON_PROPERTY_PARTITION_ID
- See Also:
-
JSON_PROPERTY_CHECKPOINT_POSITION
- See Also:
-
JSON_PROPERTY_FIRST_LOG_POSITION
- See Also:
-
JSON_PROPERTY_CHECKPOINT_TIMESTAMP
- See Also:
-
-
Constructor Details
-
PartitionBackupState
public PartitionBackupState()
-
-
Method Details
-
checkpointId
-
getCheckpointId
The id of the checkpoint this backup is based on. minimum: 0- Returns:
- checkpointId
-
setCheckpointId
-
checkpointType
-
getCheckpointType
The type of the backup.- Returns:
- checkpointType
-
setCheckpointType
-
partitionId
-
getPartitionId
The id of the partition. Omitted when nested inside a backup range's `start`/`end`, where the partition is already identified by the enclosing range. minimum: 1- Returns:
- partitionId
-
setPartitionId
-
checkpointPosition
-
getCheckpointPosition
The log position of the checkpoint this backup is based on.- Returns:
- checkpointPosition
-
setCheckpointPosition
-
firstLogPosition
-
getFirstLogPosition
The first log position included in this backup.- Returns:
- firstLogPosition
-
setFirstLogPosition
-
checkpointTimestamp
-
getCheckpointTimestamp
The timestamp at which the checkpoint was created.- Returns:
- checkpointTimestamp
-
setCheckpointTimestamp
-
equals
-
hashCode
public int hashCode() -
toString
-