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 DescribeHsmRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetHsmArn()The ARN of the HSM.StringgetHsmSerialNumber()The serial number of the HSM.inthashCode()voidsetHsmArn(String hsmArn)The ARN of the HSM.voidsetHsmSerialNumber(String hsmSerialNumber)The serial number of the HSM.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeHsmRequestwithHsmArn(String hsmArn)The ARN of the HSM.DescribeHsmRequestwithHsmSerialNumber(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeHsmRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-