public static interface SendTestEventNotificationRequest.Builder extends MTurkRequest.Builder, CopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>
buildrequestOverrideConfigcopyapply, buildSendTestEventNotificationRequest.Builder notification(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.
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.default SendTestEventNotificationRequest.Builder notification(Consumer<NotificationSpecification.Builder> 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.
This is a convenience that creates an instance of theNotificationSpecification.Builder avoiding the
need to create one manually via NotificationSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to notification(NotificationSpecification).notification - a consumer that will call methods on NotificationSpecification.Buildernotification(NotificationSpecification)SendTestEventNotificationRequest.Builder testEventType(String 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.
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.EventType,
EventTypeSendTestEventNotificationRequest.Builder testEventType(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.
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.EventType,
EventTypeSendTestEventNotificationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SendTestEventNotificationRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.