Interface RealTimeAlertConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealTimeAlertConfiguration.Builder,RealTimeAlertConfiguration>,SdkBuilder<RealTimeAlertConfiguration.Builder,RealTimeAlertConfiguration>,SdkPojo
- Enclosing class:
- RealTimeAlertConfiguration
public static interface RealTimeAlertConfiguration.Builder extends SdkPojo, CopyableBuilder<RealTimeAlertConfiguration.Builder,RealTimeAlertConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RealTimeAlertConfiguration.Builderdisabled(Boolean disabled)Turns off real-time alerts.RealTimeAlertConfiguration.Builderrules(Collection<RealTimeAlertRule> rules)The rules in the alert.RealTimeAlertConfiguration.Builderrules(Consumer<RealTimeAlertRule.Builder>... rules)The rules in the alert.RealTimeAlertConfiguration.Builderrules(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 Detail
-
disabled
RealTimeAlertConfiguration.Builder disabled(Boolean 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
RealTimeAlertConfiguration.Builder rules(Collection<RealTimeAlertRule> 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
RealTimeAlertConfiguration.Builder rules(RealTimeAlertRule... 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
RealTimeAlertConfiguration.Builder rules(Consumer<RealTimeAlertRule.Builder>... 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.Builderavoiding the need to create one manually viaRealTimeAlertRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - 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:
#rules(java.util.Collection)
-
-