Class InstructionFileConfig.Builder
- java.lang.Object
-
- software.amazon.encryption.s3.internal.InstructionFileConfig.Builder
-
- Enclosing class:
- InstructionFileConfig
public static class InstructionFileConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstructionFileConfigbuild()InstructionFileConfig.BuilderdisableInstructionFile(boolean disableInstructionFile)When set to true, the S3 Encryption Client will not attempt to get instruction files.InstructionFileConfig.BuilderenableInstructionFilePutObject(boolean enableInstructionFilePutObject)InstructionFileConfig.BuilderinstructionFileAsyncClient(software.amazon.awssdk.services.s3.S3AsyncClient instructionFileAsyncClient)Sets the S3 Async client to use to retrieve instruction files.InstructionFileConfig.BuilderinstructionFileClient(software.amazon.awssdk.services.s3.S3Client instructionFileClient)Sets the S3 client to use to retrieve instruction files.
-
-
-
Method Detail
-
disableInstructionFile
public InstructionFileConfig.Builder disableInstructionFile(boolean disableInstructionFile)
When set to true, the S3 Encryption Client will not attempt to get instruction files.- Parameters:
disableInstructionFile-- Returns:
-
enableInstructionFilePutObject
public InstructionFileConfig.Builder enableInstructionFilePutObject(boolean enableInstructionFilePutObject)
-
instructionFileClient
public InstructionFileConfig.Builder instructionFileClient(software.amazon.awssdk.services.s3.S3Client instructionFileClient)
Sets the S3 client to use to retrieve instruction files.- Parameters:
instructionFileClient-- Returns:
-
instructionFileAsyncClient
public InstructionFileConfig.Builder instructionFileAsyncClient(software.amazon.awssdk.services.s3.S3AsyncClient instructionFileAsyncClient)
Sets the S3 Async client to use to retrieve instruction files.- Parameters:
instructionFileAsyncClient-- Returns:
-
build
public InstructionFileConfig build()
-
-