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)
Specifies the default server-side encryption to apply to new objects in the bucket.
|
ServerSideEncryptionRule.Builder |
applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServerSideEncryptionRule.Builder applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
applyServerSideEncryptionByDefault - Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object
request doesn't specify any server-side encryption, this default encryption will be applied.default ServerSideEncryptionRule.Builder applyServerSideEncryptionByDefault(Consumer<ServerSideEncryptionByDefault.Builder> applyServerSideEncryptionByDefault)
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't 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 © 2020. All rights reserved.