Class DescribeHsmRequest

    • Constructor Detail

      • DescribeHsmRequest

        public DescribeHsmRequest()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object