Interface MetricDataError.Builder

    • Method Detail

      • id

        MetricDataError.Builder id​(String id)

        The query identifier.

        Parameters:
        id - The query identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • code

        MetricDataError.Builder code​(String code)

        The query error code. Can be one of:

        • INTERNAL_FAILURE – Amazon SES has failed to process one of the queries.

        • ACCESS_DENIED – You have insufficient access to retrieve metrics based on the given query.

        Parameters:
        code - The query error code. Can be one of:

        • INTERNAL_FAILURE – Amazon SES has failed to process one of the queries.

        • ACCESS_DENIED – You have insufficient access to retrieve metrics based on the given query.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryErrorCode, QueryErrorCode
      • code

        MetricDataError.Builder code​(QueryErrorCode code)

        The query error code. Can be one of:

        • INTERNAL_FAILURE – Amazon SES has failed to process one of the queries.

        • ACCESS_DENIED – You have insufficient access to retrieve metrics based on the given query.

        Parameters:
        code - The query error code. Can be one of:

        • INTERNAL_FAILURE – Amazon SES has failed to process one of the queries.

        • ACCESS_DENIED – You have insufficient access to retrieve metrics based on the given query.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryErrorCode, QueryErrorCode
      • message

        MetricDataError.Builder message​(String message)

        The error message associated with the current query error.

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