Class CosmosDatabaseConfiguration.CosmosContainerSettings

  • Enclosing class:
    CosmosDatabaseConfiguration

    @EachProperty(value="container-settings",
                  list=true)
    public static class CosmosDatabaseConfiguration.CosmosContainerSettings
    extends java.lang.Object
    The settings for Cosmos container.
    • Method Detail

      • getContainerName

        public java.lang.String getContainerName()
        Returns:
        the container name
      • setContainerName

        public void setContainerName​(java.lang.String containerName)
        Sets the container name.
        Parameters:
        containerName - the container name
      • getPartitionKeyPath

        public java.lang.String getPartitionKeyPath()
        Returns:
        the partition key path for the container
      • setPartitionKeyPath

        public void setPartitionKeyPath​(java.lang.String partitionKeyPath)
        Sets the container partition key path.
        Parameters:
        partitionKeyPath - the partition key path
      • getThroughput

        public ThroughputSettings getThroughput()
        Returns:
        container throughput settings