Class DedicatedShardOrCatalogEncryptionKeyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.globallydistributeddatabase.model.DedicatedShardOrCatalogEncryptionKeyDetails.Builder
-
- Enclosing class:
- DedicatedShardOrCatalogEncryptionKeyDetails
public static class DedicatedShardOrCatalogEncryptionKeyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedShardOrCatalogEncryptionKeyDetails
build()
DedicatedShardOrCatalogEncryptionKeyDetails.Builder
copy(DedicatedShardOrCatalogEncryptionKeyDetails model)
DedicatedShardOrCatalogEncryptionKeyDetails.Builder
kmsKeyId(String kmsKeyId)
The OCID of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key.DedicatedShardOrCatalogEncryptionKeyDetails.Builder
kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations.DedicatedShardOrCatalogEncryptionKeyDetails.Builder
vaultId(String vaultId)
The OCID of the vault in customer tenancy where KMS key is present.
-
-
-
Method Detail
-
vaultId
public DedicatedShardOrCatalogEncryptionKeyDetails.Builder vaultId(String vaultId)
The OCID of the vault in customer tenancy where KMS key is present.For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard.
- Parameters:
vaultId
- the value to set- Returns:
- this builder
-
kmsKeyId
public DedicatedShardOrCatalogEncryptionKeyDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
kmsKeyVersionId
public DedicatedShardOrCatalogEncryptionKeyDetails.Builder kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations.- Parameters:
kmsKeyVersionId
- the value to set- Returns:
- this builder
-
build
public DedicatedShardOrCatalogEncryptionKeyDetails build()
-
copy
public DedicatedShardOrCatalogEncryptionKeyDetails.Builder copy(DedicatedShardOrCatalogEncryptionKeyDetails model)
-
-