Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Vault |
build() |
Vault.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this vault.
|
Vault.Builder |
copy(Vault model) |
Vault.Builder |
cryptoEndpoint(String cryptoEndpoint)
The service endpoint to perform cryptographic operations against.
|
Vault.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Vault.Builder |
displayName(String displayName)
A user-friendly name for the vault.
|
Vault.Builder |
externalKeyManagerMetadataSummary(ExternalKeyManagerMetadataSummary externalKeyManagerMetadataSummary) |
Vault.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Vault.Builder |
id(String id)
The OCID of the vault.
|
Vault.Builder |
isPrimary(Boolean isPrimary)
A Boolean value that indicates whether the Vault is primary Vault or replica Vault.
|
Vault.Builder |
isVaultReplicable(Boolean isVaultReplicable)
A Boolean value that indicates whether the Vault has cross region replication capability.
|
Vault.Builder |
lifecycleState(Vault.LifecycleState lifecycleState)
The vault’s current lifecycle state.
|
Vault.Builder |
managementEndpoint(String managementEndpoint)
The service endpoint to perform management operations against.
|
Vault.Builder |
replicaDetails(VaultReplicaDetails replicaDetails) |
Vault.Builder |
restoredFromVaultId(String restoredFromVaultId)
The OCID of the vault from which this vault was restored, if it was restored from a
backup file.
|
Vault.Builder |
timeCreated(Date timeCreated)
The date and time this vault was created, expressed in RFC
3339 timestamp format.
|
Vault.Builder |
timeOfDeletion(Date timeOfDeletion)
An optional property to indicate when to delete the vault, expressed in RFC
3339 timestamp format.
|
Vault.Builder |
vaultType(Vault.VaultType vaultType)
The type of vault.
|
Vault.Builder |
wrappingkeyId(String wrappingkeyId)
The OCID of the vault’s wrapping key.
|
public Vault.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this vault.
compartmentId
- the value to setpublic Vault.Builder cryptoEndpoint(String cryptoEndpoint)
The service endpoint to perform cryptographic operations against. Cryptographic operations include Encrypt, Decrypt, and GenerateDataEncryptionKey operations.
cryptoEndpoint
- the value to setpublic Vault.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Vault.Builder displayName(String displayName)
A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.
displayName
- the value to setpublic Vault.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic Vault.Builder id(String id)
The OCID of the vault.
id
- the value to setpublic Vault.Builder lifecycleState(Vault.LifecycleState lifecycleState)
The vault’s current lifecycle state.
Example: DELETED
lifecycleState
- the value to setpublic Vault.Builder managementEndpoint(String managementEndpoint)
The service endpoint to perform management operations against. Management operations include “Create,” “Update,” “List,” “Get,” and “Delete” operations.
managementEndpoint
- the value to setpublic Vault.Builder timeCreated(Date timeCreated)
The date and time this vault was created, expressed in RFC 3339 timestamp format.
Example: 2018-04-03T21:10:29.600Z
timeCreated
- the value to setpublic Vault.Builder timeOfDeletion(Date timeOfDeletion)
An optional property to indicate when to delete the vault, expressed in RFC
3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
timeOfDeletion
- the value to setpublic Vault.Builder vaultType(Vault.VaultType vaultType)
The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing.
vaultType
- the value to setpublic Vault.Builder restoredFromVaultId(String restoredFromVaultId)
The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.
restoredFromVaultId
- the value to setpublic Vault.Builder wrappingkeyId(String wrappingkeyId)
The OCID of the vault’s wrapping key.
wrappingkeyId
- the value to setpublic Vault.Builder replicaDetails(VaultReplicaDetails replicaDetails)
public Vault.Builder isPrimary(Boolean isPrimary)
A Boolean value that indicates whether the Vault is primary Vault or replica Vault.
isPrimary
- the value to setpublic Vault.Builder isVaultReplicable(Boolean isVaultReplicable)
A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults.
isVaultReplicable
- the value to setpublic Vault.Builder externalKeyManagerMetadataSummary(ExternalKeyManagerMetadataSummary externalKeyManagerMetadataSummary)
public Vault build()
public Vault.Builder copy(Vault model)
Copyright © 2016–2024. All rights reserved.