@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationFilterConfig extends Object implements Serializable, Cloneable, StructuredPojo
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for. You can also choose to specify which severity levels to receive notifications for.
Constructor and Description |
---|
NotificationFilterConfig() |
Modifier and Type | Method and Description |
---|---|
NotificationFilterConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMessageTypes()
The events that you want to receive notifications for.
|
List<String> |
getSeverities()
The severity levels that you want to receive notifications for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessageTypes(Collection<String> messageTypes)
The events that you want to receive notifications for.
|
void |
setSeverities(Collection<String> severities)
The severity levels that you want to receive notifications for.
|
String |
toString()
Returns a string representation of this object.
|
NotificationFilterConfig |
withMessageTypes(Collection<String> messageTypes)
The events that you want to receive notifications for.
|
NotificationFilterConfig |
withMessageTypes(NotificationMessageType... messageTypes)
The events that you want to receive notifications for.
|
NotificationFilterConfig |
withMessageTypes(String... messageTypes)
The events that you want to receive notifications for.
|
NotificationFilterConfig |
withSeverities(Collection<String> severities)
The severity levels that you want to receive notifications for.
|
NotificationFilterConfig |
withSeverities(InsightSeverity... severities)
The severity levels that you want to receive notifications for.
|
NotificationFilterConfig |
withSeverities(String... severities)
The severity levels that you want to receive notifications for.
|
public List<String> getSeverities()
The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.
HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.InsightSeverity
public void setSeverities(Collection<String> severities)
The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.
severities
- The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.InsightSeverity
public NotificationFilterConfig withSeverities(String... severities)
The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.
NOTE: This method appends the values to the existing list (if any). Use
setSeverities(java.util.Collection)
or withSeverities(java.util.Collection)
if you want to
override the existing values.
severities
- The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.InsightSeverity
public NotificationFilterConfig withSeverities(Collection<String> severities)
The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.
severities
- The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.InsightSeverity
public NotificationFilterConfig withSeverities(InsightSeverity... severities)
The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.
severities
- The severity levels that you want to receive notifications for. For example, you can choose to receive
notifications only for insights with HIGH
and MEDIUM
severity levels. For more
information, see Understanding insight severities.InsightSeverity
public List<String> getMessageTypes()
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
NotificationMessageType
public void setMessageTypes(Collection<String> messageTypes)
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
messageTypes
- The events that you want to receive notifications for. For example, you can choose to receive
notifications only when the severity level is upgraded or a new insight is created.NotificationMessageType
public NotificationFilterConfig withMessageTypes(String... messageTypes)
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
NOTE: This method appends the values to the existing list (if any). Use
setMessageTypes(java.util.Collection)
or withMessageTypes(java.util.Collection)
if you want to
override the existing values.
messageTypes
- The events that you want to receive notifications for. For example, you can choose to receive
notifications only when the severity level is upgraded or a new insight is created.NotificationMessageType
public NotificationFilterConfig withMessageTypes(Collection<String> messageTypes)
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
messageTypes
- The events that you want to receive notifications for. For example, you can choose to receive
notifications only when the severity level is upgraded or a new insight is created.NotificationMessageType
public NotificationFilterConfig withMessageTypes(NotificationMessageType... messageTypes)
The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
messageTypes
- The events that you want to receive notifications for. For example, you can choose to receive
notifications only when the severity level is upgraded or a new insight is created.NotificationMessageType
public String toString()
toString
in class Object
Object.toString()
public NotificationFilterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.