Class HsmClusterSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.HsmClusterSummary.Builder
-
- Enclosing class:
- HsmClusterSummary
public static class HsmClusterSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmClusterSummarybuild()HsmClusterSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains a particular HSMCluster resource.HsmClusterSummary.Buildercopy(HsmClusterSummary model)HsmClusterSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.HsmClusterSummary.BuilderdisplayName(String displayName)A user-friendly name for a HSMCluster resource.HsmClusterSummary.BuilderdnsName(String dnsName)DNS name for the HSMCluster – this will contain information about the region as well.HsmClusterSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.HsmClusterSummary.Builderid(String id)The OCID of a HSMCluster resource.HsmClusterSummary.BuilderlifecycleState(HsmCluster.LifecycleState lifecycleState)A HSMCluster resource’s current lifecycle state.HsmClusterSummary.BuildertimeCreated(Date timeCreated)The date and time a dedicated KMS resource was created, expressed in RFC 3339 timestamp format.HsmClusterSummary.BuildertimeOfDeletion(Date timeOfDeletion)An optional property indicating when to delete the resource, expressed in RFC 3339 timestamp format.HsmClusterSummary.BuildertimeUpdated(Date timeUpdated)The date and time a dedicated KMS resource was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public HsmClusterSummary.Builder id(String id)
The OCID of a HSMCluster resource.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public HsmClusterSummary.Builder displayName(String displayName)
A user-friendly name for a 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
-
compartmentId
public HsmClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains a particular HSMCluster resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public HsmClusterSummary.Builder lifecycleState(HsmCluster.LifecycleState lifecycleState)
A HSMCluster resource’s current lifecycle state.Example: ACTIVE
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
dnsName
public HsmClusterSummary.Builder dnsName(String dnsName)
DNS name for the HSMCluster – this will contain information about the region as well.- Parameters:
dnsName- the value to set- Returns:
- this builder
-
timeCreated
public HsmClusterSummary.Builder timeCreated(Date timeCreated)
The date and time a dedicated KMS 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 HsmClusterSummary.Builder timeUpdated(Date timeUpdated)
The date and time a dedicated KMS 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
-
timeOfDeletion
public HsmClusterSummary.Builder timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the resource, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z
- Parameters:
timeOfDeletion- the value to set- Returns:
- this builder
-
definedTags
public HsmClusterSummary.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 HsmClusterSummary.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 HsmClusterSummary build()
-
copy
public HsmClusterSummary.Builder copy(HsmClusterSummary model)
-
-