Interface RealTimeAlertConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RealTimeAlertConfiguration.Builder,
,RealTimeAlertConfiguration> SdkBuilder<RealTimeAlertConfiguration.Builder,
,RealTimeAlertConfiguration> SdkPojo
- Enclosing class:
RealTimeAlertConfiguration
@Mutable
@NotThreadSafe
public static interface RealTimeAlertConfiguration.Builder
extends SdkPojo, CopyableBuilder<RealTimeAlertConfiguration.Builder,RealTimeAlertConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionTurns off real-time alerts.rules
(Collection<RealTimeAlertRule> rules) The rules in the alert.rules
(Consumer<RealTimeAlertRule.Builder>... rules) The rules in the alert.rules
(RealTimeAlertRule... rules) The rules in the alert.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, sdkFieldNameToField, sdkFields
-
Method Details
-
disabled
Turns off real-time alerts.
- Parameters:
disabled
- Turns off real-time alerts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
- Parameters:
rules
- The rules in the alert. Rules specify the words or phrases that you want to be notified about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
- Parameters:
rules
- The rules in the alert. Rules specify the words or phrases that you want to be notified about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
This is a convenience method that creates an instance of theRealTimeAlertRule.Builder
avoiding the need to create one manually viaRealTimeAlertRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<RealTimeAlertRule>)
.- Parameters:
rules
- a consumer that will call methods onRealTimeAlertRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-