Class SSECustomerKeyDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.SSECustomerKeyDetails.Builder
 
- 
- Enclosing class:
- SSECustomerKeyDetails
 
 public static class SSECustomerKeyDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SSECustomerKeyDetails.Builderalgorithm(SSECustomerKeyDetails.Algorithm algorithm)Specifies the encryption algorithm.SSECustomerKeyDetailsbuild()SSECustomerKeyDetails.Buildercopy(SSECustomerKeyDetails model)SSECustomerKeyDetails.Builderkey(String key)Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the object data.SSECustomerKeyDetails.BuilderkeySha256(String keySha256)Specifies the base64-encoded SHA256 hash of the encryption key.
 
- 
- 
- 
Method Detail- 
algorithmpublic 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
 
 - 
keypublic 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
 
 - 
keySha256public 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
 
 - 
buildpublic SSECustomerKeyDetails build() 
 - 
copypublic SSECustomerKeyDetails.Builder copy(SSECustomerKeyDetails model) 
 
- 
 
-