Class HsmCluster.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.HsmCluster.Builder
 
- 
- Enclosing class:
- HsmCluster
 
 public static class HsmCluster.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmClusterbuild()HsmCluster.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this HSMCluster resource.HsmCluster.Buildercopy(HsmCluster model)HsmCluster.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.HsmCluster.BuilderdisplayName(String displayName)A user-friendly display name for the HSMCluster resource.HsmCluster.BuilderdnsName(String dnsName)DNS name for the HSM Cluster – this will contain information about the region as well.HsmCluster.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.HsmCluster.Builderid(String id)The OCID of the HSMCluster resource.HsmCluster.BuilderlifecycleState(HsmCluster.LifecycleState lifecycleState)The HSMCluster’s current state.HsmCluster.BuildertimeCreated(Date timeCreated)The date and time this HSM resource was created, expressed in RFC 3339 timestamp format.HsmCluster.BuildertimeOfDeletion(Date timeOfDeletion)An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format.HsmCluster.BuildertimeUpdated(Date timeUpdated)The date and time this HSM resource was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic HsmCluster.Builder id(String id) The OCID of the HSMCluster resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic HsmCluster.Builder compartmentId(String compartmentId) The OCID of the compartment that contains this HSMCluster resource.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic HsmCluster.Builder lifecycleState(HsmCluster.LifecycleState lifecycleState) The HSMCluster’s current state.Example: ACTIVE - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
dnsNamepublic 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
 
 - 
timeOfDeletionpublic 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
 
 - 
definedTagspublic 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
 
 - 
freeformTagspublic 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
 
 - 
buildpublic HsmCluster build() 
 - 
copypublic HsmCluster.Builder copy(HsmCluster model) 
 
- 
 
-