你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AnalyticalStorageConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.AnalyticalStorageConfiguration

Implements

public final class AnalyticalStorageConfiguration
implements JsonSerializable<AnalyticalStorageConfiguration>

Analytical storage specific properties.

Constructor Summary

Constructor Description
AnalyticalStorageConfiguration()

Creates an instance of AnalyticalStorageConfiguration class.

Method Summary

Modifier and Type Method and Description
static AnalyticalStorageConfiguration fromJson(JsonReader jsonReader)

Reads an instance of AnalyticalStorageConfiguration from the JsonReader.

AnalyticalStorageSchemaType schemaType()

Get the schemaType property: Describes the types of schema for analytical storage.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AnalyticalStorageConfiguration withSchemaType(AnalyticalStorageSchemaType schemaType)

Set the schemaType property: Describes the types of schema for analytical storage.

Methods inherited from java.lang.Object

Constructor Details

AnalyticalStorageConfiguration

public AnalyticalStorageConfiguration()

Creates an instance of AnalyticalStorageConfiguration class.

Method Details

fromJson

public static AnalyticalStorageConfiguration fromJson(JsonReader jsonReader)

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.

schemaType

public AnalyticalStorageSchemaType schemaType()

Get the schemaType property: Describes the types of schema for analytical storage.

Returns:

the schemaType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

Applies to