Interface LockConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LockConfiguration.Builder,
,LockConfiguration> SdkBuilder<LockConfiguration.Builder,
,LockConfiguration> SdkPojo
- Enclosing class:
LockConfiguration
@Mutable
@NotThreadSafe
public static interface LockConfiguration.Builder
extends SdkPojo, CopyableBuilder<LockConfiguration.Builder,LockConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LockConfiguration.Builder
unlockDelay
(Consumer<UnlockDelay.Builder> unlockDelay) Information about the retention rule unlock delay.unlockDelay
(UnlockDelay unlockDelay) Information about the retention rule unlock delay.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
-
unlockDelay
Information about the retention rule unlock delay.
- Parameters:
unlockDelay
- Information about the retention rule unlock delay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unlockDelay
Information about the retention rule unlock delay.
This is a convenience method that creates an instance of theUnlockDelay.Builder
avoiding the need to create one manually viaUnlockDelay.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounlockDelay(UnlockDelay)
.- Parameters:
unlockDelay
- a consumer that will call methods onUnlockDelay.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-