Package io.micronaut.data.cosmos.config
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.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classThroughput settings for container.
- 
Constructor SummaryConstructorsConstructorDescriptionCosmosContainerSettings(@Nullable CosmosDatabaseConfiguration.CosmosContainerSettings.ContainerThroughputSettings throughput) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetContainerName(String containerName) Sets the container name.voidsetPartitionKeyPath(String partitionKeyPath) Sets the container partition key path.voidsetThroughput(CosmosDatabaseConfiguration.CosmosContainerSettings.ContainerThroughputSettings throughput) Sets the container throughput settings.
- 
Constructor Details- 
CosmosContainerSettingspublic CosmosContainerSettings(@Parameter @Nullable @Nullable CosmosDatabaseConfiguration.CosmosContainerSettings.ContainerThroughputSettings throughput) 
 
- 
- 
Method Details- 
getContainerName- Returns:
- the container name
 
- 
setContainerNameSets the container name.- Parameters:
- containerName- the container name
 
- 
getPartitionKeyPath- Returns:
- the partition key path for the container
 
- 
setPartitionKeyPathSets the container partition key path.- Parameters:
- partitionKeyPath- the partition key path
 
- 
getThroughput- Returns:
- container throughput settings
 
- 
setThroughputpublic void setThroughput(CosmosDatabaseConfiguration.CosmosContainerSettings.ContainerThroughputSettings throughput) Sets the container throughput settings.- Parameters:
- throughput- the throughput settings
 
 
-