Package app.ductape.sdk.vector.types
Record Class VectorConnectionTypes.VectorConnectionOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.vector.types.VectorConnectionTypes.VectorConnectionOptions
- Enclosing class:
- VectorConnectionTypes
public static record VectorConnectionTypes.VectorConnectionOptions(Integer timeout, Boolean ssl, Integer retries, Integer retryDelay, Map<String,String> headers)
extends Record
TS
IVectorConnectionOptions-
Constructor Summary
Constructors -
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.headers()Returns the value of theheadersrecord component.retries()Returns the value of theretriesrecord component.Returns the value of theretryDelayrecord component.ssl()Returns the value of thesslrecord component.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VectorConnectionOptions
public VectorConnectionOptions(Integer timeout, Boolean ssl, Integer retries, Integer retryDelay, Map<String, String> headers) Creates an instance of aVectorConnectionOptionsrecord class.- Parameters:
timeout- the value for thetimeoutrecord componentssl- the value for thesslrecord componentretries- the value for theretriesrecord componentretryDelay- the value for theretryDelayrecord componentheaders- the value for theheadersrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
ssl
Returns the value of thesslrecord component.- Returns:
- the value of the
sslrecord component
-
retries
Returns the value of theretriesrecord component.- Returns:
- the value of the
retriesrecord component
-
retryDelay
Returns the value of theretryDelayrecord component.- Returns:
- the value of the
retryDelayrecord component
-
headers
Returns the value of theheadersrecord component.- Returns:
- the value of the
headersrecord component
-