Class EncryptionKeyInfoSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.EncryptionKeyInfoSummary.Builder
-
- Enclosing class:
- EncryptionKeyInfoSummary
public static class EncryptionKeyInfoSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionKeyInfoSummary
build()
EncryptionKeyInfoSummary.Builder
copy(EncryptionKeyInfoSummary model)
EncryptionKeyInfoSummary.Builder
keyId(String keyId)
This is the key OCID of the encryption key (null if Oracle-managed).EncryptionKeyInfoSummary.Builder
keySource(EncryptionKeySource keySource)
This is the source of the encryption key.EncryptionKeyInfoSummary.Builder
keyType(EncryptionKeyType keyType)
This is the type of data to be encrypted.
-
-
-
Method Detail
-
keySource
public EncryptionKeyInfoSummary.Builder keySource(EncryptionKeySource keySource)
This is the source of the encryption key.- Parameters:
keySource
- the value to set- Returns:
- this builder
-
keyId
public EncryptionKeyInfoSummary.Builder keyId(String keyId)
This is the key OCID of the encryption key (null if Oracle-managed).- Parameters:
keyId
- the value to set- Returns:
- this builder
-
keyType
public EncryptionKeyInfoSummary.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 EncryptionKeyInfoSummary build()
-
copy
public EncryptionKeyInfoSummary.Builder copy(EncryptionKeyInfoSummary model)
-
-