Skip to content

/AWS1/CL_S3_NONCURRVRSTRANS

Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or DEEP_ARCHIVE storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or DEEP_ARCHIVE storage class at a specific period in the object's lifetime.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_noncurrentdays TYPE /AWS1/S3_DAYS /AWS1/S3_DAYS

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.

iv_storageclass TYPE /AWS1/S3_TRANSSTORAGECLASS /AWS1/S3_TRANSSTORAGECLASS

The class of storage used to store the object.

iv_newernoncurrentversions TYPE /AWS1/S3_VERSIONCOUNT /AWS1/S3_VERSIONCOUNT

Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will transition any additional noncurrent versions beyond the specified number to retain. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.


Queryable Attributes

NoncurrentDays

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.

Accessible with the following methods

Method Description
GET_NONCURRENTDAYS() Getter for NONCURRENTDAYS, with configurable default
ASK_NONCURRENTDAYS() Getter for NONCURRENTDAYS w/ exceptions if field has no valu
HAS_NONCURRENTDAYS() Determine if NONCURRENTDAYS has a value

StorageClass

The class of storage used to store the object.

Accessible with the following methods

Method Description
GET_STORAGECLASS() Getter for STORAGECLASS, with configurable default
ASK_STORAGECLASS() Getter for STORAGECLASS w/ exceptions if field has no value
HAS_STORAGECLASS() Determine if STORAGECLASS has a value

NewerNoncurrentVersions

Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will transition any additional noncurrent versions beyond the specified number to retain. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.

Accessible with the following methods

Method Description
GET_NEWERNONCURRENTVERSIONS() Getter for NEWERNONCURRENTVERSIONS, with configurable defaul
ASK_NEWERNONCURRENTVERSIONS() Getter for NEWERNONCURRENTVERSIONS w/ exceptions if field ha
HAS_NEWERNONCURRENTVERSIONS() Determine if NEWERNONCURRENTVERSIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_NONCURRENTVERSIONTRANSLIST

TYPES TT_NONCURRENTVERSIONTRANSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3_NONCURRVRSTRANS WITH DEFAULT KEY
.