public static interface UpdateNotificationSettingsRequest.Builder extends MTurkRequest.Builder, CopyableBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateNotificationSettingsRequest.Builder |
active(Boolean active)
Specifies whether notifications are sent for HITs of this HIT type, according to the notification
specification.
|
UpdateNotificationSettingsRequest.Builder |
hitTypeId(String hitTypeId)
The ID of the HIT type whose notification specification is being updated.
|
default UpdateNotificationSettingsRequest.Builder |
notification(Consumer<NotificationSpecification.Builder> notification)
The notification specification for the HIT type.
|
UpdateNotificationSettingsRequest.Builder |
notification(NotificationSpecification notification)
The notification specification for the HIT type.
|
UpdateNotificationSettingsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateNotificationSettingsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildUpdateNotificationSettingsRequest.Builder hitTypeId(String hitTypeId)
The ID of the HIT type whose notification specification is being updated.
hitTypeId - The ID of the HIT type whose notification specification is being updated.UpdateNotificationSettingsRequest.Builder notification(NotificationSpecification notification)
The notification specification for the HIT type.
notification - The notification specification for the HIT type.default UpdateNotificationSettingsRequest.Builder notification(Consumer<NotificationSpecification.Builder> notification)
The notification specification for the 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)UpdateNotificationSettingsRequest.Builder active(Boolean active)
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
active - Specifies whether notifications are sent for HITs of this HIT type, according to the notification
specification. You must specify either the Notification parameter or the Active parameter for the call
to UpdateNotificationSettings to succeed.UpdateNotificationSettingsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.UpdateNotificationSettingsRequest.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.