Record Class BackupListResponse.BackupStatus
java.lang.Object
java.lang.Record
io.camunda.zeebe.protocol.impl.encoding.BackupListResponse.BackupStatus
- Enclosing class:
BackupListResponse
public static record BackupListResponse.BackupStatus(long backupId, int partitionId, BackupStatusCode status, String failureReason, String brokerVersion, String createdAt)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBackupStatus(long backupId, int partitionId, BackupStatusCode status, String failureReason, String brokerVersion, String createdAt) Creates an instance of aBackupStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongbackupId()Returns the value of thebackupIdrecord component.Returns the value of thebrokerVersionrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureReasonrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thepartitionIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BackupStatus
public BackupStatus(long backupId, int partitionId, BackupStatusCode status, String failureReason, String brokerVersion, String createdAt) Creates an instance of aBackupStatusrecord class.- Parameters:
backupId- the value for thebackupIdrecord componentpartitionId- the value for thepartitionIdrecord componentstatus- the value for thestatusrecord componentfailureReason- the value for thefailureReasonrecord componentbrokerVersion- the value for thebrokerVersionrecord componentcreatedAt- the value for thecreatedAtrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
backupId
public long backupId()Returns the value of thebackupIdrecord component.- Returns:
- the value of the
backupIdrecord component
-
partitionId
public int partitionId()Returns the value of thepartitionIdrecord component.- Returns:
- the value of the
partitionIdrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
failureReason
Returns the value of thefailureReasonrecord component.- Returns:
- the value of the
failureReasonrecord component
-
brokerVersion
Returns the value of thebrokerVersionrecord component.- Returns:
- the value of the
brokerVersionrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-