Class CosmosDatabaseConfiguration.CosmosContainerSettings

java.lang.Object
io.micronaut.data.cosmos.config.CosmosDatabaseConfiguration.CosmosContainerSettings
Enclosing class:
CosmosDatabaseConfiguration

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

  • Method Details

    • getContainerName

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

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

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

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

      public ThroughputSettings getThroughput()
      Returns:
      container throughput settings
    • setThroughput

      Sets the container throughput settings.
      Parameters:
      throughput - the throughput settings