public static interface NotificationSpecification.Builder extends SdkPojo, CopyableBuilder<NotificationSpecification.Builder,NotificationSpecification>
Modifier and Type | Method and Description |
---|---|
NotificationSpecification.Builder |
destination(String destination)
The target for notification messages.
|
NotificationSpecification.Builder |
eventTypes(Collection<EventType> eventTypes)
The list of events that should cause notifications to be sent.
|
NotificationSpecification.Builder |
eventTypes(EventType... eventTypes)
The list of events that should cause notifications to be sent.
|
NotificationSpecification.Builder |
eventTypesWithStrings(Collection<String> eventTypes)
The list of events that should cause notifications to be sent.
|
NotificationSpecification.Builder |
eventTypesWithStrings(String... eventTypes)
The list of events that should cause notifications to be sent.
|
NotificationSpecification.Builder |
transport(NotificationTransport transport)
The method Amazon Mechanical Turk uses to send the notification.
|
NotificationSpecification.Builder |
transport(String transport)
The method Amazon Mechanical Turk uses to send the notification.
|
NotificationSpecification.Builder |
version(String version)
The version of the Notification API to use.
|
copy
applyMutation, build
NotificationSpecification.Builder destination(String destination)
The target for notification messages. The Destination’s format is determined by the specified Transport:
When Transport is Email, the Destination is your email address.
When Transport is SQS, the Destination is your queue URL.
When Transport is SNS, the Destination is the ARN of your topic.
destination
- The target for notification messages. The Destination’s format is determined by the specified
Transport:
When Transport is Email, the Destination is your email address.
When Transport is SQS, the Destination is your queue URL.
When Transport is SNS, the Destination is the ARN of your topic.
NotificationSpecification.Builder transport(String transport)
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.
transport
- The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.NotificationTransport
,
NotificationTransport
NotificationSpecification.Builder transport(NotificationTransport transport)
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.
transport
- The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.NotificationTransport
,
NotificationTransport
NotificationSpecification.Builder version(String version)
The version of the Notification API to use. Valid value is 2006-05-05.
version
- The version of the Notification API to use. Valid value is 2006-05-05.NotificationSpecification.Builder eventTypesWithStrings(Collection<String> eventTypes)
The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.
eventTypes
- The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted |
AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected |
AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The
Ping event is only valid for the SendTestEventNotification operation.NotificationSpecification.Builder eventTypesWithStrings(String... eventTypes)
The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.
eventTypes
- The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted |
AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected |
AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The
Ping event is only valid for the SendTestEventNotification operation.NotificationSpecification.Builder eventTypes(Collection<EventType> eventTypes)
The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.
eventTypes
- The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted |
AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected |
AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The
Ping event is only valid for the SendTestEventNotification operation.NotificationSpecification.Builder eventTypes(EventType... eventTypes)
The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.
eventTypes
- The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted |
AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected |
AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The
Ping event is only valid for the SendTestEventNotification operation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.