Class KeyEncryptionCredentialDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.KeyEncryptionCredentialDetails.Builder
-
- Enclosing class:
- KeyEncryptionCredentialDetails
public static class KeyEncryptionCredentialDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyEncryptionCredentialDetails
build()
KeyEncryptionCredentialDetails.Builder
copy(KeyEncryptionCredentialDetails model)
KeyEncryptionCredentialDetails.Builder
keyId(String keyId)
OCID for the Vault Key that will be used to encrypt/decrypt the value given.KeyEncryptionCredentialDetails.Builder
keyVersion(String keyVersion)
The Vault Key version.KeyEncryptionCredentialDetails.Builder
value(String value)
The value corresponding to the credential.KeyEncryptionCredentialDetails.Builder
vaultId(String vaultId)
OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
-
-
-
Method Detail
-
value
public KeyEncryptionCredentialDetails.Builder value(String value)
The value corresponding to the credential.- Parameters:
value
- the value to set- Returns:
- this builder
-
keyId
public KeyEncryptionCredentialDetails.Builder keyId(String keyId)
OCID for the Vault Key that will be used to encrypt/decrypt the value given.- Parameters:
keyId
- the value to set- Returns:
- this builder
-
keyVersion
public KeyEncryptionCredentialDetails.Builder keyVersion(String keyVersion)
The Vault Key version.- Parameters:
keyVersion
- the value to set- Returns:
- this builder
-
vaultId
public KeyEncryptionCredentialDetails.Builder vaultId(String vaultId)
OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.- Parameters:
vaultId
- the value to set- Returns:
- this builder
-
build
public KeyEncryptionCredentialDetails build()
-
copy
public KeyEncryptionCredentialDetails.Builder copy(KeyEncryptionCredentialDetails model)
-
-