@Generated(value="software.amazon.awssdk:codegen") public class Hsm extends Object implements StructuredPojo, ToCopyableBuilder<Hsm.Builder,Hsm>
Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
Hsm.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone that contains the HSM.
|
static Hsm.Builder |
builder() |
String |
clusterId()
The identifier (ID) of the cluster that contains the HSM.
|
String |
eniId()
The identifier (ID) of the HSM's elastic network interface (ENI).
|
String |
eniIp()
The IP address of the HSM's elastic network interface (ENI).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hsmId()
The HSM's identifier (ID).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Hsm.Builder> |
serializableBuilderClass() |
HsmState |
state()
The HSM's state.
|
String |
stateMessage()
A description of the HSM's state.
|
String |
stateString()
The HSM's state.
|
String |
subnetId()
The subnet that contains the HSM's elastic network interface (ENI).
|
Hsm.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String availabilityZone()
The Availability Zone that contains the HSM.
public String clusterId()
The identifier (ID) of the cluster that contains the HSM.
public String subnetId()
The subnet that contains the HSM's elastic network interface (ENI).
public String eniId()
The identifier (ID) of the HSM's elastic network interface (ENI).
public String eniIp()
The IP address of the HSM's elastic network interface (ENI).
public String hsmId()
The HSM's identifier (ID).
public HsmState state()
The HSM's state.
If the service returns an enum value that is not available in the current SDK version, state
will return
HsmState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
HsmState
public String stateString()
The HSM's state.
If the service returns an enum value that is not available in the current SDK version, state
will return
HsmState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
HsmState
public String stateMessage()
A description of the HSM's state.
public Hsm.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Hsm.Builder,Hsm>
public static Hsm.Builder builder()
public static Class<? extends Hsm.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.