Interface SendTestEventNotificationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>,MTurkRequest.Builder,SdkBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SendTestEventNotificationRequest
public static interface SendTestEventNotificationRequest.Builder extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<SendTestEventNotificationRequest.Builder,SendTestEventNotificationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SendTestEventNotificationRequest.Buildernotification(Consumer<NotificationSpecification.Builder> notification)The notification specification to test.SendTestEventNotificationRequest.Buildernotification(NotificationSpecification notification)The notification specification to test.SendTestEventNotificationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SendTestEventNotificationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SendTestEventNotificationRequest.BuildertestEventType(String testEventType)The event to simulate to test the notification specification.SendTestEventNotificationRequest.BuildertestEventType(EventType testEventType)The event to simulate to test the notification specification.-
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
-
notification
SendTestEventNotificationRequest.Builder notification(NotificationSpecification notification)
The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.
- Parameters:
notification- The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default SendTestEventNotificationRequest.Builder notification(Consumer<NotificationSpecification.Builder> notification)
The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a 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)
-
testEventType
SendTestEventNotificationRequest.Builder testEventType(String testEventType)
The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
- Parameters:
testEventType- The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventType,EventType
-
testEventType
SendTestEventNotificationRequest.Builder testEventType(EventType testEventType)
The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
- Parameters:
testEventType- The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventType,EventType
-
overrideConfiguration
SendTestEventNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SendTestEventNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-