Interface NotificationConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>,SdkBuilder<NotificationConfiguration.Builder,NotificationConfiguration>,SdkPojo
- Enclosing class:
- NotificationConfiguration
public static interface NotificationConfiguration.Builder extends SdkPojo, CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotificationConfiguration.Builderchannels(Collection<Channel> channels)List of up to two channels to be used for sending notifications for events detected from the application profile.NotificationConfiguration.Builderchannels(Consumer<Channel.Builder>... channels)List of up to two channels to be used for sending notifications for events detected from the application profile.NotificationConfiguration.Builderchannels(Channel... channels)List of up to two channels to be used for sending notifications for events detected from the application profile.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
channels
NotificationConfiguration.Builder channels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
- Parameters:
channels- List of up to two channels to be used for sending notifications for events detected from the application profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
NotificationConfiguration.Builder channels(Channel... channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
- Parameters:
channels- List of up to two channels to be used for sending notifications for events detected from the application profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
NotificationConfiguration.Builder channels(Consumer<Channel.Builder>... channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
This is a convenience method that creates an instance of theChannel.Builderavoiding the need to create one manually viaChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#channels(List.) - Parameters:
channels- a consumer that will call methods onChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#channels(java.util.Collection)
-
-