Interface WebNotificationSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WebNotificationSource.Builder,,WebNotificationSource> SdkBuilder<WebNotificationSource.Builder,,WebNotificationSource> SdkPojo
- Enclosing class:
WebNotificationSource
@Mutable
@NotThreadSafe
public static interface WebNotificationSource.Builder
extends SdkPojo, CopyableBuilder<WebNotificationSource.Builder,WebNotificationSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WebNotificationSource.BuildersourceCampaign(Consumer<SourceCampaign.Builder> sourceCampaign) Information about the campaign that triggered the web notification, including the campaign identifier and outbound request identifier.sourceCampaign(SourceCampaign sourceCampaign) Information about the campaign that triggered the web notification, including the campaign identifier and outbound request identifier.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceCampaign
Information about the campaign that triggered the web notification, including the campaign identifier and outbound request identifier.
- Parameters:
sourceCampaign- Information about the campaign that triggered the web notification, including the campaign identifier and outbound request identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCampaign
default WebNotificationSource.Builder sourceCampaign(Consumer<SourceCampaign.Builder> sourceCampaign) Information about the campaign that triggered the web notification, including the campaign identifier and outbound request identifier.
This is a convenience method that creates an instance of theSourceCampaign.Builderavoiding the need to create one manually viaSourceCampaign.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCampaign(SourceCampaign).- Parameters:
sourceCampaign- a consumer that will call methods onSourceCampaign.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-