@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationSettingKey extends Object implements Serializable, Cloneable, StructuredPojo
A notification setting key to reset. A notification setting key includes the event and the channel.
| Constructor and Description |
|---|
NotificationSettingKey() |
| Modifier and Type | Method and Description |
|---|---|
NotificationSettingKey |
clone() |
boolean |
equals(Object obj) |
String |
getChannel()
The specified channel of notification.
|
String |
getEvent()
The notification setting event to reset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChannel(String channel)
The specified channel of notification.
|
void |
setEvent(String event)
The notification setting event to reset.
|
String |
toString()
Returns a string representation of this object.
|
NotificationSettingKey |
withChannel(NotificationChannel channel)
The specified channel of notification.
|
NotificationSettingKey |
withChannel(String channel)
The specified channel of notification.
|
NotificationSettingKey |
withEvent(NotificationEvent event)
The notification setting event to reset.
|
NotificationSettingKey |
withEvent(String event)
The notification setting event to reset.
|
public void setChannel(String channel)
The specified channel of notification.
channel - The specified channel of notification.NotificationChannelpublic String getChannel()
The specified channel of notification.
NotificationChannelpublic NotificationSettingKey withChannel(String channel)
The specified channel of notification.
channel - The specified channel of notification.NotificationChannelpublic NotificationSettingKey withChannel(NotificationChannel channel)
The specified channel of notification.
channel - The specified channel of notification.NotificationChannelpublic void setEvent(String event)
The notification setting event to reset.
event - The notification setting event to reset.NotificationEventpublic String getEvent()
The notification setting event to reset.
NotificationEventpublic NotificationSettingKey withEvent(String event)
The notification setting event to reset.
event - The notification setting event to reset.NotificationEventpublic NotificationSettingKey withEvent(NotificationEvent event)
The notification setting event to reset.
event - The notification setting event to reset.NotificationEventpublic String toString()
toString in class ObjectObject.toString()public NotificationSettingKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.