public static interface ServerSideEncryptionRule.Builder extends SdkPojo, CopyableBuilder<ServerSideEncryptionRule.Builder,ServerSideEncryptionRule>
Modifier and Type | Method and Description |
---|---|
default ServerSideEncryptionRule.Builder |
applyServerSideEncryptionByDefault(Consumer<ServerSideEncryptionByDefault.Builder> applyServerSideEncryptionByDefault)
Describes the default server-side encryption to apply to new objects in the bucket.
|
ServerSideEncryptionRule.Builder |
applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Describes the default server-side encryption to apply to new objects in the bucket.
|
copy
applyMutation, build
ServerSideEncryptionRule.Builder applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Describes the default server-side encryption to apply to new objects in the bucket. If Put Object request does not specify any server-side encryption, this default encryption will be applied.
applyServerSideEncryptionByDefault
- Describes the default server-side encryption to apply to new objects in the bucket. If Put Object
request does not specify any server-side encryption, this default encryption will be applied.default ServerSideEncryptionRule.Builder applyServerSideEncryptionByDefault(Consumer<ServerSideEncryptionByDefault.Builder> applyServerSideEncryptionByDefault)
Describes the default server-side encryption to apply to new objects in the bucket. If Put Object request does not specify any server-side encryption, this default encryption will be applied.
This is a convenience that creates an instance of theServerSideEncryptionByDefault.Builder
avoiding
the need to create one manually via ServerSideEncryptionByDefault.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault)
.applyServerSideEncryptionByDefault
- a consumer that will call methods on ServerSideEncryptionByDefault.Builder
applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault)
Copyright © 2019. All rights reserved.