Class SqlContainerGetPropertiesResource


  • public final class SqlContainerGetPropertiesResource
    extends SqlContainerResource
    The SqlContainerGetPropertiesResource model.
    • Constructor Detail

      • SqlContainerGetPropertiesResource

        public SqlContainerGetPropertiesResource()
    • Method Detail

      • rid

        public String rid()
        Get the rid property: A system generated property. A unique identifier.
        Returns:
        the rid value.
      • ts

        public Float ts()
        Get the ts property: A system generated property that denotes the last updated timestamp of the resource.
        Returns:
        the ts value.
      • etag

        public String etag()
        Get the etag property: A system generated property representing the resource etag required for optimistic concurrency control.
        Returns:
        the etag value.
      • withIndexingPolicy

        public SqlContainerGetPropertiesResource withIndexingPolicy​(IndexingPolicy indexingPolicy)
        Set the indexingPolicy property: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container.
        Overrides:
        withIndexingPolicy in class SqlContainerResource
        Parameters:
        indexingPolicy - the indexingPolicy value to set.
        Returns:
        the SqlContainerResource object itself.
      • withUniqueKeyPolicy

        public SqlContainerGetPropertiesResource withUniqueKeyPolicy​(UniqueKeyPolicy uniqueKeyPolicy)
        Set the uniqueKeyPolicy property: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
        Overrides:
        withUniqueKeyPolicy in class SqlContainerResource
        Parameters:
        uniqueKeyPolicy - the uniqueKeyPolicy value to set.
        Returns:
        the SqlContainerResource object itself.