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 InstructionFileConfig
build()
InstructionFileConfig.Builder
disableInstructionFile(boolean disableInstructionFile)
When set to true, the S3 Encryption Client will not attempt to get instruction files.InstructionFileConfig.Builder
instructionFileAsyncClient(software.amazon.awssdk.services.s3.S3AsyncClient instructionFileAsyncClient)
Sets the S3 Async client to use to retrieve instruction files.InstructionFileConfig.Builder
instructionFileClient(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:
-
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()
-
-