Record Class EstateInventory.CoverageGap
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateInventory.CoverageGap
- Record Components:
resourceType- the resource type (ports,connections,metrics...)reason- a short machine-readable reason (FORBIDDEN,SERVER_ERROR,TRUNCATED,NOT_SCOPABLE,ERROR...)httpStatus- the HTTP status, when the reason was an HTTP errordetail- what was missed, in words
- Enclosing class:
EstateInventory
-
Constructor Summary
ConstructorsConstructorDescriptionCoverageGap(String resourceType, String reason, Integer httpStatus, String detail) Creates an instance of aCoverageGaprecord class. -
Method Summary
Modifier and TypeMethodDescriptiondetail()Returns the value of thedetailrecord 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 thehttpStatusrecord component.reason()Returns the value of thereasonrecord component.Returns the value of theresourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CoverageGap
Creates an instance of aCoverageGaprecord class.- Parameters:
resourceType- the value for theresourceTyperecord componentreason- the value for thereasonrecord componenthttpStatus- the value for thehttpStatusrecord componentdetail- the value for thedetailrecord component
-
-
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). -
resourceType
Returns the value of theresourceTyperecord component.- Returns:
- the value of the
resourceTyperecord component
-
reason
-
httpStatus
Returns the value of thehttpStatusrecord component.- Returns:
- the value of the
httpStatusrecord component
-
detail
-