public static interface NotificationAction.Builder extends SdkPojo, CopyableBuilder<NotificationAction.Builder,NotificationAction>
| Modifier and Type | Method and Description |
|---|---|
default NotificationAction.Builder |
action(Consumer<NotificationTargetActions.Builder> action)
Specifies an AWS Lambda function to manage alarm notifications.
|
NotificationAction.Builder |
action(NotificationTargetActions action)
Specifies an AWS Lambda function to manage alarm notifications.
|
NotificationAction.Builder |
emailConfigurations(Collection<EmailConfiguration> emailConfigurations)
Contains the configuration information of email notifications.
|
NotificationAction.Builder |
emailConfigurations(Consumer<EmailConfiguration.Builder>... emailConfigurations)
Contains the configuration information of email notifications.
|
NotificationAction.Builder |
emailConfigurations(EmailConfiguration... emailConfigurations)
Contains the configuration information of email notifications.
|
NotificationAction.Builder |
smsConfigurations(Collection<SMSConfiguration> smsConfigurations)
Contains the configuration information of SMS notifications.
|
NotificationAction.Builder |
smsConfigurations(Consumer<SMSConfiguration.Builder>... smsConfigurations)
Contains the configuration information of SMS notifications.
|
NotificationAction.Builder |
smsConfigurations(SMSConfiguration... smsConfigurations)
Contains the configuration information of SMS notifications.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNotificationAction.Builder action(NotificationTargetActions action)
Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.
action - Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda
function provided by AWS IoT Events.default NotificationAction.Builder action(Consumer<NotificationTargetActions.Builder> action)
Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.
This is a convenience method that creates an instance of theNotificationTargetActions.Builder
avoiding the need to create one manually via NotificationTargetActions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to action(NotificationTargetActions).
action - a consumer that will call methods on NotificationTargetActions.Builderaction(NotificationTargetActions)NotificationAction.Builder smsConfigurations(Collection<SMSConfiguration> smsConfigurations)
Contains the configuration information of SMS notifications.
smsConfigurations - Contains the configuration information of SMS notifications.NotificationAction.Builder smsConfigurations(SMSConfiguration... smsConfigurations)
Contains the configuration information of SMS notifications.
smsConfigurations - Contains the configuration information of SMS notifications.NotificationAction.Builder smsConfigurations(Consumer<SMSConfiguration.Builder>... smsConfigurations)
Contains the configuration information of SMS notifications.
This is a convenience method that creates an instance of theSMSConfiguration.Builder avoiding the need to create
one manually via SMSConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #smsConfigurations(List.
smsConfigurations - a consumer that will call methods on
SMSConfiguration.Builder#smsConfigurations(java.util.Collection) NotificationAction.Builder emailConfigurations(Collection<EmailConfiguration> emailConfigurations)
Contains the configuration information of email notifications.
emailConfigurations - Contains the configuration information of email notifications.NotificationAction.Builder emailConfigurations(EmailConfiguration... emailConfigurations)
Contains the configuration information of email notifications.
emailConfigurations - Contains the configuration information of email notifications.NotificationAction.Builder emailConfigurations(Consumer<EmailConfiguration.Builder>... emailConfigurations)
Contains the configuration information of email notifications.
This is a convenience method that creates an instance of theEmailConfiguration.Builder avoiding the need to
create one manually via EmailConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #emailConfigurations(List.
emailConfigurations - a consumer that will call methods on
EmailConfiguration.Builder#emailConfigurations(java.util.Collection) Copyright © 2023. All rights reserved.