CassandraTableGetResultsInner Class

public final class CassandraTableGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB Cassandra table.

Constructor Summary

Constructor Description
CassandraTableGetResultsInner()

Creates an instance of CassandraTableGetResultsInner class.

Method Summary

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

Reads an instance of CassandraTableGetResultsInner 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.

CassandraTableGetPropertiesOptions options()

Get the options property: The options property.

CassandraTableGetPropertiesResource 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.

CassandraTableGetResultsInner withLocation(String location)
CassandraTableGetResultsInner withOptions(CassandraTableGetPropertiesOptions options)

Set the options property: The options property.

CassandraTableGetResultsInner withResource(CassandraTableGetPropertiesResource resource)

Set the resource property: The resource property.

CassandraTableGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

CassandraTableGetResultsInner

public CassandraTableGetResultsInner()

Creates an instance of CassandraTableGetResultsInner class.

Method Details

fromJson

public static CassandraTableGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of CassandraTableGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CassandraTableGetResultsInner 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:

CassandraTableGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CassandraTableGetResultsInner.name()

Returns:

the name value.

options

public CassandraTableGetPropertiesOptions options()

Get the options property: The options property.

Returns:

the options value.

resource

public CassandraTableGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CassandraTableGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CassandraTableGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

CassandraTableGetResultsInner.validate()

withLocation

public CassandraTableGetResultsInner withLocation(String location)

Overrides:

CassandraTableGetResultsInner.withLocation(String location)

Parameters:

location

withOptions

public CassandraTableGetResultsInner withOptions(CassandraTableGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the CassandraTableGetResultsInner object itself.

withResource

public CassandraTableGetResultsInner withResource(CassandraTableGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the CassandraTableGetResultsInner object itself.

withTags

public CassandraTableGetResultsInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to