diff --git a/Microsoft.Azure.Cosmos/src/Fluent/Settings/ContainerDefinition.cs b/Microsoft.Azure.Cosmos/src/Fluent/Settings/ContainerDefinition.cs index 759059affc..c25af4b55d 100644 --- a/Microsoft.Azure.Cosmos/src/Fluent/Settings/ContainerDefinition.cs +++ b/Microsoft.Azure.Cosmos/src/Fluent/Settings/ContainerDefinition.cs @@ -75,17 +75,17 @@ public T WithDefaultTimeToLive(TimeSpan defaultTtlTimeSpan) /// will be applied to all the items in the container as the default time-to-live policy. /// The individual item could override the default time-to-live policy by setting its time to live. /// - /// The default Time To Live. + /// The default Time To Live. /// An instance of the current Fluent builder. /// - public T WithDefaultTimeToLive(int defaulTtlInSeconds) + public T WithDefaultTimeToLive(int defaultTtlInSeconds) { - if (defaulTtlInSeconds < -1) + if (defaultTtlInSeconds < -1) { - throw new ArgumentOutOfRangeException(nameof(defaulTtlInSeconds)); + throw new ArgumentOutOfRangeException(nameof(defaultTtlInSeconds)); } - this.defaultTimeToLive = defaulTtlInSeconds; + this.defaultTimeToLive = defaultTtlInSeconds; return (T)this; }