CopyableBuilder<NotificationSpecification.Builder,NotificationSpecification>
, SdkBuilder<NotificationSpecification.Builder,NotificationSpecification>
public static interface NotificationSpecification.Builder extends CopyableBuilder<NotificationSpecification.Builder,NotificationSpecification>
Modifier and Type | Method | Description |
---|---|---|
NotificationSpecification.Builder |
destination(String destination) |
The destination for notification messages.
|
NotificationSpecification.Builder |
eventTypes(String... eventTypes) |
The list of events that should cause notifications to be sent.
|
NotificationSpecification.Builder |
eventTypes(Collection<String> 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 |
transport(String transport) |
The method Amazon Mechanical Turk uses to send the notification.
|
NotificationSpecification.Builder |
transport(NotificationTransport 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
apply, build
NotificationSpecification.Builder destination(String destination)
The destination for notification messages. or email notifications (if Transport is Email), this is an email address. For Amazon Simple Queue Service (Amazon SQS) notifications (if Transport is SQS), this is the URL for your Amazon SQS queue.
destination
- The destination for notification messages. or email notifications (if Transport is Email), this is an
email address. For Amazon Simple Queue Service (Amazon SQS) notifications (if Transport is SQS), this
is the URL for your Amazon SQS queue.NotificationSpecification.Builder transport(String transport)
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS.
transport
- The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS.NotificationTransport
NotificationSpecification.Builder transport(NotificationTransport transport)
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS.
transport
- The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS.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 eventTypes(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.EventType
NotificationSpecification.Builder eventTypes(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.
NOTE: This method appends the values to the existing list (if any). Use
#setEventTypes(java.util.Collection)
or #withEventTypes(java.util.Collection)
if you want to
override the existing values.
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.EventType
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.
NOTE: This method appends the values to the existing list (if any). Use
#setEventTypes(java.util.Collection)
or #withEventTypes(java.util.Collection)
if you want to
override the existing values.
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.EventType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.