public static final class MasterKeyRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MasterKeyRequest |
build() |
Map<String,String> |
getEncryptionContext() |
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.
|
long |
getSize() |
boolean |
isStreaming() |
MasterKeyRequest.Builder |
setEncryptionContext(Map<String,String> encryptionContext) |
MasterKeyRequest.Builder |
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.
|
MasterKeyRequest.Builder |
setSize(long size) |
MasterKeyRequest.Builder |
setStreaming(boolean isStreaming) |
public MasterKeyRequest.Builder setEncryptionContext(Map<String,String> encryptionContext)
public boolean isStreaming()
public MasterKeyRequest.Builder setStreaming(boolean isStreaming)
public byte[] getPlaintext()
public MasterKeyRequest.Builder setPlaintext(byte[] plaintext)
public MasterKeyRequest.Builder setSize(long size)
public long getSize()
public MasterKeyRequest build()
Copyright © 2023. All rights reserved.