Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Duration

The amount of time that objects in the bucket should be preserved for and which is calculated in relation to each object's Last-Modified timestamp. If duration is not present, then there is no time limit and the objects in the bucket will be preserved indefinitely.

Enumerations

Properties

Functions

Properties

timeAmount

timeAmount: number

The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

timeUnit

timeUnit: TimeUnit

The unit that should be used to interpret timeAmount.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Duration): object

getJsonObj