public class DescribeHsmRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the DescribeHsm operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hsmArn
The ARN of the HSM.
|
private java.lang.String |
hsmSerialNumber
The serial number of the HSM.
|
NOOP
Constructor and Description |
---|
DescribeHsmRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeHsmRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHsmArn()
The ARN of the HSM.
|
java.lang.String |
getHsmSerialNumber()
The serial number of the HSM.
|
int |
hashCode() |
void |
setHsmArn(java.lang.String hsmArn)
The ARN of the HSM.
|
void |
setHsmSerialNumber(java.lang.String hsmSerialNumber)
The serial number of the HSM.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeHsmRequest |
withHsmArn(java.lang.String hsmArn)
The ARN of the HSM.
|
DescribeHsmRequest |
withHsmSerialNumber(java.lang.String hsmSerialNumber)
The serial number of the HSM.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String hsmArn
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
private java.lang.String hsmSerialNumber
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
public void setHsmArn(java.lang.String hsmArn)
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
hsmArn
- The ARN of the HSM. Either the HsmArn or the
SerialNumber parameter must be specified.public java.lang.String getHsmArn()
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
public DescribeHsmRequest withHsmArn(java.lang.String hsmArn)
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
hsmArn
- The ARN of the HSM. Either the HsmArn or the
SerialNumber parameter must be specified.public void setHsmSerialNumber(java.lang.String hsmSerialNumber)
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
hsmSerialNumber
- The serial number of the HSM. Either the HsmArn or the
HsmSerialNumber parameter must be specified.public java.lang.String getHsmSerialNumber()
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
public DescribeHsmRequest withHsmSerialNumber(java.lang.String hsmSerialNumber)
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
hsmSerialNumber
- The serial number of the HSM. Either the HsmArn or the
HsmSerialNumber parameter must be specified.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeHsmRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()