PutObjectLifecyclePolicyDetails

class oci.object_storage.models.PutObjectLifecyclePolicyDetails(**kwargs)

Bases: object

Creates a new object lifecycle policy for a bucket.

Methods

__init__(**kwargs) Initializes a new PutObjectLifecyclePolicyDetails object with values from keyword arguments.

Attributes

items Gets the items of this PutObjectLifecyclePolicyDetails.
__init__(**kwargs)

Initializes a new PutObjectLifecyclePolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:items (list[oci.object_storage.models.ObjectLifecycleRule]) – The value to assign to the items property of this PutObjectLifecyclePolicyDetails.
items

Gets the items of this PutObjectLifecyclePolicyDetails. The bucket’s set of lifecycle policy rules.

Returns:The items of this PutObjectLifecyclePolicyDetails.
Return type:list[oci.object_storage.models.ObjectLifecycleRule]