Interface NotificationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationConfiguration.Builder,,NotificationConfiguration> SdkBuilder<NotificationConfiguration.Builder,,NotificationConfiguration> SdkPojo
- Enclosing class:
NotificationConfiguration
@Mutable
@NotThreadSafe
public static interface NotificationConfiguration.Builder
extends SdkPojo, CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionchannels(Collection<Channel> channels) List of up to two channels to be used for sending notifications for events detected from the application profile.channels(Consumer<Channel.Builder>... channels) List of up to two channels to be used for sending notifications for events detected from the application profile.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
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
-
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
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
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 tochannels(List<Channel>).- 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:
-