Package com.amazonaws.encryptionsdk
Class MasterKeyRequest.Builder
java.lang.Object
com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
- Enclosing class:
- MasterKeyRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
byte[]
Please note that this does not make a defensive copy of the plaintext and so any modifications made to the backing array will be reflected in this Builder.long
getSize()
boolean
setEncryptionContext(Map<String,String> encryptionContext)
setPlaintext(byte[] plaintext)
Please note that this does not make a defensive copy of the plaintext and so any modifications made to the backing array will be reflected in this Builder.setSize(long size)
setStreaming(boolean isStreaming)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getEncryptionContext
-
setEncryptionContext
-
isStreaming
public boolean isStreaming() -
setStreaming
-
getPlaintext
public byte[] getPlaintext()Please note that this does not make a defensive copy of the plaintext and so any modifications made to the backing array will be reflected in this Builder. -
setPlaintext
Please note that this does not make a defensive copy of the plaintext and so any modifications made to the backing array will be reflected in this Builder. -
setSize
-
getSize
public long getSize() -
build
-