Class ReencryptObjectDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.ReencryptObjectDetails.Builder
-
- Enclosing class:
- ReencryptObjectDetails
public static class ReencryptObjectDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReencryptObjectDetailsbuild()ReencryptObjectDetails.Buildercopy(ReencryptObjectDetails model)ReencryptObjectDetails.BuilderkmsKeyId(String kmsKeyId)The OCID of the master encryption key used to call the Vault service to re-encrypt the data encryption keys associated with the object and its chunks.ReencryptObjectDetails.BuildersourceSseCustomerKey(SSECustomerKeyDetails sourceSseCustomerKey)ReencryptObjectDetails.BuildersseCustomerKey(SSECustomerKeyDetails sseCustomerKey)
-
-
-
Method Detail
-
kmsKeyId
public ReencryptObjectDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the master encryption key used to call the Vault service to re-encrypt the data encryption keys associated with the object and its chunks.If the kmsKeyId value is empty, whether null or an empty string, the API will perform re-encryption by using the kmsKeyId associated with the bucket or the master encryption key managed by Oracle, depending on the bucket encryption mechanism.
- Parameters:
kmsKeyId- the value to set- Returns:
- this builder
-
sseCustomerKey
public ReencryptObjectDetails.Builder sseCustomerKey(SSECustomerKeyDetails sseCustomerKey)
-
sourceSseCustomerKey
public ReencryptObjectDetails.Builder sourceSseCustomerKey(SSECustomerKeyDetails sourceSseCustomerKey)
-
build
public ReencryptObjectDetails build()
-
copy
public ReencryptObjectDetails.Builder copy(ReencryptObjectDetails model)
-
-