Interface ErrorResponse.Builder

    • Method Detail

      • accountId

        ErrorResponse.Builder accountId​(String accountId)

        The Amazon Web Services account ID of the resource owner.

        Parameters:
        accountId - The Amazon Web Services account ID of the resource owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalDetails

        ErrorResponse.Builder additionalDetails​(Map<String,​String> additionalDetails)

        Additional details about the error.

        Parameters:
        additionalDetails - Additional details about the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • code

        ErrorResponse.Builder code​(String code)

        The error code associated with the error.

        Parameters:
        code - The error code associated with the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • code

        ErrorResponse.Builder code​(ErrorCode code)

        The error code associated with the error.

        Parameters:
        code - The error code associated with the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • message

        ErrorResponse.Builder message​(String message)

        The message associated with the error.

        Parameters:
        message - The message associated with the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIdentifier

        ErrorResponse.Builder resourceIdentifier​(String resourceIdentifier)

        The ID of the resource.

        Parameters:
        resourceIdentifier - The ID of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.