Package app.ductape.sdk.vector.types
Record Class VectorConnectionTypes.VectorEnvConfig
java.lang.Object
java.lang.Record
app.ductape.sdk.vector.types.VectorConnectionTypes.VectorEnvConfig
- Enclosing class:
- VectorConnectionTypes
public static record VectorConnectionTypes.VectorEnvConfig(String slug, String endpoint, String apiKey, String region, String index, String namespace, Boolean active)
extends Record
TS
IVectorEnvConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive()Returns the value of theactiverecord component.apiKey()Returns the value of theapiKeyrecord component.endpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.index()Returns the value of theindexrecord component.Returns the value of thenamespacerecord component.region()Returns the value of theregionrecord component.slug()Returns the value of theslugrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VectorEnvConfig
public VectorEnvConfig(String slug, String endpoint, String apiKey, String region, String index, String namespace, Boolean active) Creates an instance of aVectorEnvConfigrecord class.- Parameters:
slug- the value for theslugrecord componentendpoint- the value for theendpointrecord componentapiKey- the value for theapiKeyrecord componentregion- the value for theregionrecord componentindex- the value for theindexrecord componentnamespace- the value for thenamespacerecord componentactive- the value for theactiverecord 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). -
slug
Returns the value of theslugrecord component.- Returns:
- the value of the
slugrecord component
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
apiKey
Returns the value of theapiKeyrecord component.- Returns:
- the value of the
apiKeyrecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
index
Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
active
Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-