Interface NotificationSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationSpecification.Builder,
,NotificationSpecification> SdkBuilder<NotificationSpecification.Builder,
,NotificationSpecification> SdkPojo
- Enclosing class:
NotificationSpecification
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The target for notification messages.eventTypes
(Collection<EventType> eventTypes) The list of events that should cause notifications to be sent.eventTypes
(EventType... eventTypes) The list of events that should cause notifications to be sent.eventTypesWithStrings
(String... eventTypes) The list of events that should cause notifications to be sent.eventTypesWithStrings
(Collection<String> eventTypes) The list of events that should cause notifications to be sent.The method Amazon Mechanical Turk uses to send the notification.transport
(NotificationTransport transport) The method Amazon Mechanical Turk uses to send the notification.The version of the Notification API to use.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
transport
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.
- Parameters:
transport
- The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transport
The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.
- Parameters:
transport
- The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the Notification API to use. Valid value is 2006-05-05.
- Parameters:
version
- The version of the Notification API to use. Valid value is 2006-05-05.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypesWithStrings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypesWithStrings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-