public static interface ObjectLockConfiguration.Builder extends SdkPojo, CopyableBuilder<ObjectLockConfiguration.Builder,ObjectLockConfiguration>
| Modifier and Type | Method and Description | 
|---|---|
ObjectLockConfiguration.Builder | 
objectLockEnabled(ObjectLockEnabled objectLockEnabled)
 Indicates whether this bucket has an Object Lock configuration enabled. 
 | 
ObjectLockConfiguration.Builder | 
objectLockEnabled(String objectLockEnabled)
 Indicates whether this bucket has an Object Lock configuration enabled. 
 | 
default ObjectLockConfiguration.Builder | 
rule(Consumer<ObjectLockRule.Builder> rule)
 The Object Lock rule in place for the specified object. 
 | 
ObjectLockConfiguration.Builder | 
rule(ObjectLockRule rule)
 The Object Lock rule in place for the specified object. 
 | 
copyapplyMutation, buildObjectLockConfiguration.Builder objectLockEnabled(String objectLockEnabled)
Indicates whether this bucket has an Object Lock configuration enabled.
objectLockEnabled - Indicates whether this bucket has an Object Lock configuration enabled.ObjectLockEnabled, 
ObjectLockEnabledObjectLockConfiguration.Builder objectLockEnabled(ObjectLockEnabled objectLockEnabled)
Indicates whether this bucket has an Object Lock configuration enabled.
objectLockEnabled - Indicates whether this bucket has an Object Lock configuration enabled.ObjectLockEnabled, 
ObjectLockEnabledObjectLockConfiguration.Builder rule(ObjectLockRule rule)
The Object Lock rule in place for the specified object.
rule - The Object Lock rule in place for the specified object.default ObjectLockConfiguration.Builder rule(Consumer<ObjectLockRule.Builder> rule)
The Object Lock rule in place for the specified object.
This is a convenience that creates an instance of theObjectLockRule.Builder avoiding the need to
 create one manually via ObjectLockRule.builder().
 When the Consumer completes, SdkBuilder.build() is called immediately and its
 result is passed to rule(ObjectLockRule).rule - a consumer that will call methods on ObjectLockRule.Builderrule(ObjectLockRule)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.