Class VectorStoreConfigurations
java.lang.Object
com.azure.ai.agents.persistent.models.VectorStoreConfigurations
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VectorStoreConfigurations>
public final class VectorStoreConfigurations
extends Object
implements com.azure.json.JsonSerializable<VectorStoreConfigurations>
The structure, containing the list of vector storage configurations i.e. the list of azure asset IDs.
-
Constructor Summary
ConstructorsConstructorDescriptionVectorStoreConfigurations(String storeName, VectorStoreConfiguration storeConfiguration) Creates an instance of VectorStoreConfigurations class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorStoreConfigurationsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VectorStoreConfigurations from the JsonReader.Get the storeConfiguration property: Configurations.Get the storeName property: Name.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VectorStoreConfigurations
Creates an instance of VectorStoreConfigurations class.- Parameters:
storeName- the storeName value to set.storeConfiguration- the storeConfiguration value to set.
-
-
Method Details
-
getStoreName
Get the storeName property: Name.- Returns:
- the storeName value.
-
getStoreConfiguration
Get the storeConfiguration property: Configurations.- Returns:
- the storeConfiguration value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VectorStoreConfigurations>- Throws:
IOException
-
fromJson
public static VectorStoreConfigurations fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VectorStoreConfigurations from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VectorStoreConfigurations if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the VectorStoreConfigurations.
-