Class AnalyticalStorageConfiguration

java.lang.Object
com.azure.resourcemanager.cosmos.models.AnalyticalStorageConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<AnalyticalStorageConfiguration>

public final class AnalyticalStorageConfiguration extends Object implements com.azure.json.JsonSerializable<AnalyticalStorageConfiguration>
Analytical storage specific properties.
  • Constructor Details

    • AnalyticalStorageConfiguration

      public AnalyticalStorageConfiguration()
      Creates an instance of AnalyticalStorageConfiguration class.
  • Method Details

    • schemaType

      public AnalyticalStorageSchemaType schemaType()
      Get the schemaType property: Describes the types of schema for analytical storage.
      Returns:
      the schemaType value.
    • withSchemaType

      public AnalyticalStorageConfiguration withSchemaType(AnalyticalStorageSchemaType schemaType)
      Set the schemaType property: Describes the types of schema for analytical storage.
      Parameters:
      schemaType - the schemaType value to set.
      Returns:
      the AnalyticalStorageConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AnalyticalStorageConfiguration>
      Throws:
      IOException
    • fromJson

      public static AnalyticalStorageConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AnalyticalStorageConfiguration from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AnalyticalStorageConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AnalyticalStorageConfiguration.