RestorableTableProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.RestorableTableProperties

Implements

public final class RestorableTableProperties
implements JsonSerializable<RestorableTableProperties>

The properties of an Azure Cosmos DB Table event.

Constructor Summary

Constructor Description
RestorableTableProperties()

Creates an instance of RestorableTableProperties class.

Method Summary

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

Reads an instance of RestorableTableProperties from the JsonReader.

RestorableTablePropertiesResource resource()

Get the resource property: The resource of an Azure Cosmos DB Table event.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RestorableTableProperties withResource(RestorableTablePropertiesResource resource)

Set the resource property: The resource of an Azure Cosmos DB Table event.

Methods inherited from java.lang.Object

Constructor Details

RestorableTableProperties

public RestorableTableProperties()

Creates an instance of RestorableTableProperties class.

Method Details

fromJson

public static RestorableTableProperties fromJson(JsonReader jsonReader)

Reads an instance of RestorableTableProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RestorableTableProperties 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 RestorableTableProperties.

resource

public RestorableTablePropertiesResource resource()

Get the resource property: The resource of an Azure Cosmos DB Table event.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResource

public RestorableTableProperties withResource(RestorableTablePropertiesResource resource)

Set the resource property: The resource of an Azure Cosmos DB Table event.

Parameters:

resource - the resource value to set.

Returns:

the RestorableTableProperties object itself.

Applies to