Class Vault.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.Vault.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Vaultbuild()Vault.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this vault.Vault.Buildercopy(Vault model)Vault.BuildercryptoEndpoint(String cryptoEndpoint)The service endpoint to perform cryptographic operations against.Vault.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Vault.BuilderdisplayName(String displayName)A user-friendly name for the vault.Vault.BuilderexternalKeyManagerMetadataSummary(ExternalKeyManagerMetadataSummary externalKeyManagerMetadataSummary)Vault.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Vault.Builderid(String id)The OCID of the vault.Vault.BuilderisPrimary(Boolean isPrimary)A Boolean value that indicates whether the Vault is primary Vault or replica Vault.Vault.BuilderisVaultReplicable(Boolean isVaultReplicable)A Boolean value that indicates whether the Vault has cross region replication capability.Vault.BuilderlifecycleState(Vault.LifecycleState lifecycleState)The vault’s current lifecycle state.Vault.BuildermanagementEndpoint(String managementEndpoint)The service endpoint to perform management operations against.Vault.BuilderreplicaDetails(VaultReplicaDetails replicaDetails)Vault.BuilderrestoredFromVaultId(String restoredFromVaultId)The OCID of the vault from which this vault was restored, if it was restored from a backup file.Vault.BuildertimeCreated(Date timeCreated)The date and time this vault was created, expressed in RFC 3339 timestamp format.Vault.BuildertimeOfDeletion(Date timeOfDeletion)An optional property to indicate when to delete the vault, expressed in RFC 3339 timestamp format.Vault.BuildervaultType(Vault.VaultType vaultType)The type of vault.Vault.BuilderwrappingkeyId(String wrappingkeyId)The OCID of the vault’s wrapping key.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic Vault.Builder compartmentId(String compartmentId) The OCID of the compartment that contains this vault.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
cryptoEndpointpublic Vault.Builder cryptoEndpoint(String cryptoEndpoint) The service endpoint to perform cryptographic operations against.Cryptographic operations include Encrypt, Decrypt, and GenerateDataEncryptionKey operations. - Parameters:
- cryptoEndpoint- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
idpublic Vault.Builder id(String id) The OCID of the vault.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Vault.Builder lifecycleState(Vault.LifecycleState lifecycleState) The vault’s current lifecycle state.Example: DELETED - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
managementEndpointpublic Vault.Builder managementEndpoint(String managementEndpoint) The service endpoint to perform management operations against.Management operations include “Create,” “Update,” “List,” “Get,” and “Delete” operations. - Parameters:
- managementEndpoint- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeOfDeletionpublic 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 - Parameters:
- timeOfDeletion- the value to set
- Returns:
- this builder
 
 - 
vaultTypepublic 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. - Parameters:
- vaultType- the value to set
- Returns:
- this builder
 
 - 
restoredFromVaultIdpublic 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. - Parameters:
- restoredFromVaultId- the value to set
- Returns:
- this builder
 
 - 
wrappingkeyIdpublic Vault.Builder wrappingkeyId(String wrappingkeyId) The OCID of the vault’s wrapping key.- Parameters:
- wrappingkeyId- the value to set
- Returns:
- this builder
 
 - 
replicaDetailspublic Vault.Builder replicaDetails(VaultReplicaDetails replicaDetails) 
 - 
isPrimarypublic Vault.Builder isPrimary(Boolean isPrimary) A Boolean value that indicates whether the Vault is primary Vault or replica Vault.- Parameters:
- isPrimary- the value to set
- Returns:
- this builder
 
 - 
isVaultReplicablepublic Vault.Builder isVaultReplicable(Boolean isVaultReplicable) A Boolean value that indicates whether the Vault has cross region replication capability.Always true for Virtual Private Vaults. - Parameters:
- isVaultReplicable- the value to set
- Returns:
- this builder
 
 - 
externalKeyManagerMetadataSummarypublic Vault.Builder externalKeyManagerMetadataSummary(ExternalKeyManagerMetadataSummary externalKeyManagerMetadataSummary) 
 - 
buildpublic Vault build() 
 - 
copypublic Vault.Builder copy(Vault model) 
 
- 
 
-