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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
public DescribeHsmRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.