CassandraKeyspaceGetProperties Class

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

Implements

public final class CassandraKeyspaceGetProperties
implements JsonSerializable<CassandraKeyspaceGetProperties>

The properties of an Azure Cosmos DB Cassandra keyspace.

Constructor Summary

Constructor Description
CassandraKeyspaceGetProperties()

Creates an instance of CassandraKeyspaceGetProperties class.

Method Summary

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

Reads an instance of CassandraKeyspaceGetProperties from the JsonReader.

CassandraKeyspaceGetPropertiesOptions options()

Get the options property: The options property.

CassandraKeyspaceGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CassandraKeyspaceGetProperties withOptions(CassandraKeyspaceGetPropertiesOptions options)

Set the options property: The options property.

CassandraKeyspaceGetProperties withResource(CassandraKeyspaceGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

CassandraKeyspaceGetProperties

public CassandraKeyspaceGetProperties()

Creates an instance of CassandraKeyspaceGetProperties class.

Method Details

fromJson

public static CassandraKeyspaceGetProperties fromJson(JsonReader jsonReader)

Reads an instance of CassandraKeyspaceGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

options

public CassandraKeyspaceGetPropertiesOptions options()

Get the options property: The options property.

Returns:

the options value.

resource

public CassandraKeyspaceGetPropertiesResource 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 CassandraKeyspaceGetProperties withOptions(CassandraKeyspaceGetPropertiesOptions options)

Set the options property: The options property.

Parameters:

options - the options value to set.

Returns:

the CassandraKeyspaceGetProperties object itself.

withResource

public CassandraKeyspaceGetProperties withResource(CassandraKeyspaceGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the CassandraKeyspaceGetProperties object itself.

Applies to