Interface ObjectLockRetention.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObjectLockRetention.Builder,
,ObjectLockRetention> SdkBuilder<ObjectLockRetention.Builder,
,ObjectLockRetention> SdkPojo
- Enclosing class:
ObjectLockRetention
@Mutable
@NotThreadSafe
public static interface ObjectLockRetention.Builder
extends SdkPojo, CopyableBuilder<ObjectLockRetention.Builder,ObjectLockRetention>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the Retention mode for the specified object.mode
(ObjectLockRetentionMode mode) Indicates the Retention mode for the specified object.retainUntilDate
(Instant retainUntilDate) The date on which this Object Lock Retention will expire.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mode
Indicates the Retention mode for the specified object.
- Parameters:
mode
- Indicates the Retention mode for the specified object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
Indicates the Retention mode for the specified object.
- Parameters:
mode
- Indicates the Retention mode for the specified object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retainUntilDate
The date on which this Object Lock Retention will expire.
- Parameters:
retainUntilDate
- The date on which this Object Lock Retention will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-