Class Failure

    • Constructor Detail

      • Failure

        public Failure()
    • Method Detail

      • setArn

        public void setArn​(String arn)

        The Amazon Resource Name (ARN) of the failed resource.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the failed resource.
      • getArn

        public String getArn()

        The Amazon Resource Name (ARN) of the failed resource.

        Returns:
        The Amazon Resource Name (ARN) of the failed resource.
      • withArn

        public Failure withArn​(String arn)

        The Amazon Resource Name (ARN) of the failed resource.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the failed resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReason

        public void setReason​(String reason)

        The reason for the failure.

        Parameters:
        reason - The reason for the failure.
      • getReason

        public String getReason()

        The reason for the failure.

        Returns:
        The reason for the failure.
      • withReason

        public Failure withReason​(String reason)

        The reason for the failure.

        Parameters:
        reason - The reason for the failure.
        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