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.
|
copyapplyMutation, buildServerSideEncryptionRule.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.BuilderapplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.