public class DescribeHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the DescribeHsm action.
NOOP| Constructor and Description |
|---|
DescribeHsmRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeHsmRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getHsmArn()
The ARN of the HSM.
|
String |
getHsmSerialNumber()
The serial number of the HSM.
|
int |
hashCode() |
void |
setHsmArn(String hsmArn)
The ARN of the HSM.
|
void |
setHsmSerialNumber(String hsmSerialNumber)
The serial number of the HSM.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeHsmRequest |
withHsmArn(String hsmArn)
The ARN of the HSM.
|
DescribeHsmRequest |
withHsmSerialNumber(String hsmSerialNumber)
The serial number of the HSM.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setHsmArn(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 String getHsmArn()
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
public DescribeHsmRequest withHsmArn(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(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 String getHsmSerialNumber()
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
public DescribeHsmRequest withHsmSerialNumber(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 String toString()
toString in class ObjectObject.toString()public DescribeHsmRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.