Class AssignEncryptionKeyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.AssignEncryptionKeyDetails.Builder
-
- Enclosing class:
- AssignEncryptionKeyDetails
public static class AssignEncryptionKeyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssignEncryptionKeyDetails
build()
AssignEncryptionKeyDetails.Builder
copy(AssignEncryptionKeyDetails model)
AssignEncryptionKeyDetails.Builder
keyId(String keyId)
This is the key OCID for encryption key.AssignEncryptionKeyDetails.Builder
keyType(EncryptionKeyType keyType)
This is the type of data to be encrypted.
-
-
-
Method Detail
-
keyId
public AssignEncryptionKeyDetails.Builder keyId(String keyId)
This is the key OCID for encryption key.- Parameters:
keyId
- the value to set- Returns:
- this builder
-
keyType
public AssignEncryptionKeyDetails.Builder keyType(EncryptionKeyType keyType)
This is the type of data to be encrypted.It can be either active or archival.
- Parameters:
keyType
- the value to set- Returns:
- this builder
-
build
public AssignEncryptionKeyDetails build()
-
copy
public AssignEncryptionKeyDetails.Builder copy(AssignEncryptionKeyDetails model)
-
-