CassandraTableGetProperties Class

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

Implements

public final class CassandraTableGetProperties
implements JsonSerializable<CassandraTableGetProperties>

The properties of an Azure Cosmos DB Cassandra table.

Constructor Summary

Constructor Description
CassandraTableGetProperties()

Creates an instance of CassandraTableGetProperties class.

Method Summary

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

Reads an instance of CassandraTableGetProperties from the JsonReader.

CassandraTableGetPropertiesOptions options()

Get the options property: The options property.

CassandraTableGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CassandraTableGetProperties withOptions(CassandraTableGetPropertiesOptions options)

Set the options property: The options property.

CassandraTableGetProperties withResource(CassandraTableGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

CassandraTableGetProperties

public CassandraTableGetProperties()

Creates an instance of CassandraTableGetProperties class.

Method Details

fromJson

public static CassandraTableGetProperties fromJson(JsonReader jsonReader)

Reads an instance of CassandraTableGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOptions

public CassandraTableGetProperties withOptions(CassandraTableGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the CassandraTableGetProperties object itself.

withResource

public CassandraTableGetProperties withResource(CassandraTableGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the CassandraTableGetProperties object itself.

Applies to