Partager via


TableGetResultsInner Class

public final class TableGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB Table.

Constructor Summary

Constructor Description
TableGetResultsInner()

Creates an instance of TableGetResultsInner class.

Method Summary

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

Reads an instance of TableGetResultsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

TableGetPropertiesOptions options()

Get the options property: The options property.

TableGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

TableGetResultsInner withLocation(String location)
TableGetResultsInner withOptions(TableGetPropertiesOptions options)

Set the options property: The options property.

TableGetResultsInner withResource(TableGetPropertiesResource resource)

Set the resource property: The resource property.

TableGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

TableGetResultsInner

public TableGetResultsInner()

Creates an instance of TableGetResultsInner class.

Method Details

fromJson

public static TableGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of TableGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TableGetResultsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

TableGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

TableGetResultsInner.name()

Returns:

the name value.

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)

Overrides:

TableGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

TableGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

TableGetResultsInner.validate()

withLocation

public TableGetResultsInner withLocation(String location)

Overrides:

TableGetResultsInner.withLocation(String location)

Parameters:

location

withOptions

public TableGetResultsInner withOptions(TableGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the TableGetResultsInner object itself.

withResource

public TableGetResultsInner withResource(TableGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the TableGetResultsInner object itself.

withTags

public TableGetResultsInner withTags(Map tags)

Overrides:

TableGetResultsInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to