Interface SendUsersMessageResponse.Builder

    • Method Detail

      • applicationId

        SendUsersMessageResponse.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.
      • requestId

        SendUsersMessageResponse.Builder requestId​(String requestId)

        The unique identifier that was assigned to the message request.

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

        SendUsersMessageResponse.Builder result​(Map<String,​? extends Map<String,​EndpointMessageResult>> result)

        An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.

        Parameters:
        result - An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.