TableGetProperties Class

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

Implements

public final class TableGetProperties
implements JsonSerializable<TableGetProperties>

The properties of an Azure Cosmos Table.

Constructor Summary

Constructor Description
TableGetProperties()

Creates an instance of TableGetProperties class.

Method Summary

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

Reads an instance of TableGetProperties from the JsonReader.

TableGetPropertiesOptions options()

Get the options property: The options property.

TableGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TableGetProperties withOptions(TableGetPropertiesOptions options)

Set the options property: The options property.

TableGetProperties withResource(TableGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

TableGetProperties

public TableGetProperties()

Creates an instance of TableGetProperties class.

Method Details

fromJson

public static TableGetProperties fromJson(JsonReader jsonReader)

Reads an instance of TableGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

options

public TableGetPropertiesOptions options()

Get the options property: The options property.

Returns:

the options value.

resource

public TableGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOptions

public TableGetProperties withOptions(TableGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the TableGetProperties object itself.

withResource

public TableGetProperties withResource(TableGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the TableGetProperties object itself.

Applies to