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 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 the Channel.Builder avoiding the need to create one manually via Channel.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to channels(List<Channel>).

      Parameters:
      channels - a consumer that will call methods on Channel.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: