Class HsmPartitionSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.HsmPartitionSummary.Builder
 
- 
- Enclosing class:
- HsmPartitionSummary
 
 public static class HsmPartitionSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HsmPartitionSummarybuild()HsmPartitionSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains a particular HSM resource.HsmPartitionSummary.Buildercopy(HsmPartitionSummary model)HsmPartitionSummary.BuilderhsmClusterId(String hsmClusterId)The OCID of the HSMCluster that contains a particular HSM resource.HsmPartitionSummary.Builderid(String id)The OCID of the HSM resource.HsmPartitionSummary.BuilderlifecycleState(HsmPartition.LifecycleState lifecycleState)A HSMCluster resource’s current lifecycle state.HsmPartitionSummary.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)HsmPartitionSummary.BuildertimeCreated(Date timeCreated)The date and time an HSM was created, expressed in RFC 3339 timestamp format.HsmPartitionSummary.BuildertimeUpdated(Date timeUpdated)The date and time an HSM was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic 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
 
 - 
hsmClusterIdpublic 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
 
 - 
lifecycleStatepublic HsmPartitionSummary.Builder lifecycleState(HsmPartition.LifecycleState lifecycleState) A HSMCluster resource’s current lifecycle state.Example: ACTIVE - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic 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
 
 - 
portInformationpublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
buildpublic HsmPartitionSummary build() 
 - 
copypublic HsmPartitionSummary.Builder copy(HsmPartitionSummary model) 
 
- 
 
-