Record Class OdysseyFlowRecords.ValidationResult
java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.OdysseyFlowRecords.ValidationResult
- Enclosing class:
OdysseyFlowRecords
public static record OdysseyFlowRecords.ValidationResult(OdysseyFlowRecords.ClassifyResult classified, Set<String> passedValidation, Map<String, OdysseyResult> validationFailures)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionValidationResult(OdysseyFlowRecords.ClassifyResult classified, Set<String> passedValidation, Map<String, OdysseyResult> validationFailures) Creates an instance of aValidationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassifiedrecord 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 thepassedValidationrecord component.request()io.confluent.kafka.schemaregistry.client.SchemaRegistryClientsrClient()final StringtoString()Returns a string representation of this record class.Returns the value of thevalidationFailuresrecord component.
-
Constructor Details
-
ValidationResult
public ValidationResult(OdysseyFlowRecords.ClassifyResult classified, Set<String> passedValidation, Map<String, OdysseyResult> validationFailures) Creates an instance of aValidationResultrecord class.- Parameters:
classified- the value for theclassifiedrecord componentpassedValidation- the value for thepassedValidationrecord componentvalidationFailures- the value for thevalidationFailuresrecord component
-
-
Method Details
-
request
-
classification
-
namespace
-
srClient
public io.confluent.kafka.schemaregistry.client.SchemaRegistryClient srClient() -
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). -
classified
Returns the value of theclassifiedrecord component.- Returns:
- the value of the
classifiedrecord component
-
passedValidation
-
validationFailures
Returns the value of thevalidationFailuresrecord component.- Returns:
- the value of the
validationFailuresrecord component
-