Class MasterKeyRequest.Builder

java.lang.Object
com.amazonaws.encryptionsdk.MasterKeyRequest.Builder
Enclosing class:
MasterKeyRequest

public static final class MasterKeyRequest.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • getEncryptionContext

      public Map<String,​String> getEncryptionContext()
    • setEncryptionContext

      public MasterKeyRequest.Builder setEncryptionContext(Map<String,​String> encryptionContext)
    • isStreaming

      public boolean isStreaming()
    • setStreaming

      public MasterKeyRequest.Builder setStreaming(boolean isStreaming)
    • 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

      public 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.
    • setSize

      public MasterKeyRequest.Builder setSize(long size)
    • getSize

      public long getSize()
    • build

      public MasterKeyRequest build()