Class CassandraTableCreateUpdateProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.CassandraTableCreateUpdateProperties
-
public final class CassandraTableCreateUpdateProperties extends Object
Properties to create and update Azure Cosmos DB Cassandra table.
-
-
Constructor Summary
Constructors Constructor Description CassandraTableCreateUpdateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateUpdateOptionsoptions()Get the options property: A key-value pair of options to be applied for the request.CassandraTableResourceresource()Get the resource property: The standard JSON format of a Cassandra table.voidvalidate()Validates the instance.CassandraTableCreateUpdatePropertieswithOptions(CreateUpdateOptions options)Set the options property: A key-value pair of options to be applied for the request.CassandraTableCreateUpdatePropertieswithResource(CassandraTableResource resource)Set the resource property: The standard JSON format of a Cassandra table.
-
-
-
Method Detail
-
resource
public CassandraTableResource resource()
Get the resource property: The standard JSON format of a Cassandra table.- Returns:
- the resource value.
-
withResource
public CassandraTableCreateUpdateProperties withResource(CassandraTableResource resource)
Set the resource property: The standard JSON format of a Cassandra table.- Parameters:
resource- the resource value to set.- Returns:
- the CassandraTableCreateUpdateProperties object itself.
-
options
public CreateUpdateOptions options()
Get the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.- Returns:
- the options value.
-
withOptions
public CassandraTableCreateUpdateProperties withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.- Parameters:
options- the options value to set.- Returns:
- the CassandraTableCreateUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-