@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public MessageConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.