PutObjectLifecyclePolicyDetails

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

Bases: object

Creates a new object lifecycle policy for a bucket.

__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[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[ObjectLifecycleRule]