Interface RealTimeAlertRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealTimeAlertRule.Builder,RealTimeAlertRule>,SdkBuilder<RealTimeAlertRule.Builder,RealTimeAlertRule>,SdkPojo
- Enclosing class:
- RealTimeAlertRule
public static interface RealTimeAlertRule.Builder extends SdkPojo, CopyableBuilder<RealTimeAlertRule.Builder,RealTimeAlertRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RealTimeAlertRule.BuilderissueDetectionConfiguration(Consumer<IssueDetectionConfiguration.Builder> issueDetectionConfiguration)Specifies the issue detection settings for a real-time alert rule.RealTimeAlertRule.BuilderissueDetectionConfiguration(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.RealTimeAlertRule.BuilderkeywordMatchConfiguration(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.RealTimeAlertRule.BuildersentimentConfiguration(SentimentConfiguration sentimentConfiguration)Specifies the settings for predicting sentiment in a real-time alert rule.RealTimeAlertRule.Buildertype(String type)The type of alert rule.RealTimeAlertRule.Buildertype(RealTimeAlertRuleType type)The type of alert rule.-
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
-
type
RealTimeAlertRule.Builder type(String 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:
RealTimeAlertRuleType,RealTimeAlertRuleType
-
type
RealTimeAlertRule.Builder type(RealTimeAlertRuleType 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:
RealTimeAlertRuleType,RealTimeAlertRuleType
-
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:
keywordMatchConfiguration(KeywordMatchConfiguration)
-
sentimentConfiguration
RealTimeAlertRule.Builder sentimentConfiguration(SentimentConfiguration 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:
sentimentConfiguration(SentimentConfiguration)
-
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:
issueDetectionConfiguration(IssueDetectionConfiguration)
-
-