@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.NotificationChannel
public String getChannel()
The specified channel of notification.
NotificationChannel
public NotificationSettingKey withChannel(String channel)
The specified channel of notification.
channel
- The specified channel of notification.NotificationChannel
public NotificationSettingKey withChannel(NotificationChannel channel)
The specified channel of notification.
channel
- The specified channel of notification.NotificationChannel
public void setEvent(String event)
The notification setting event to reset.
event
- The notification setting event to reset.NotificationEvent
public String getEvent()
The notification setting event to reset.
NotificationEvent
public NotificationSettingKey withEvent(String event)
The notification setting event to reset.
event
- The notification setting event to reset.NotificationEvent
public NotificationSettingKey withEvent(NotificationEvent event)
The notification setting event to reset.
event
- The notification setting event to reset.NotificationEvent
public String toString()
toString
in class Object
Object.toString()
public NotificationSettingKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.