public static class HsmPartitionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public HsmPartitionSummary.Builder id(String id)
The OCID of the HSM resource. Each HSM resource will have a unique OCID identifier.
id
- the value to setpublic HsmPartitionSummary.Builder hsmClusterId(String hsmClusterId)
The OCID of the HSMCluster that contains a particular HSM resource.
hsmClusterId
- the value to setpublic HsmPartitionSummary.Builder lifecycleState(HsmPartition.LifecycleState lifecycleState)
A HSMCluster resource’s current lifecycle state.
Example: ACTIVE
lifecycleState
- the value to setpublic HsmPartitionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains a particular HSM resource.
compartmentId
- the value to setpublic 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)
portInformation
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic HsmPartitionSummary build()
public HsmPartitionSummary.Builder copy(HsmPartitionSummary model)
Copyright © 2016–2024. All rights reserved.