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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateNotificationSettingsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateNotificationSettingsRequest.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.Builder
notification(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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateNotificationSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.