Interface UpdateNotificationSettingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>,MTurkRequest.Builder,SdkBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateNotificationSettingsRequest
public static interface UpdateNotificationSettingsRequest.Builder extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<UpdateNotificationSettingsRequest.Builder,UpdateNotificationSettingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateNotificationSettingsRequest.Builderactive(Boolean active)Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.UpdateNotificationSettingsRequest.BuilderhitTypeId(String hitTypeId)The ID of the HIT type whose notification specification is being updated.default UpdateNotificationSettingsRequest.Buildernotification(Consumer<NotificationSpecification.Builder> notification)The notification specification for the HIT type.UpdateNotificationSettingsRequest.Buildernotification(NotificationSpecification notification)The notification specification for the HIT type.UpdateNotificationSettingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateNotificationSettingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
hitTypeId
UpdateNotificationSettingsRequest.Builder hitTypeId(String hitTypeId)
The ID of the HIT type whose notification specification is being updated.
- Parameters:
hitTypeId- The ID of the HIT type whose notification specification is being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
UpdateNotificationSettingsRequest.Builder notification(NotificationSpecification notification)
The notification specification for the HIT type.
- Parameters:
notification- The notification specification for the HIT type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default UpdateNotificationSettingsRequest.Builder notification(Consumer<NotificationSpecification.Builder> notification)
The notification specification for the HIT type.
This is a convenience method that creates an instance of theNotificationSpecification.Builderavoiding the need to create one manually viaNotificationSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotification(NotificationSpecification).- Parameters:
notification- a consumer that will call methods onNotificationSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notification(NotificationSpecification)
-
active
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateNotificationSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateNotificationSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-