Record Class BackupRepositoryPropsRecord
java.lang.Object
java.lang.Record
io.camunda.webapps.backup.repository.BackupRepositoryPropsRecord
- All Implemented Interfaces:
BackupRepositoryProps
public record BackupRepositoryPropsRecord(String version, String repositoryName, int snapshotTimeout, Long incompleteCheckTimeoutInSeconds)
extends Record
implements BackupRepositoryProps
-
Field Summary
Fields inherited from interface io.camunda.webapps.backup.repository.BackupRepositoryProps
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionBackupRepositoryPropsRecord(String version, String repositoryName) BackupRepositoryPropsRecord(String version, String repositoryName, int snapshotTimeout, Long incompleteCheckTimeoutInSeconds) Creates an instance of aBackupRepositoryPropsRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theincompleteCheckTimeoutInSecondsrecord component.Returns the value of therepositoryNamerecord component.intReturns the value of thesnapshotTimeoutrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.webapps.backup.repository.BackupRepositoryProps
includeGlobalState
-
Constructor Details
-
BackupRepositoryPropsRecord
-
BackupRepositoryPropsRecord
public BackupRepositoryPropsRecord(String version, String repositoryName, int snapshotTimeout, Long incompleteCheckTimeoutInSeconds) Creates an instance of aBackupRepositoryPropsRecordrecord class.- Parameters:
version- the value for theversionrecord componentrepositoryName- the value for therepositoryNamerecord componentsnapshotTimeout- the value for thesnapshotTimeoutrecord componentincompleteCheckTimeoutInSeconds- the value for theincompleteCheckTimeoutInSecondsrecord 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 '=='. -
version
Returns the value of theversionrecord component.- Specified by:
versionin interfaceBackupRepositoryProps- Returns:
- the value of the
versionrecord component
-
repositoryName
Returns the value of therepositoryNamerecord component.- Specified by:
repositoryNamein interfaceBackupRepositoryProps- Returns:
- the value of the
repositoryNamerecord component
-
snapshotTimeout
public int snapshotTimeout()Returns the value of thesnapshotTimeoutrecord component.- Specified by:
snapshotTimeoutin interfaceBackupRepositoryProps- Returns:
- the value of the
snapshotTimeoutrecord component
-
incompleteCheckTimeoutInSeconds
Returns the value of theincompleteCheckTimeoutInSecondsrecord component.- Specified by:
incompleteCheckTimeoutInSecondsin interfaceBackupRepositoryProps- Returns:
- the value of the
incompleteCheckTimeoutInSecondsrecord component
-