Class HsmPartition.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.HsmPartition.Builder
-
- Enclosing class:
- HsmPartition
public static class HsmPartition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmPartitionbuild()HsmPartition.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains a particular HSM resource.HsmPartition.Buildercopy(HsmPartition model)HsmPartition.Builderid(String id)The OCID of the HSM resource.HsmPartition.BuilderlifecycleState(HsmPartition.LifecycleState lifecycleState)A HSMCluster resource’s current lifecycle state.HsmPartition.BuilderportInformation(List<PortInformation> portInformation)Details of a single portInformation item include the PortNumber (an integer used as an identifier) and the PortType (refers to either an enum value of Managementutility,Clientutility, or null)HsmPartition.BuildertimeCreated(Date timeCreated)The date and time a HSMPartition was created, expressed in RFC 3339 timestamp format.HsmPartition.BuildertimeUpdated(Date timeUpdated)The date and time a HSMPartition was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public HsmPartition.Builder id(String id)
The OCID of the HSM resource.Each HSM resource has a unique OCID as an identifier.
- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public HsmPartition.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains a particular HSM resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
portInformation
public HsmPartition.Builder portInformation(List<PortInformation> portInformation)
Details of a single portInformation item include the PortNumber (an integer used as an identifier) and the PortType (refers to either an enum value of Managementutility,Clientutility, or null)- Parameters:
portInformation- the value to set- Returns:
- this builder
-
timeCreated
public HsmPartition.Builder timeCreated(Date timeCreated)
The date and time a HSMPartition was created, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public HsmPartition.Builder timeUpdated(Date timeUpdated)
The date and time a HSMPartition was updated, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public HsmPartition.Builder lifecycleState(HsmPartition.LifecycleState lifecycleState)
A HSMCluster resource’s current lifecycle state.Example: ACTIVE
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
build
public HsmPartition build()
-
copy
public HsmPartition.Builder copy(HsmPartition model)
-
-