Class EncryptionMaterials.Builder
- java.lang.Object
-
- software.amazon.encryption.s3.materials.EncryptionMaterials.Builder
-
- Enclosing class:
- EncryptionMaterials
public static class EncryptionMaterials.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionMaterials.Builder
algorithmSuite(AlgorithmSuite algorithmSuite)
EncryptionMaterials
build()
EncryptionMaterials.Builder
cryptoProvider(Provider cryptoProvider)
EncryptionMaterials.Builder
encryptedDataKeys(List<EncryptedDataKey> encryptedDataKeys)
EncryptionMaterials.Builder
encryptionContext(Map<String,String> encryptionContext)
EncryptionMaterials.Builder
plaintextDataKey(byte[] plaintextDataKey)
EncryptionMaterials.Builder
plaintextLength(long plaintextLength)
EncryptionMaterials.Builder
s3Request(software.amazon.awssdk.services.s3.model.S3Request s3Request)
-
-
-
Method Detail
-
s3Request
public EncryptionMaterials.Builder s3Request(software.amazon.awssdk.services.s3.model.S3Request s3Request)
-
algorithmSuite
public EncryptionMaterials.Builder algorithmSuite(AlgorithmSuite algorithmSuite)
-
encryptionContext
public EncryptionMaterials.Builder encryptionContext(Map<String,String> encryptionContext)
-
encryptedDataKeys
public EncryptionMaterials.Builder encryptedDataKeys(List<EncryptedDataKey> encryptedDataKeys)
-
plaintextDataKey
public EncryptionMaterials.Builder plaintextDataKey(byte[] plaintextDataKey)
-
cryptoProvider
public EncryptionMaterials.Builder cryptoProvider(Provider cryptoProvider)
-
plaintextLength
public EncryptionMaterials.Builder plaintextLength(long plaintextLength)
-
build
public EncryptionMaterials build()
-
-