public static class KeyEncryptionCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public KeyEncryptionCredentialDetails.Builder value(String value)
The value corresponding to the credential.
value
- the value to setpublic KeyEncryptionCredentialDetails.Builder keyId(String keyId)
OCID for the Vault Key that will be used to encrypt/decrypt the value given.
keyId
- the value to setpublic KeyEncryptionCredentialDetails.Builder keyVersion(String keyVersion)
The Vault Key version.
keyVersion
- the value to setpublic KeyEncryptionCredentialDetails.Builder vaultId(String vaultId)
OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
vaultId
- the value to setpublic KeyEncryptionCredentialDetails build()
public KeyEncryptionCredentialDetails.Builder copy(KeyEncryptionCredentialDetails model)
Copyright © 2016–2024. All rights reserved.