Class HsmPartitionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.HsmPartitionSummary.Builder
-
- Enclosing class:
- HsmPartitionSummary
public static class HsmPartitionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmPartitionSummary
build()
HsmPartitionSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains a particular HSM resource.HsmPartitionSummary.Builder
copy(HsmPartitionSummary model)
HsmPartitionSummary.Builder
hsmClusterId(String hsmClusterId)
The OCID of the HSMCluster that contains a particular HSM resource.HsmPartitionSummary.Builder
id(String id)
The OCID of the HSM resource.HsmPartitionSummary.Builder
lifecycleState(HsmPartition.LifecycleState lifecycleState)
A HSMCluster resource’s current lifecycle state.HsmPartitionSummary.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)HsmPartitionSummary.Builder
timeCreated(Date timeCreated)
The date and time an HSM was created, expressed in RFC 3339 timestamp format.HsmPartitionSummary.Builder
timeUpdated(Date timeUpdated)
The date and time an HSM was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public HsmPartitionSummary.Builder id(String id)
The OCID of the HSM resource.Each HSM resource will have a unique OCID identifier.
- Parameters:
id
- the value to set- Returns:
- this builder
-
hsmClusterId
public HsmPartitionSummary.Builder hsmClusterId(String hsmClusterId)
The OCID of the HSMCluster that contains a particular HSM resource.- Parameters:
hsmClusterId
- the value to set- Returns:
- this builder
-
lifecycleState
public HsmPartitionSummary.Builder lifecycleState(HsmPartition.LifecycleState lifecycleState)
A HSMCluster resource’s current lifecycle state.Example: ACTIVE
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
compartmentId
public HsmPartitionSummary.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 HsmPartitionSummary.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 HsmPartitionSummary.Builder timeCreated(Date timeCreated)
The date and time an HSM 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 HsmPartitionSummary.Builder timeUpdated(Date timeUpdated)
The date and time an HSM was updated, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public HsmPartitionSummary build()
-
copy
public HsmPartitionSummary.Builder copy(HsmPartitionSummary model)
-
-