Class SSECustomerKeyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.SSECustomerKeyDetails.Builder
-
- Enclosing class:
- SSECustomerKeyDetails
public static class SSECustomerKeyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
algorithm
public SSECustomerKeyDetails.Builder algorithm(SSECustomerKeyDetails.Algorithm algorithm)
Specifies the encryption algorithm.The only supported value is “AES256”.
- Parameters:
algorithm
- the value to set- Returns:
- this builder
-
key
public SSECustomerKeyDetails.Builder key(String key)
Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the object data.- Parameters:
key
- the value to set- Returns:
- this builder
-
keySha256
public 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.
- Parameters:
keySha256
- the value to set- Returns:
- this builder
-
build
public SSECustomerKeyDetails build()
-
copy
public SSECustomerKeyDetails.Builder copy(SSECustomerKeyDetails model)
-
-