Class AuthenticationFailedException

    • Constructor Detail

      • AuthenticationFailedException

        public AuthenticationFailedException​(String message)
        Constructs a new AuthenticationFailedException with the specified error message.
        Parameters:
        message - Describes the error encountered.
    • Method Detail

      • setRequestId

        public void setRequestId​(String requestId)

        The identifier of the request that caused the exception.

        Overrides:
        setRequestId in class AmazonServiceException
        Parameters:
        requestId - The identifier of the request that caused the exception.
      • getRequestId

        public String getRequestId()

        The identifier of the request that caused the exception.

        Overrides:
        getRequestId in class AmazonServiceException
        Returns:
        The identifier of the request that caused the exception.
      • withRequestId

        public AuthenticationFailedException withRequestId​(String requestId)

        The identifier of the request that caused the exception.

        Parameters:
        requestId - The identifier of the request that caused the exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.