Record Class TextExtractionRequest.TextExtractionDataReference
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.watsonx.bean.TextExtractionRequest.TextExtractionDataReference
- Enclosing class:
TextExtractionRequest
public static record TextExtractionRequest.TextExtractionDataReference(String type, TextExtractionRequest.CosDataConnection connection, TextExtractionRequest.CosDataLocation location)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTextExtractionDataReference(String type, TextExtractionRequest.CosDataConnection connection, TextExtractionRequest.CosDataLocation location) Creates an instance of aTextExtractionDataReferencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
TextExtractionDataReference
public TextExtractionDataReference(String type, TextExtractionRequest.CosDataConnection connection, TextExtractionRequest.CosDataLocation location) Creates an instance of aTextExtractionDataReferencerecord class.- Parameters:
type- the value for thetyperecord componentconnection- the value for theconnectionrecord componentlocation- the value for thelocationrecord component
-
-
Method Details
-
of
public static TextExtractionRequest.TextExtractionDataReference of(String connectionId, String fileName) -
of
public static TextExtractionRequest.TextExtractionDataReference of(String connectionId, String fileName, String bucket) -
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
connection
Returns the value of theconnectionrecord component.- Returns:
- the value of the
connectionrecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-