Class CassandraTableCreateUpdateProperties


  • public final class CassandraTableCreateUpdateProperties
    extends Object
    Properties to create and update Azure Cosmos DB Cassandra table.
    • Constructor Detail

      • CassandraTableCreateUpdateProperties

        public CassandraTableCreateUpdateProperties()
    • 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.