Interface MessageResponse.Builder

  • Method Details

    • applicationId

      MessageResponse.Builder applicationId(String applicationId)

      The unique identifier for the application that was used to send the message.

      Parameters:
      applicationId - The unique identifier for the application that was used to send the message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointResult

      MessageResponse.Builder endpointResult(Map<String,EndpointMessageResult> endpointResult)

      A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.

      Parameters:
      endpointResult - A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      MessageResponse.Builder requestId(String requestId)

      The identifier for the original request that the message was delivered for.

      Parameters:
      requestId - The identifier for the original request that the message was delivered for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • result

      A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.

      Parameters:
      result - A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.