Class EncryptionMaterialsRequest.Builder
java.lang.Object
com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest.Builder
- Enclosing class:
 - EncryptionMaterialsRequest
 
- 
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.longsetCommitmentPolicy(CommitmentPolicy commitmentPolicy)setContext(Map<String,String> context)setPlaintext(byte[] plaintext)Sets the plaintext field of the request.setPlaintextSize(long plaintextSize)setRequestedAlgorithm(CryptoAlgorithm requestedAlgorithm) 
- 
Method Details
- 
build
 - 
getContext
 - 
setContext
 - 
getRequestedAlgorithm
 - 
setRequestedAlgorithm
public EncryptionMaterialsRequest.Builder setRequestedAlgorithm(CryptoAlgorithm requestedAlgorithm) - 
getPlaintextSize
public long getPlaintextSize() - 
setPlaintextSize
 - 
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
Sets the plaintext field of the request.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.
This method implicitly sets plaintext size as well.
 - 
getCommitmentPolicy
 - 
setCommitmentPolicy
 
 -