Class HsmCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.HsmCluster.Builder
-
- Enclosing class:
- HsmCluster
public static class HsmCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmCluster
build()
HsmCluster.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains this HSMCluster resource.HsmCluster.Builder
copy(HsmCluster model)
HsmCluster.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.HsmCluster.Builder
displayName(String displayName)
A user-friendly display name for the HSMCluster resource.HsmCluster.Builder
dnsName(String dnsName)
DNS name for the HSM Cluster – this will contain information about the region as well.HsmCluster.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.HsmCluster.Builder
id(String id)
The OCID of the HSMCluster resource.HsmCluster.Builder
lifecycleState(HsmCluster.LifecycleState lifecycleState)
The HSMCluster’s current state.HsmCluster.Builder
timeCreated(Date timeCreated)
The date and time this HSM resource was created, expressed in RFC 3339 timestamp format.HsmCluster.Builder
timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format.HsmCluster.Builder
timeUpdated(Date timeUpdated)
The date and time this HSM resource was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public HsmCluster.Builder id(String id)
The OCID of the HSMCluster resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public HsmCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this HSMCluster resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public HsmCluster.Builder displayName(String displayName)
A user-friendly display name for the HSMCluster resource.It does not have to be unique, and it is changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public HsmCluster.Builder timeCreated(Date timeCreated)
The date and time this HSM resource was created, expressed in RFC 3339 timestamp format.Example: 2023-04-03T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public HsmCluster.Builder timeUpdated(Date timeUpdated)
The date and time this HSM resource was updated, expressed in RFC 3339 timestamp format.Example: 2023-04-03T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public HsmCluster.Builder lifecycleState(HsmCluster.LifecycleState lifecycleState)
The HSMCluster’s current state.Example: ACTIVE
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
dnsName
public HsmCluster.Builder dnsName(String dnsName)
DNS name for the HSM Cluster – this will contain information about the region as well.- Parameters:
dnsName
- the value to set- Returns:
- this builder
-
timeOfDeletion
public HsmCluster.Builder timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z
- Parameters:
timeOfDeletion
- the value to set- Returns:
- this builder
-
definedTags
public HsmCluster.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
-
freeformTags
public HsmCluster.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
-
build
public HsmCluster build()
-
copy
public HsmCluster.Builder copy(HsmCluster model)
-
-