Interface LockConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LockConfiguration.Builder,,LockConfiguration> SdkBuilder<LockConfiguration.Builder,,LockConfiguration> SdkPojo
- Enclosing class:
LockConfiguration
public static interface LockConfiguration.Builder
extends SdkPojo, CopyableBuilder<LockConfiguration.Builder,LockConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LockConfiguration.BuilderunlockDelay(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaUnlockDelay.builder().When the
Consumercompletes,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:
-