Interface NotificationAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationAction.Builder,NotificationAction>,SdkBuilder<NotificationAction.Builder,NotificationAction>,SdkPojo
- Enclosing class:
- NotificationAction
public static interface NotificationAction.Builder extends SdkPojo, CopyableBuilder<NotificationAction.Builder,NotificationAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotificationAction.Builderaction(Consumer<NotificationTargetActions.Builder> action)Specifies an AWS Lambda function to manage alarm notifications.NotificationAction.Builderaction(NotificationTargetActions action)Specifies an AWS Lambda function to manage alarm notifications.NotificationAction.BuilderemailConfigurations(Collection<EmailConfiguration> emailConfigurations)Contains the configuration information of email notifications.NotificationAction.BuilderemailConfigurations(Consumer<EmailConfiguration.Builder>... emailConfigurations)Contains the configuration information of email notifications.NotificationAction.BuilderemailConfigurations(EmailConfiguration... emailConfigurations)Contains the configuration information of email notifications.NotificationAction.BuildersmsConfigurations(Collection<SMSConfiguration> smsConfigurations)Contains the configuration information of SMS notifications.NotificationAction.BuildersmsConfigurations(Consumer<SMSConfiguration.Builder>... smsConfigurations)Contains the configuration information of SMS notifications.NotificationAction.BuildersmsConfigurations(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 Detail
-
action
NotificationAction.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.
- 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
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.Builderavoiding the need to create one manually viaNotificationTargetActions.builder().When the
Consumercompletes,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:
action(NotificationTargetActions)
-
smsConfigurations
NotificationAction.Builder smsConfigurations(Collection<SMSConfiguration> 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(SMSConfiguration... 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.Builderavoiding the need to create one manually viaSMSConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#smsConfigurations(List.) - 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:
#smsConfigurations(java.util.Collection)
-
emailConfigurations
NotificationAction.Builder emailConfigurations(Collection<EmailConfiguration> 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(EmailConfiguration... 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.Builderavoiding the need to create one manually viaEmailConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#emailConfigurations(List.) - 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:
#emailConfigurations(java.util.Collection)
-
-