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 Summary
ConstructorsConstructorDescriptionCreates an instance of AnalyticalStorageConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AnalyticalStorageConfiguration from the JsonReader.Get the schemaType property: Describes the types of schema for analytical storage.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withSchemaType
(AnalyticalStorageSchemaType schemaType) Set the schemaType property: Describes the types of schema for analytical storage.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AnalyticalStorageConfiguration
public AnalyticalStorageConfiguration()Creates an instance of AnalyticalStorageConfiguration class.
-
-
Method Details
-
schemaType
Get the schemaType property: Describes the types of schema for analytical storage.- Returns:
- the schemaType value.
-
withSchemaType
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
- Specified by:
toJson
in interfacecom.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.
-