Class CosmosDbSettings


  • public final class CosmosDbSettings
    extends Object
    The CosmosDbSettings model.
    • Constructor Detail

      • CosmosDbSettings

        public CosmosDbSettings()
    • Method Detail

      • collectionsThroughput

        public Integer collectionsThroughput()
        Get the collectionsThroughput property: The throughput of the collections in cosmosdb database.
        Returns:
        the collectionsThroughput value.
      • withCollectionsThroughput

        public CosmosDbSettings withCollectionsThroughput​(Integer collectionsThroughput)
        Set the collectionsThroughput property: The throughput of the collections in cosmosdb database.
        Parameters:
        collectionsThroughput - the collectionsThroughput value to set.
        Returns:
        the CosmosDbSettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.