public static interface SendTestEventNotificationRequest.Builder extends MTurkRequest.Builder, CopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>
Modifier and Type | Method and Description |
---|---|
default SendTestEventNotificationRequest.Builder |
notification(Consumer<NotificationSpecification.Builder> notification)
The notification specification to test.
|
SendTestEventNotificationRequest.Builder |
notification(NotificationSpecification notification)
The notification specification to test.
|
SendTestEventNotificationRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SendTestEventNotificationRequest.Builder |
testEventType(EventType testEventType)
The event to simulate to test the notification specification.
|
SendTestEventNotificationRequest.Builder |
testEventType(String testEventType)
The event to simulate to test the notification specification.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
SendTestEventNotificationRequest.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.Builder
notification(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
,
EventType
SendTestEventNotificationRequest.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
,
EventType
SendTestEventNotificationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.