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 Details

    • VectorStoreConfigurations

      public VectorStoreConfigurations(String storeName, VectorStoreConfiguration storeConfiguration)
      Creates an instance of VectorStoreConfigurations class.
      Parameters:
      storeName - the storeName value to set.
      storeConfiguration - the storeConfiguration value to set.
  • Method Details

    • getStoreName

      public String getStoreName()
      Get the storeName property: Name.
      Returns:
      the storeName value.
    • getStoreConfiguration

      public VectorStoreConfiguration getStoreConfiguration()
      Get the storeConfiguration property: Configurations.
      Returns:
      the storeConfiguration value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.