Interface NotificationAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationAction.Builder,
,NotificationAction> SdkBuilder<NotificationAction.Builder,
,NotificationAction> SdkPojo
- Enclosing class:
NotificationAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault NotificationAction.Builder
Specifies an AWS Lambda function to manage alarm notifications.action
(NotificationTargetActions action) Specifies an AWS Lambda function to manage alarm notifications.emailConfigurations
(Collection<EmailConfiguration> emailConfigurations) Contains the configuration information of email notifications.emailConfigurations
(Consumer<EmailConfiguration.Builder>... emailConfigurations) Contains the configuration information of email notifications.emailConfigurations
(EmailConfiguration... emailConfigurations) Contains the configuration information of email notifications.smsConfigurations
(Collection<SMSConfiguration> smsConfigurations) Contains the configuration information of SMS notifications.smsConfigurations
(Consumer<SMSConfiguration.Builder>... smsConfigurations) Contains the configuration information of SMS notifications.smsConfigurations
(SMSConfiguration... smsConfigurations) Contains the configuration information of SMS notifications.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, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaNotificationTargetActions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(NotificationTargetActions)
.- Parameters:
action
- a consumer that will call methods onNotificationTargetActions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
smsConfigurations
Contains the configuration information of SMS notifications.
- Parameters:
smsConfigurations
- Contains the configuration information of SMS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsConfigurations
Contains the configuration information of SMS notifications.
- Parameters:
smsConfigurations
- Contains the configuration information of SMS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsConfigurations
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 viaSMSConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosmsConfigurations(List<SMSConfiguration>)
.- Parameters:
smsConfigurations
- a consumer that will call methods onSMSConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
emailConfigurations
Contains the configuration information of email notifications.
- Parameters:
emailConfigurations
- Contains the configuration information of email notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailConfigurations
Contains the configuration information of email notifications.
- Parameters:
emailConfigurations
- Contains the configuration information of email notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailConfigurations
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 viaEmailConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemailConfigurations(List<EmailConfiguration>)
.- Parameters:
emailConfigurations
- a consumer that will call methods onEmailConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-