Package com.oracle.bmc.core.model
Class UpdateVolumeKmsKeyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.UpdateVolumeKmsKeyDetails.Builder
-
- Enclosing class:
- UpdateVolumeKmsKeyDetails
public static class UpdateVolumeKmsKeyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateVolumeKmsKeyDetails
build()
UpdateVolumeKmsKeyDetails.Builder
copy(UpdateVolumeKmsKeyDetails model)
UpdateVolumeKmsKeyDetails.Builder
kmsKeyId(String kmsKeyId)
The OCID of the new Vault service key to assign to protect the specified volume.
-
-
-
Method Detail
-
kmsKeyId
public UpdateVolumeKmsKeyDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the new Vault service key to assign to protect the specified volume.This key has to be a valid Vault service key, and policies must exist to allow the user and the Block Volume service to access this key. If you specify the same OCID as the previous key’s OCID, the Block Volume service will use it to regenerate a volume encryption key.
- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
build
public UpdateVolumeKmsKeyDetails build()
-
copy
public UpdateVolumeKmsKeyDetails.Builder copy(UpdateVolumeKmsKeyDetails model)
-
-