@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Hsm extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.
Constructor and Description |
---|
Hsm() |
Modifier and Type | Method and Description |
---|---|
Hsm |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone that contains the HSM.
|
String |
getClusterId()
The identifier (ID) of the cluster that contains the HSM.
|
String |
getEniId()
The identifier (ID) of the HSM's elastic network interface (ENI).
|
String |
getEniIp()
The IP address of the HSM's elastic network interface (ENI).
|
String |
getHsmId()
The HSM's identifier (ID).
|
String |
getState()
The HSM's state.
|
String |
getStateMessage()
A description of the HSM's state.
|
String |
getSubnetId()
The subnet that contains the HSM's elastic network interface (ENI).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone that contains the HSM.
|
void |
setClusterId(String clusterId)
The identifier (ID) of the cluster that contains the HSM.
|
void |
setEniId(String eniId)
The identifier (ID) of the HSM's elastic network interface (ENI).
|
void |
setEniIp(String eniIp)
The IP address of the HSM's elastic network interface (ENI).
|
void |
setHsmId(String hsmId)
The HSM's identifier (ID).
|
void |
setState(String state)
The HSM's state.
|
void |
setStateMessage(String stateMessage)
A description of the HSM's state.
|
void |
setSubnetId(String subnetId)
The subnet that contains the HSM's elastic network interface (ENI).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Hsm |
withAvailabilityZone(String availabilityZone)
The Availability Zone that contains the HSM.
|
Hsm |
withClusterId(String clusterId)
The identifier (ID) of the cluster that contains the HSM.
|
Hsm |
withEniId(String eniId)
The identifier (ID) of the HSM's elastic network interface (ENI).
|
Hsm |
withEniIp(String eniIp)
The IP address of the HSM's elastic network interface (ENI).
|
Hsm |
withHsmId(String hsmId)
The HSM's identifier (ID).
|
Hsm |
withState(HsmState state)
The HSM's state.
|
Hsm |
withState(String state)
The HSM's state.
|
Hsm |
withStateMessage(String stateMessage)
A description of the HSM's state.
|
Hsm |
withSubnetId(String subnetId)
The subnet that contains the HSM's elastic network interface (ENI).
|
public void setAvailabilityZone(String availabilityZone)
The Availability Zone that contains the HSM.
availabilityZone
- The Availability Zone that contains the HSM.public String getAvailabilityZone()
The Availability Zone that contains the HSM.
public Hsm withAvailabilityZone(String availabilityZone)
The Availability Zone that contains the HSM.
availabilityZone
- The Availability Zone that contains the HSM.public void setClusterId(String clusterId)
The identifier (ID) of the cluster that contains the HSM.
clusterId
- The identifier (ID) of the cluster that contains the HSM.public String getClusterId()
The identifier (ID) of the cluster that contains the HSM.
public Hsm withClusterId(String clusterId)
The identifier (ID) of the cluster that contains the HSM.
clusterId
- The identifier (ID) of the cluster that contains the HSM.public void setSubnetId(String subnetId)
The subnet that contains the HSM's elastic network interface (ENI).
subnetId
- The subnet that contains the HSM's elastic network interface (ENI).public String getSubnetId()
The subnet that contains the HSM's elastic network interface (ENI).
public Hsm withSubnetId(String subnetId)
The subnet that contains the HSM's elastic network interface (ENI).
subnetId
- The subnet that contains the HSM's elastic network interface (ENI).public void setEniId(String eniId)
The identifier (ID) of the HSM's elastic network interface (ENI).
eniId
- The identifier (ID) of the HSM's elastic network interface (ENI).public String getEniId()
The identifier (ID) of the HSM's elastic network interface (ENI).
public Hsm withEniId(String eniId)
The identifier (ID) of the HSM's elastic network interface (ENI).
eniId
- The identifier (ID) of the HSM's elastic network interface (ENI).public void setEniIp(String eniIp)
The IP address of the HSM's elastic network interface (ENI).
eniIp
- The IP address of the HSM's elastic network interface (ENI).public String getEniIp()
The IP address of the HSM's elastic network interface (ENI).
public Hsm withEniIp(String eniIp)
The IP address of the HSM's elastic network interface (ENI).
eniIp
- The IP address of the HSM's elastic network interface (ENI).public void setHsmId(String hsmId)
The HSM's identifier (ID).
hsmId
- The HSM's identifier (ID).public String getHsmId()
The HSM's identifier (ID).
public Hsm withHsmId(String hsmId)
The HSM's identifier (ID).
hsmId
- The HSM's identifier (ID).public void setState(String state)
The HSM's state.
state
- The HSM's state.HsmState
public Hsm withState(String state)
The HSM's state.
state
- The HSM's state.HsmState
public Hsm withState(HsmState state)
The HSM's state.
state
- The HSM's state.HsmState
public void setStateMessage(String stateMessage)
A description of the HSM's state.
stateMessage
- A description of the HSM's state.public String getStateMessage()
A description of the HSM's state.
public Hsm withStateMessage(String stateMessage)
A description of the HSM's state.
stateMessage
- A description of the HSM's state.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.