Class DescribeHsmRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudhsm.model.DescribeHsmRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeHsmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the DescribeHsm operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeHsmRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setHsmArn
public void setHsmArn(String hsmArn)
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
- Parameters:
hsmArn
- The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
-
getHsmArn
public String getHsmArn()
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
- Returns:
- The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
-
withHsmArn
public DescribeHsmRequest withHsmArn(String hsmArn)
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
- Parameters:
hsmArn
- The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHsmSerialNumber
public void setHsmSerialNumber(String hsmSerialNumber)
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
- Parameters:
hsmSerialNumber
- The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
-
getHsmSerialNumber
public String getHsmSerialNumber()
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
- Returns:
- The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
-
withHsmSerialNumber
public DescribeHsmRequest withHsmSerialNumber(String hsmSerialNumber)
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
- Parameters:
hsmSerialNumber
- The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeHsmRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-