public static interface ObjectLockRetention.Builder extends SdkPojo, CopyableBuilder<ObjectLockRetention.Builder,ObjectLockRetention>
| Modifier and Type | Method and Description |
|---|---|
ObjectLockRetention.Builder |
mode(ObjectLockRetentionMode mode)
Indicates the Retention mode for the specified object.
|
ObjectLockRetention.Builder |
mode(String mode)
Indicates the Retention mode for the specified object.
|
ObjectLockRetention.Builder |
retainUntilDate(Instant retainUntilDate)
The date on which this Object Lock Retention will expire.
|
copyapplyMutation, buildObjectLockRetention.Builder mode(String mode)
Indicates the Retention mode for the specified object.
mode - Indicates the Retention mode for the specified object.ObjectLockRetentionMode,
ObjectLockRetentionModeObjectLockRetention.Builder mode(ObjectLockRetentionMode mode)
Indicates the Retention mode for the specified object.
mode - Indicates the Retention mode for the specified object.ObjectLockRetentionMode,
ObjectLockRetentionModeObjectLockRetention.Builder retainUntilDate(Instant retainUntilDate)
The date on which this Object Lock Retention will expire.
retainUntilDate - The date on which this Object Lock Retention will expire.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.