public class DescribeHsmRequest extends AmazonWebServiceRequest implements Serializable
DescribeHsm operation.
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
NOOP| Constructor and Description |
|---|
DescribeHsmRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getHsmArn()
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}
public void setHsmArn(String hsmArn)
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}
hsmArn - The ARN of the HSM. Either the HsmArn or the
SerialNumber parameter must be specified.public DescribeHsmRequest withHsmArn(String hsmArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}
hsmArn - The ARN of the HSM. Either the HsmArn or the
SerialNumber parameter must be specified.public String getHsmSerialNumber()
Constraints:
Pattern: \d{1,16}
public void setHsmSerialNumber(String hsmSerialNumber)
Constraints:
Pattern: \d{1,16}
hsmSerialNumber - The serial number of the HSM. Either the HsmArn or the
HsmSerialNumber parameter must be specified.public DescribeHsmRequest withHsmSerialNumber(String hsmSerialNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d{1,16}
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()Copyright © 2015. All rights reserved.