Interface AwsS3BucketServerSideEncryptionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3BucketServerSideEncryptionConfiguration.Builder,AwsS3BucketServerSideEncryptionConfiguration>,SdkBuilder<AwsS3BucketServerSideEncryptionConfiguration.Builder,AwsS3BucketServerSideEncryptionConfiguration>,SdkPojo
- Enclosing class:
- AwsS3BucketServerSideEncryptionConfiguration
public static interface AwsS3BucketServerSideEncryptionConfiguration.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketServerSideEncryptionConfiguration.Builder,AwsS3BucketServerSideEncryptionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsS3BucketServerSideEncryptionConfiguration.Builderrules(Collection<AwsS3BucketServerSideEncryptionRule> rules)The encryption rules that are applied to the S3 bucket.AwsS3BucketServerSideEncryptionConfiguration.Builderrules(Consumer<AwsS3BucketServerSideEncryptionRule.Builder>... rules)The encryption rules that are applied to the S3 bucket.AwsS3BucketServerSideEncryptionConfiguration.Builderrules(AwsS3BucketServerSideEncryptionRule... rules)The encryption rules that are applied to the S3 bucket.-
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 Detail
-
rules
AwsS3BucketServerSideEncryptionConfiguration.Builder rules(Collection<AwsS3BucketServerSideEncryptionRule> rules)
The encryption rules that are applied to the S3 bucket.
- Parameters:
rules- The encryption rules that are applied to the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
AwsS3BucketServerSideEncryptionConfiguration.Builder rules(AwsS3BucketServerSideEncryptionRule... rules)
The encryption rules that are applied to the S3 bucket.
- Parameters:
rules- The encryption rules that are applied to the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
AwsS3BucketServerSideEncryptionConfiguration.Builder rules(Consumer<AwsS3BucketServerSideEncryptionRule.Builder>... rules)
The encryption rules that are applied to the S3 bucket.
This is a convenience method that creates an instance of theAwsS3BucketServerSideEncryptionRule.Builderavoiding the need to create one manually viaAwsS3BucketServerSideEncryptionRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onAwsS3BucketServerSideEncryptionRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
-