@Generated(value="OracleSDKGenerator", comments="API Version: release") public final class HsmPartition extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Dedicated KMS-HSM Partition Management
Note: Objects should always be created or deserialized using the HsmPartition.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the HsmPartition.Builder
, which maintain a
set of all explicitly set fields called HsmPartition.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
HsmPartition.Builder |
static class |
HsmPartition.LifecycleState
A HSMCluster resource’s current lifecycle state.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HsmPartition(String id,
String compartmentId,
List<PortInformation> portInformation,
Date timeCreated,
Date timeUpdated,
HsmPartition.LifecycleState lifecycleState)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HsmPartition.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the compartment that contains a particular HSM resource.
|
String |
getId()
The OCID of the HSM resource.
|
HsmPartition.LifecycleState |
getLifecycleState()
A HSMCluster resource’s current lifecycle state.
|
List<PortInformation> |
getPortInformation()
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)
|
Date |
getTimeCreated()
The date and time a HSMPartition was created, expressed in RFC
3339 timestamp format.
|
Date |
getTimeUpdated()
The date and time a HSMPartition was updated, expressed in RFC
3339 timestamp format.
|
int |
hashCode() |
HsmPartition.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","portInformation","timeCreated","timeUpdated","lifecycleState"}) public HsmPartition(String id, String compartmentId, List<PortInformation> portInformation, Date timeCreated, Date timeUpdated, HsmPartition.LifecycleState lifecycleState)
public static HsmPartition.Builder builder()
Create a new builder.
public HsmPartition.Builder toBuilder()
public String getId()
The OCID of the HSM resource. Each HSM resource has a unique OCID as an identifier.
public String getCompartmentId()
The OCID of the compartment that contains a particular HSM resource.
public List<PortInformation> getPortInformation()
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)
public Date getTimeCreated()
The date and time a HSMPartition was created, expressed in RFC 3339 timestamp format.
Example: 2018-04-03T21:10:29.600Z
public Date getTimeUpdated()
The date and time a HSMPartition was updated, expressed in RFC 3339 timestamp format.
Example: 2018-04-03T21:10:29.600Z
public HsmPartition.LifecycleState getLifecycleState()
A HSMCluster resource’s current lifecycle state.
Example: ACTIVE
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.