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 Details

  • Constructor Details

    • PartitionBackupState

      public PartitionBackupState()
  • Method Details

    • checkpointId

      public PartitionBackupState checkpointId(@Nonnull Long checkpointId)
    • getCheckpointId

      @Nonnull public Long getCheckpointId()
      The id of the checkpoint this backup is based on. minimum: 0
      Returns:
      checkpointId
    • setCheckpointId

      public void setCheckpointId(@Nonnull Long checkpointId)
    • checkpointType

      public PartitionBackupState checkpointType(@Nonnull BackupType checkpointType)
    • getCheckpointType

      @Nonnull public BackupType getCheckpointType()
      The type of the backup.
      Returns:
      checkpointType
    • setCheckpointType

      public void setCheckpointType(@Nonnull BackupType checkpointType)
    • partitionId

      public PartitionBackupState partitionId(@Nullable Integer partitionId)
    • getPartitionId

      @Nullable public Integer 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

      public void setPartitionId(@Nullable Integer partitionId)
    • checkpointPosition

      public PartitionBackupState checkpointPosition(@Nonnull Long checkpointPosition)
    • getCheckpointPosition

      @Nonnull public Long getCheckpointPosition()
      The log position of the checkpoint this backup is based on.
      Returns:
      checkpointPosition
    • setCheckpointPosition

      public void setCheckpointPosition(@Nonnull Long checkpointPosition)
    • firstLogPosition

      public PartitionBackupState firstLogPosition(@Nonnull Long firstLogPosition)
    • getFirstLogPosition

      @Nonnull public Long getFirstLogPosition()
      The first log position included in this backup.
      Returns:
      firstLogPosition
    • setFirstLogPosition

      public void setFirstLogPosition(@Nonnull Long firstLogPosition)
    • checkpointTimestamp

      public PartitionBackupState checkpointTimestamp(@Nonnull String checkpointTimestamp)
    • getCheckpointTimestamp

      @Nonnull public String getCheckpointTimestamp()
      The timestamp at which the checkpoint was created.
      Returns:
      checkpointTimestamp
    • setCheckpointTimestamp

      public void setCheckpointTimestamp(@Nonnull String checkpointTimestamp)
    • 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