public static class ObjectLifecyclePolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ObjectLifecyclePolicy |
build() |
ObjectLifecyclePolicy.Builder |
copy(ObjectLifecyclePolicy model) |
ObjectLifecyclePolicy.Builder |
items(List<ObjectLifecycleRule> items)
The live lifecycle policy on the bucket.
|
ObjectLifecyclePolicy.Builder |
timeCreated(Date timeCreated)
The date and time the object lifecycle policy was created, as described in RFC
3339.
|
public ObjectLifecyclePolicy.Builder timeCreated(Date timeCreated)
The date and time the object lifecycle policy was created, as described in RFC 3339.
timeCreated
- the value to setpublic ObjectLifecyclePolicy.Builder items(List<ObjectLifecycleRule> items)
The live lifecycle policy on the bucket.
For an example of this value, see the [PutObjectLifecyclePolicy API documentation](https://docs.cloud.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/PutObjectLifecyclePolicy).
items
- the value to setpublic ObjectLifecyclePolicy build()
public ObjectLifecyclePolicy.Builder copy(ObjectLifecyclePolicy model)
Copyright © 2016–2024. All rights reserved.