@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the DescribeHsm operation.
NOOP
Constructor and Description |
---|
DescribeHsmRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeHsmRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
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.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.