Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
DefaultRetention |
ObjectLockRule.getDefaultRetention()
The default retention period that you want to apply to new objects placed in the specified bucket.
|
DefaultRetention |
DefaultRetention.withDays(Integer days)
The number of days that you want to specify for the default retention period.
|
DefaultRetention |
DefaultRetention.withMode(ObjectLockRetentionMode mode)
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
DefaultRetention |
DefaultRetention.withMode(String mode)
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
DefaultRetention |
DefaultRetention.withYears(Integer years)
The number of years that you want to specify for the default retention period.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectLockRule.setDefaultRetention(DefaultRetention defaultRetention)
The default retention period that you want to apply to new objects placed in the specified bucket.
|
ObjectLockRule |
ObjectLockRule.withDefaultRetention(DefaultRetention defaultRetention)
The default retention period that you want to apply to new objects placed in the specified bucket.
|
Copyright © 2024. All rights reserved.