Interface RealTimeAlertRule.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<RealTimeAlertRule.Builder,,RealTimeAlertRule> SdkBuilder<RealTimeAlertRule.Builder,,RealTimeAlertRule> SdkPojo
- Enclosing class:
 RealTimeAlertRule
- 
Method Summary
Modifier and TypeMethodDescriptiondefault RealTimeAlertRule.BuilderissueDetectionConfiguration(Consumer<IssueDetectionConfiguration.Builder> issueDetectionConfiguration) Specifies the issue detection settings for a real-time alert rule.issueDetectionConfiguration(IssueDetectionConfiguration issueDetectionConfiguration) Specifies the issue detection settings for a real-time alert rule.default RealTimeAlertRule.BuilderkeywordMatchConfiguration(Consumer<KeywordMatchConfiguration.Builder> keywordMatchConfiguration) Specifies the settings for matching the keywords in a real-time alert rule.keywordMatchConfiguration(KeywordMatchConfiguration keywordMatchConfiguration) Specifies the settings for matching the keywords in a real-time alert rule.default RealTimeAlertRule.BuildersentimentConfiguration(Consumer<SentimentConfiguration.Builder> sentimentConfiguration) Specifies the settings for predicting sentiment in a real-time alert rule.sentimentConfiguration(SentimentConfiguration sentimentConfiguration) Specifies the settings for predicting sentiment in a real-time alert rule.The type of alert rule.type(RealTimeAlertRuleType type) The type of alert rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
type
The type of alert rule.
- Parameters:
 type- The type of alert rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
type
The type of alert rule.
- Parameters:
 type- The type of alert rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
keywordMatchConfiguration
RealTimeAlertRule.Builder keywordMatchConfiguration(KeywordMatchConfiguration keywordMatchConfiguration) Specifies the settings for matching the keywords in a real-time alert rule.
- Parameters:
 keywordMatchConfiguration- Specifies the settings for matching the keywords in a real-time alert rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
keywordMatchConfiguration
default RealTimeAlertRule.Builder keywordMatchConfiguration(Consumer<KeywordMatchConfiguration.Builder> keywordMatchConfiguration) Specifies the settings for matching the keywords in a real-time alert rule.
This is a convenience method that creates an instance of theKeywordMatchConfiguration.Builderavoiding the need to create one manually viaKeywordMatchConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeywordMatchConfiguration(KeywordMatchConfiguration).- Parameters:
 keywordMatchConfiguration- a consumer that will call methods onKeywordMatchConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
sentimentConfiguration
Specifies the settings for predicting sentiment in a real-time alert rule.
- Parameters:
 sentimentConfiguration- Specifies the settings for predicting sentiment in a real-time alert rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
sentimentConfiguration
default RealTimeAlertRule.Builder sentimentConfiguration(Consumer<SentimentConfiguration.Builder> sentimentConfiguration) Specifies the settings for predicting sentiment in a real-time alert rule.
This is a convenience method that creates an instance of theSentimentConfiguration.Builderavoiding the need to create one manually viaSentimentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosentimentConfiguration(SentimentConfiguration).- Parameters:
 sentimentConfiguration- a consumer that will call methods onSentimentConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
issueDetectionConfiguration
RealTimeAlertRule.Builder issueDetectionConfiguration(IssueDetectionConfiguration issueDetectionConfiguration) Specifies the issue detection settings for a real-time alert rule.
- Parameters:
 issueDetectionConfiguration- Specifies the issue detection settings for a real-time alert rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
issueDetectionConfiguration
default RealTimeAlertRule.Builder issueDetectionConfiguration(Consumer<IssueDetectionConfiguration.Builder> issueDetectionConfiguration) Specifies the issue detection settings for a real-time alert rule.
This is a convenience method that creates an instance of theIssueDetectionConfiguration.Builderavoiding the need to create one manually viaIssueDetectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissueDetectionConfiguration(IssueDetectionConfiguration).- Parameters:
 issueDetectionConfiguration- a consumer that will call methods onIssueDetectionConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -