Interface SendDataSetNotificationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SendDataSetNotificationRequest.Builder,
,SendDataSetNotificationRequest> DataExchangeRequest.Builder
,SdkBuilder<SendDataSetNotificationRequest.Builder,
,SendDataSetNotificationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SendDataSetNotificationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.Free-form text field for providers to add information about their notifications.Affected data set of the notification.details
(Consumer<NotificationDetails.Builder> details) Extra details specific to this notification type.details
(NotificationDetails details) Extra details specific to this notification type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scope
(Consumer<ScopeDetails.Builder> scope) Affected scope of this notification such as the underlying resources affected by the notification event.scope
(ScopeDetails scope) Affected scope of this notification such as the underlying resources affected by the notification event.The type of the notification.type
(NotificationType type) The type of the notification.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.dataexchange.model.DataExchangeRequest.Builder
build
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
-
scope
Affected scope of this notification such as the underlying resources affected by the notification event.
- Parameters:
scope
- Affected scope of this notification such as the underlying resources affected by the notification event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Affected scope of this notification such as the underlying resources affected by the notification event.
This is a convenience method that creates an instance of theScopeDetails.Builder
avoiding the need to create one manually viaScopeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscope(ScopeDetails)
.- Parameters:
scope
- a consumer that will call methods onScopeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.
- Parameters:
clientToken
- Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
Free-form text field for providers to add information about their notifications.
- Parameters:
comment
- Free-form text field for providers to add information about their notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSetId
Affected data set of the notification.
- Parameters:
dataSetId
- Affected data set of the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Extra details specific to this notification type.
- Parameters:
details
- Extra details specific to this notification type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
default SendDataSetNotificationRequest.Builder details(Consumer<NotificationDetails.Builder> details) Extra details specific to this notification type.
This is a convenience method that creates an instance of theNotificationDetails.Builder
avoiding the need to create one manually viaNotificationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(NotificationDetails)
.- Parameters:
details
- a consumer that will call methods onNotificationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the notification. Describing the kind of event the notification is alerting you to.
- Parameters:
type
- The type of the notification. Describing the kind of event the notification is alerting you to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the notification. Describing the kind of event the notification is alerting you to.
- Parameters:
type
- The type of the notification. Describing the kind of event the notification is alerting you to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SendDataSetNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendDataSetNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-