Class SendTestEventNotificationRequest

    • Method Detail

      • notification

        public final NotificationSpecification notification()

        The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.

        Returns:
        The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.
      • testEventType

        public final EventType testEventType()

        The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.

        If the service returns an enum value that is not available in the current SDK version, testEventType will return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from testEventTypeAsString().

        Returns:
        The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
        See Also:
        EventType
      • testEventTypeAsString

        public final String testEventTypeAsString()

        The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.

        If the service returns an enum value that is not available in the current SDK version, testEventType will return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from testEventTypeAsString().

        Returns:
        The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
        See Also:
        EventType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object