ContainerDefinition<T>.WithDefaultTimeToLive Method

Definition

Overloads

WithDefaultTimeToLive(Int32)

DefaultTimeToLive 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.

WithDefaultTimeToLive(TimeSpan)

DefaultTimeToLive 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.

WithDefaultTimeToLive(Int32)

Source:
ContainerDefinition.cs

DefaultTimeToLive 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.

public T WithDefaultTimeToLive (int defaultTtlInSeconds);
member this.WithDefaultTimeToLive : int -> 'T
Public Function WithDefaultTimeToLive (defaultTtlInSeconds As Integer) As T

Parameters

defaultTtlInSeconds
Int32

The default Time To Live.

Returns

T

An instance of the current Fluent builder.

See also

Applies to

WithDefaultTimeToLive(TimeSpan)

Source:
ContainerDefinition.cs

DefaultTimeToLive 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.

public T WithDefaultTimeToLive (TimeSpan defaultTtlTimeSpan);
member this.WithDefaultTimeToLive : TimeSpan -> 'T
Public Function WithDefaultTimeToLive (defaultTtlTimeSpan As TimeSpan) As T

Parameters

defaultTtlTimeSpan
TimeSpan

The default Time To Live.

Returns

T

An instance of the current Fluent builder.

See also

Applies to