Record Class OperationalResilienceEvidence
java.lang.Object
java.lang.Record
org.j7m.middleware.evidence.OperationalResilienceEvidence
- Record Components:
rto- configured recovery time objectiverpo- configured recovery point objectivehaStatus- HA/HP status textdiscoveryStatus- discovery status textbackupRestoreHookStatus- backup/restore hook statusfailoverDrillResult- failover drill resultoverloadControls- overload control statusdependencyHealth- dependency health textrecoveryProcedureReference- recovery procedure referencelastResilienceTest- last resilience test timestampattributes- additional safe attributes
public record OperationalResilienceEvidence(Duration rto, Duration rpo, String haStatus, String discoveryStatus, String backupRestoreHookStatus, String failoverDrillResult, String overloadControls, String dependencyHealth, String recoveryProcedureReference, Instant lastResilienceTest, Map<String,String> attributes)
extends Record
Operational resilience evidence metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionOperationalResilienceEvidence(Duration rto, Duration rpo, String haStatus, String discoveryStatus, String backupRestoreHookStatus, String failoverDrillResult, String overloadControls, String dependencyHealth, String recoveryProcedureReference, Instant lastResilienceTest, Map<String, String> attributes) Creates immutable values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.Returns the value of thebackupRestoreHookStatusrecord component.Returns the value of thedependencyHealthrecord component.Returns the value of thediscoveryStatusrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailoverDrillResultrecord component.final inthashCode()Returns a hash code value for this object.haStatus()Returns the value of thehaStatusrecord component.Returns the value of thelastResilienceTestrecord component.Returns the value of theoverloadControlsrecord component.Returns the value of therecoveryProcedureReferencerecord component.rpo()Returns the value of therporecord component.rto()Returns the value of thertorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OperationalResilienceEvidence
public OperationalResilienceEvidence(Duration rto, Duration rpo, String haStatus, String discoveryStatus, String backupRestoreHookStatus, String failoverDrillResult, String overloadControls, String dependencyHealth, String recoveryProcedureReference, Instant lastResilienceTest, Map<String, String> attributes) Creates immutable values.
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
rto
-
rpo
-
haStatus
-
discoveryStatus
Returns the value of thediscoveryStatusrecord component.- Returns:
- the value of the
discoveryStatusrecord component
-
backupRestoreHookStatus
Returns the value of thebackupRestoreHookStatusrecord component.- Returns:
- the value of the
backupRestoreHookStatusrecord component
-
failoverDrillResult
Returns the value of thefailoverDrillResultrecord component.- Returns:
- the value of the
failoverDrillResultrecord component
-
overloadControls
Returns the value of theoverloadControlsrecord component.- Returns:
- the value of the
overloadControlsrecord component
-
dependencyHealth
Returns the value of thedependencyHealthrecord component.- Returns:
- the value of the
dependencyHealthrecord component
-
recoveryProcedureReference
Returns the value of therecoveryProcedureReferencerecord component.- Returns:
- the value of the
recoveryProcedureReferencerecord component
-
lastResilienceTest
Returns the value of thelastResilienceTestrecord component.- Returns:
- the value of the
lastResilienceTestrecord component
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-