Package com.oracle.bmc.streaming.model
Class CustomEncryptionKey.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.CustomEncryptionKey.Builder
-
- Enclosing class:
- CustomEncryptionKey
public static class CustomEncryptionKey.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomEncryptionKey
build()
CustomEncryptionKey.Builder
copy(CustomEncryptionKey model)
CustomEncryptionKey.Builder
keyState(CustomEncryptionKey.KeyState keyState)
Life cycle State of the custom keyCustomEncryptionKey.Builder
kmsKeyId(String kmsKeyId)
Custom Encryption Key (Master Key) ocid.
-
-
-
Method Detail
-
kmsKeyId
public CustomEncryptionKey.Builder kmsKeyId(String kmsKeyId)
Custom Encryption Key (Master Key) ocid.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
keyState
public CustomEncryptionKey.Builder keyState(CustomEncryptionKey.KeyState keyState)
Life cycle State of the custom key- Parameters:
keyState
- the value to set- Returns:
- this builder
-
build
public CustomEncryptionKey build()
-
copy
public CustomEncryptionKey.Builder copy(CustomEncryptionKey model)
-
-