public static class ImportKeyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImportKeyDetails.Builder |
autoKeyRotationDetails(AutoKeyRotationDetails autoKeyRotationDetails) |
ImportKeyDetails |
build() |
ImportKeyDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this key.
|
ImportKeyDetails.Builder |
copy(ImportKeyDetails model) |
ImportKeyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
ImportKeyDetails.Builder |
displayName(String displayName)
A user-friendly name for the key.
|
ImportKeyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
ImportKeyDetails.Builder |
isAutoRotationEnabled(Boolean isAutoRotationEnabled)
A parameter specifying whether the auto key rotation is enabled or not.
|
ImportKeyDetails.Builder |
keyShape(KeyShape keyShape) |
ImportKeyDetails.Builder |
protectionMode(ImportKeyDetails.ProtectionMode protectionMode)
The key’s protection mode indicates how the key persists and where cryptographic
operations that use the key are performed.
|
ImportKeyDetails.Builder |
wrappedImportKey(WrappedImportKey wrappedImportKey) |
public ImportKeyDetails.Builder isAutoRotationEnabled(Boolean isAutoRotationEnabled)
A parameter specifying whether the auto key rotation is enabled or not.
isAutoRotationEnabled
- the value to setpublic ImportKeyDetails.Builder autoKeyRotationDetails(AutoKeyRotationDetails autoKeyRotationDetails)
public ImportKeyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this key.
compartmentId
- the value to setpublic ImportKeyDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "foo-value"}}
definedTags
- the value to setpublic ImportKeyDetails.Builder displayName(String displayName)
A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
displayName
- the value to setpublic ImportKeyDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ImportKeyDetails.Builder keyShape(KeyShape keyShape)
public ImportKeyDetails.Builder wrappedImportKey(WrappedImportKey wrappedImportKey)
public ImportKeyDetails.Builder protectionMode(ImportKeyDetails.ProtectionMode protectionMode)
The key’s protection mode indicates how the key persists and where cryptographic
operations that use the key are performed. A protection mode of HSM
means that
the key persists on a hardware security module (HSM) and all cryptographic operations are
performed inside the HSM. A protection mode of SOFTWARE
means that the key
persists on the server, protected by the vault’s RSA wrapping key which persists on the
HSM. All cryptographic operations that use a key with a protection mode of SOFTWARE
are performed on the server. By default, a key’s protection mode is set to
HSM
. You can’t change a key’s protection mode after the key is created or
imported.
protectionMode
- the value to setpublic ImportKeyDetails build()
public ImportKeyDetails.Builder copy(ImportKeyDetails model)
Copyright © 2016–2024. All rights reserved.