Class VaultSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.VaultSummary.Builder
-
- Enclosing class:
- VaultSummary
public static class VaultSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaultSummary
build()
VaultSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains a particular vault.VaultSummary.Builder
copy(VaultSummary model)
VaultSummary.Builder
cryptoEndpoint(String cryptoEndpoint)
The service endpoint to perform cryptographic operations against.VaultSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.VaultSummary.Builder
displayName(String displayName)
A user-friendly name for a vault.VaultSummary.Builder
externalKeyManagerMetadataSummary(ExternalKeyManagerMetadataSummary externalKeyManagerMetadataSummary)
VaultSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.VaultSummary.Builder
id(String id)
The OCID of a vault.VaultSummary.Builder
lifecycleState(VaultSummary.LifecycleState lifecycleState)
A vault’s current lifecycle state.VaultSummary.Builder
managementEndpoint(String managementEndpoint)
The service endpoint to perform management operations against.VaultSummary.Builder
timeCreated(Date timeCreated)
The date and time a vault was created, expressed in RFC 3339 timestamp format.VaultSummary.Builder
vaultType(VaultSummary.VaultType vaultType)
The type of vault.
-
-
-
Method Detail
-
compartmentId
public VaultSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains a particular vault.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
cryptoEndpoint
public VaultSummary.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
-
definedTags
public VaultSummary.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
-
displayName
public VaultSummary.Builder displayName(String displayName)
A user-friendly name for a 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
-
freeformTags
public VaultSummary.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
-
id
public VaultSummary.Builder id(String id)
The OCID of a vault.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public VaultSummary.Builder lifecycleState(VaultSummary.LifecycleState lifecycleState)
A vault’s current lifecycle state.Example: ACTIVE
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
managementEndpoint
public VaultSummary.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
-
timeCreated
public VaultSummary.Builder timeCreated(Date timeCreated)
The date and time a 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
-
vaultType
public VaultSummary.Builder vaultType(VaultSummary.VaultType vaultType)
The type of vault.Each type of vault stores keys with different degrees of isolation and has different options and pricing.
- Parameters:
vaultType
- the value to set- Returns:
- this builder
-
externalKeyManagerMetadataSummary
public VaultSummary.Builder externalKeyManagerMetadataSummary(ExternalKeyManagerMetadataSummary externalKeyManagerMetadataSummary)
-
build
public VaultSummary build()
-
copy
public VaultSummary.Builder copy(VaultSummary model)
-
-