@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for notifications stored for each profiling group. This includes up to to two channels and a list of event publishers associated with each channel.
| Constructor and Description |
|---|
NotificationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NotificationConfiguration |
clone() |
boolean |
equals(Object obj) |
List<Channel> |
getChannels()
List of up to two channels to be used for sending notifications for events detected from the application profile.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChannels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
|
String |
toString()
Returns a string representation of this object.
|
NotificationConfiguration |
withChannels(Channel... channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
|
NotificationConfiguration |
withChannels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
|
public List<Channel> getChannels()
List of up to two channels to be used for sending notifications for events detected from the application profile.
public void setChannels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
channels - List of up to two channels to be used for sending notifications for events detected from the application
profile.public NotificationConfiguration withChannels(Channel... channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection) or withChannels(java.util.Collection) if you want to override
the existing values.
channels - List of up to two channels to be used for sending notifications for events detected from the application
profile.public NotificationConfiguration withChannels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
channels - List of up to two channels to be used for sending notifications for events detected from the application
profile.public String toString()
toString in class ObjectObject.toString()public NotificationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.