Interface SendEventRequest.Builder

    • Method Detail

      • eventId

        SendEventRequest.Builder eventId​(String eventId)

        The event ID to upload.

        Parameters:
        eventId - The event ID to upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventTypeName

        SendEventRequest.Builder eventTypeName​(String eventTypeName)

        The event type name of the event.

        Parameters:
        eventTypeName - The event type name of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventTimestamp

        SendEventRequest.Builder eventTimestamp​(String eventTimestamp)

        The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

        Parameters:
        eventTimestamp - The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventVariables

        SendEventRequest.Builder eventVariables​(Map<String,​String> eventVariables)

        Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

        Parameters:
        eventVariables - Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assignedLabel

        SendEventRequest.Builder assignedLabel​(String assignedLabel)

        The label to associate with the event. Required if specifying labelTimestamp.

        Parameters:
        assignedLabel - The label to associate with the event. Required if specifying labelTimestamp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelTimestamp

        SendEventRequest.Builder labelTimestamp​(String labelTimestamp)

        The timestamp associated with the label. Required if specifying assignedLabel.

        Parameters:
        labelTimestamp - The timestamp associated with the label. Required if specifying assignedLabel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entities

        SendEventRequest.Builder entities​(Collection<Entity> entities)

        An array of entities.

        Parameters:
        entities - An array of entities.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entities

        SendEventRequest.Builder entities​(Entity... entities)

        An array of entities.

        Parameters:
        entities - An array of entities.
        Returns:
        Returns a reference to this object so that method calls can be chained together.