Interface CosmosDBAccount.UpdateStages.WithConsistencyPolicy

    • Method Detail

      • withBoundedStalenessConsistency

        CosmosDBAccount.UpdateStages.WithOptionals withBoundedStalenessConsistency​(long maxStalenessPrefix,
                                                                                   int maxIntervalInSeconds)
        The consistency policy for the CosmosDB account.
        Parameters:
        maxStalenessPrefix - the max staleness prefix
        maxIntervalInSeconds - the max interval in seconds
        Returns:
        the next stage of the definition