@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
MessageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
MessageConfiguration |
clone() |
boolean |
equals(Object obj) |
Message |
getAPNSMessage()
The message that the campaign delivers to APNS channels.
|
Message |
getDefaultMessage()
The default message for all channels.
|
Message |
getGCMMessage()
The message that the campaign delivers to GCM channels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAPNSMessage(Message aPNSMessage)
The message that the campaign delivers to APNS channels.
|
void |
setDefaultMessage(Message defaultMessage)
The default message for all channels.
|
void |
setGCMMessage(Message gCMMessage)
The message that the campaign delivers to GCM channels.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MessageConfiguration |
withAPNSMessage(Message aPNSMessage)
The message that the campaign delivers to APNS channels.
|
MessageConfiguration |
withDefaultMessage(Message defaultMessage)
The default message for all channels.
|
MessageConfiguration |
withGCMMessage(Message gCMMessage)
The message that the campaign delivers to GCM channels.
|
public void setAPNSMessage(Message aPNSMessage)
aPNSMessage - The message that the campaign delivers to APNS channels. Overrides the default message.public Message getAPNSMessage()
public MessageConfiguration withAPNSMessage(Message aPNSMessage)
aPNSMessage - The message that the campaign delivers to APNS channels. Overrides the default message.public void setDefaultMessage(Message defaultMessage)
defaultMessage - The default message for all channels.public Message getDefaultMessage()
public MessageConfiguration withDefaultMessage(Message defaultMessage)
defaultMessage - The default message for all channels.public void setGCMMessage(Message gCMMessage)
gCMMessage - The message that the campaign delivers to GCM channels. Overrides the default message.public Message getGCMMessage()
public MessageConfiguration withGCMMessage(Message gCMMessage)
gCMMessage - The message that the campaign delivers to GCM channels. Overrides the default message.public String toString()
toString in class ObjectObject.toString()public MessageConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.