public static final class EncryptRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EncryptRequest |
build() |
EncryptRequest.Builder |
encryptionContext(Map<String,?> encryptionContext)
A JSON string that consists of key-value pairs.
|
EncryptRequest.Builder |
keyId(String keyId)
The globally unique ID of the CMK.
|
EncryptRequest.Builder |
plaintext(String plaintext)
The plaintext to be encrypted.
|
public EncryptRequest.Builder encryptionContext(Map<String,?> encryptionContext)
public EncryptRequest.Builder keyId(String keyId)
public EncryptRequest.Builder plaintext(String plaintext)
public EncryptRequest build()
Copyright © 2023. All rights reserved.