Record Class ResilienceFindings.CorrelatedRisk
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.resilience.ResilienceFindings.CorrelatedRisk
- Record Components:
elements- the redundant elements (node or edge ids)- what they share (for examplemetro DC,Equinix region AMER,cloud region AWS us-east-1)severity- how seriousscenarioId- the scenario that takes them together, when one was simulated; may benulldescription- the risk in words
- Enclosing class:
ResilienceFindings
-
Constructor Summary
ConstructorsConstructorDescriptionCorrelatedRisk(List<String> elements, String sharedDomain, ResilienceFindings.Severity severity, String scenarioId, String description) Makes the list immutable. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.elements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thescenarioIdrecord component.severity()Returns the value of theseverityrecord component.Returns the value of thesharedDomainrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CorrelatedRisk
-
-
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). -
elements
-
severity
-
scenarioId
Returns the value of thescenarioIdrecord component.- Returns:
- the value of the
scenarioIdrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-