public static class SSECustomerKeyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SSECustomerKeyDetails.Builder |
algorithm(SSECustomerKeyDetails.Algorithm algorithm)
Specifies the encryption algorithm.
|
SSECustomerKeyDetails |
build() |
SSECustomerKeyDetails.Builder |
copy(SSECustomerKeyDetails model) |
SSECustomerKeyDetails.Builder |
key(String key)
Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the
object data.
|
SSECustomerKeyDetails.Builder |
keySha256(String keySha256)
Specifies the base64-encoded SHA256 hash of the encryption key.
|
public SSECustomerKeyDetails.Builder algorithm(SSECustomerKeyDetails.Algorithm algorithm)
Specifies the encryption algorithm. The only supported value is “AES256”.
algorithm
- the value to setpublic SSECustomerKeyDetails.Builder key(String key)
Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the object data.
key
- the value to setpublic SSECustomerKeyDetails.Builder keySha256(String keySha256)
Specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key.
keySha256
- the value to setpublic SSECustomerKeyDetails build()
public SSECustomerKeyDetails.Builder copy(SSECustomerKeyDetails model)
Copyright © 2016–2024. All rights reserved.