public static interface AwsS3BucketObjectLockConfigurationRuleDetails.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketObjectLockConfigurationRuleDetails.Builder,AwsS3BucketObjectLockConfigurationRuleDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsS3BucketObjectLockConfigurationRuleDetails.Builder |
defaultRetention(AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails defaultRetention)
The default Object Lock retention mode and period that you want to apply to new objects placed in the
specified bucket.
|
default AwsS3BucketObjectLockConfigurationRuleDetails.Builder |
defaultRetention(Consumer<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder> defaultRetention)
The default Object Lock retention mode and period that you want to apply to new objects placed in the
specified bucket.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsS3BucketObjectLockConfigurationRuleDetails.Builder defaultRetention(AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails defaultRetention)
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
defaultRetention - The default Object Lock retention mode and period that you want to apply to new objects placed in the
specified bucket.default AwsS3BucketObjectLockConfigurationRuleDetails.Builder defaultRetention(Consumer<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder> defaultRetention)
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
This is a convenience method that creates an instance of theAwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder avoiding the need to create one
manually via AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to
defaultRetention(AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails).
defaultRetention - a consumer that will call methods on
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.BuilderdefaultRetention(AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails)Copyright © 2023. All rights reserved.