@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RealTimeAlertConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the configuration settings for real-time alerts.
Constructor and Description |
---|
RealTimeAlertConfiguration() |
Modifier and Type | Method and Description |
---|---|
RealTimeAlertConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDisabled()
Turns off real-time alerts.
|
List<RealTimeAlertRule> |
getRules()
The rules in the alert.
|
int |
hashCode() |
Boolean |
isDisabled()
Turns off real-time alerts.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisabled(Boolean disabled)
Turns off real-time alerts.
|
void |
setRules(Collection<RealTimeAlertRule> rules)
The rules in the alert.
|
String |
toString()
Returns a string representation of this object.
|
RealTimeAlertConfiguration |
withDisabled(Boolean disabled)
Turns off real-time alerts.
|
RealTimeAlertConfiguration |
withRules(Collection<RealTimeAlertRule> rules)
The rules in the alert.
|
RealTimeAlertConfiguration |
withRules(RealTimeAlertRule... rules)
The rules in the alert.
|
public void setDisabled(Boolean disabled)
Turns off real-time alerts.
disabled
- Turns off real-time alerts.public Boolean getDisabled()
Turns off real-time alerts.
public RealTimeAlertConfiguration withDisabled(Boolean disabled)
Turns off real-time alerts.
disabled
- Turns off real-time alerts.public Boolean isDisabled()
Turns off real-time alerts.
public List<RealTimeAlertRule> getRules()
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
public void setRules(Collection<RealTimeAlertRule> rules)
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
rules
- The rules in the alert. Rules specify the words or phrases that you want to be notified about.public RealTimeAlertConfiguration withRules(RealTimeAlertRule... rules)
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- The rules in the alert. Rules specify the words or phrases that you want to be notified about.public RealTimeAlertConfiguration withRules(Collection<RealTimeAlertRule> rules)
The rules in the alert. Rules specify the words or phrases that you want to be notified about.
rules
- The rules in the alert. Rules specify the words or phrases that you want to be notified about.public String toString()
toString
in class Object
Object.toString()
public RealTimeAlertConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.