@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RealTimeAlertRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the words or phrases that trigger an alert.
Constructor and Description |
---|
RealTimeAlertRule() |
Modifier and Type | Method and Description |
---|---|
RealTimeAlertRule |
clone() |
boolean |
equals(Object obj) |
IssueDetectionConfiguration |
getIssueDetectionConfiguration()
Specifies the issue detection settings for a real-time alert rule.
|
KeywordMatchConfiguration |
getKeywordMatchConfiguration()
Specifies the settings for matching the keywords in a real-time alert rule.
|
SentimentConfiguration |
getSentimentConfiguration()
Specifies the settings for predicting sentiment in a real-time alert rule.
|
String |
getType()
The type of alert rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIssueDetectionConfiguration(IssueDetectionConfiguration issueDetectionConfiguration)
Specifies the issue detection settings for a real-time alert rule.
|
void |
setKeywordMatchConfiguration(KeywordMatchConfiguration keywordMatchConfiguration)
Specifies the settings for matching the keywords in a real-time alert rule.
|
void |
setSentimentConfiguration(SentimentConfiguration sentimentConfiguration)
Specifies the settings for predicting sentiment in a real-time alert rule.
|
void |
setType(String type)
The type of alert rule.
|
String |
toString()
Returns a string representation of this object.
|
RealTimeAlertRule |
withIssueDetectionConfiguration(IssueDetectionConfiguration issueDetectionConfiguration)
Specifies the issue detection settings for a real-time alert rule.
|
RealTimeAlertRule |
withKeywordMatchConfiguration(KeywordMatchConfiguration keywordMatchConfiguration)
Specifies the settings for matching the keywords in a real-time alert rule.
|
RealTimeAlertRule |
withSentimentConfiguration(SentimentConfiguration sentimentConfiguration)
Specifies the settings for predicting sentiment in a real-time alert rule.
|
RealTimeAlertRule |
withType(RealTimeAlertRuleType type)
The type of alert rule.
|
RealTimeAlertRule |
withType(String type)
The type of alert rule.
|
public void setType(String type)
The type of alert rule.
type
- The type of alert rule.RealTimeAlertRuleType
public String getType()
The type of alert rule.
RealTimeAlertRuleType
public RealTimeAlertRule withType(String type)
The type of alert rule.
type
- The type of alert rule.RealTimeAlertRuleType
public RealTimeAlertRule withType(RealTimeAlertRuleType type)
The type of alert rule.
type
- The type of alert rule.RealTimeAlertRuleType
public void setKeywordMatchConfiguration(KeywordMatchConfiguration keywordMatchConfiguration)
Specifies the settings for matching the keywords in a real-time alert rule.
keywordMatchConfiguration
- Specifies the settings for matching the keywords in a real-time alert rule.public KeywordMatchConfiguration getKeywordMatchConfiguration()
Specifies the settings for matching the keywords in a real-time alert rule.
public RealTimeAlertRule withKeywordMatchConfiguration(KeywordMatchConfiguration keywordMatchConfiguration)
Specifies the settings for matching the keywords in a real-time alert rule.
keywordMatchConfiguration
- Specifies the settings for matching the keywords in a real-time alert rule.public void setSentimentConfiguration(SentimentConfiguration sentimentConfiguration)
Specifies the settings for predicting sentiment in a real-time alert rule.
sentimentConfiguration
- Specifies the settings for predicting sentiment in a real-time alert rule.public SentimentConfiguration getSentimentConfiguration()
Specifies the settings for predicting sentiment in a real-time alert rule.
public RealTimeAlertRule withSentimentConfiguration(SentimentConfiguration sentimentConfiguration)
Specifies the settings for predicting sentiment in a real-time alert rule.
sentimentConfiguration
- Specifies the settings for predicting sentiment in a real-time alert rule.public void setIssueDetectionConfiguration(IssueDetectionConfiguration issueDetectionConfiguration)
Specifies the issue detection settings for a real-time alert rule.
issueDetectionConfiguration
- Specifies the issue detection settings for a real-time alert rule.public IssueDetectionConfiguration getIssueDetectionConfiguration()
Specifies the issue detection settings for a real-time alert rule.
public RealTimeAlertRule withIssueDetectionConfiguration(IssueDetectionConfiguration issueDetectionConfiguration)
Specifies the issue detection settings for a real-time alert rule.
issueDetectionConfiguration
- Specifies the issue detection settings for a real-time alert rule.public String toString()
toString
in class Object
Object.toString()
public RealTimeAlertRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.