public static interface CreateAwsKmsRsaKeyringInput.Builder
| Modifier and Type | Method and Description |
|---|---|
CreateAwsKmsRsaKeyringInput |
build() |
software.amazon.awssdk.services.kms.model.EncryptionAlgorithmSpec |
encryptionAlgorithm() |
CreateAwsKmsRsaKeyringInput.Builder |
encryptionAlgorithm(software.amazon.awssdk.services.kms.model.EncryptionAlgorithmSpec encryptionAlgorithm) |
java.util.List<java.lang.String> |
grantTokens() |
CreateAwsKmsRsaKeyringInput.Builder |
grantTokens(java.util.List<java.lang.String> grantTokens) |
software.amazon.awssdk.services.kms.KmsClient |
kmsClient() |
CreateAwsKmsRsaKeyringInput.Builder |
kmsClient(software.amazon.awssdk.services.kms.KmsClient kmsClient) |
java.lang.String |
kmsKeyId() |
CreateAwsKmsRsaKeyringInput.Builder |
kmsKeyId(java.lang.String kmsKeyId) |
java.nio.ByteBuffer |
publicKey() |
CreateAwsKmsRsaKeyringInput.Builder |
publicKey(java.nio.ByteBuffer publicKey) |
CreateAwsKmsRsaKeyringInput.Builder publicKey(java.nio.ByteBuffer publicKey)
publicKey - The public RSA Key responsible for wrapping data keys, as a UTF8 encoded, PEM encoded X.509 SubjectPublicKeyInfo structure. This should be the public key as exported from KMS. If not specified, this Keyring cannot be used on encrypt.java.nio.ByteBuffer publicKey()
CreateAwsKmsRsaKeyringInput.Builder kmsKeyId(java.lang.String kmsKeyId)
kmsKeyId - The ARN for the asymmetric AWS KMS Key for RSA responsible for wrapping and unwrapping data keys.java.lang.String kmsKeyId()
CreateAwsKmsRsaKeyringInput.Builder encryptionAlgorithm(software.amazon.awssdk.services.kms.model.EncryptionAlgorithmSpec encryptionAlgorithm)
encryptionAlgorithm - The RSA algorithm used to wrap and unwrap data keys.software.amazon.awssdk.services.kms.model.EncryptionAlgorithmSpec encryptionAlgorithm()
CreateAwsKmsRsaKeyringInput.Builder kmsClient(software.amazon.awssdk.services.kms.KmsClient kmsClient)
kmsClient - The KMS Client this Keyring will use to call KMS.software.amazon.awssdk.services.kms.KmsClient kmsClient()
CreateAwsKmsRsaKeyringInput.Builder grantTokens(java.util.List<java.lang.String> grantTokens)
grantTokens - A list of grant tokens to be used when calling KMS.java.util.List<java.lang.String> grantTokens()
CreateAwsKmsRsaKeyringInput build()