Record Class ProvenanceDetails
java.lang.Object
java.lang.Record
ai.doctruth.ProvenanceDetails
- Record Components:
region- cloud / data-residency region the extraction was processed in.retainUntil- UTC timestamp after which this audit record may be destroyed.retries- number of retries before success;0means first attempt.
-
Constructor Summary
ConstructorsConstructorDescriptionProvenanceDetails(Optional<String> region, Optional<Instant> retainUntil, int retries) Creates an instance of aProvenanceDetailsrecord 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.region()Returns the value of theregionrecord component.Returns the value of theretainUntilrecord component.intretries()Returns the value of theretriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProvenanceDetails
Creates an instance of aProvenanceDetailsrecord class.- Parameters:
region- the value for theregionrecord componentretainUntil- the value for theretainUntilrecord componentretries- the value for theretriesrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
region
-
retainUntil
Returns the value of theretainUntilrecord component.- Returns:
- the value of the
retainUntilrecord component
-
retries
-