@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 |
getADMMessage()
The message that the campaign delivers to ADM channels.
|
Message |
getAPNSMessage()
The message that the campaign delivers to APNS channels.
|
Message |
getBaiduMessage()
The message that the campaign delivers to Baidu channels.
|
Message |
getDefaultMessage()
The default message for all channels.
|
CampaignEmailMessage |
getEmailMessage()
The email message configuration.
|
Message |
getGCMMessage()
The message that the campaign delivers to GCM channels.
|
CampaignSmsMessage |
getSMSMessage()
The SMS message configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setADMMessage(Message aDMMessage)
The message that the campaign delivers to ADM channels.
|
void |
setAPNSMessage(Message aPNSMessage)
The message that the campaign delivers to APNS channels.
|
void |
setBaiduMessage(Message baiduMessage)
The message that the campaign delivers to Baidu channels.
|
void |
setDefaultMessage(Message defaultMessage)
The default message for all channels.
|
void |
setEmailMessage(CampaignEmailMessage emailMessage)
The email message configuration.
|
void |
setGCMMessage(Message gCMMessage)
The message that the campaign delivers to GCM channels.
|
void |
setSMSMessage(CampaignSmsMessage sMSMessage)
The SMS message configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MessageConfiguration |
withADMMessage(Message aDMMessage)
The message that the campaign delivers to ADM channels.
|
MessageConfiguration |
withAPNSMessage(Message aPNSMessage)
The message that the campaign delivers to APNS channels.
|
MessageConfiguration |
withBaiduMessage(Message baiduMessage)
The message that the campaign delivers to Baidu channels.
|
MessageConfiguration |
withDefaultMessage(Message defaultMessage)
The default message for all channels.
|
MessageConfiguration |
withEmailMessage(CampaignEmailMessage emailMessage)
The email message configuration.
|
MessageConfiguration |
withGCMMessage(Message gCMMessage)
The message that the campaign delivers to GCM channels.
|
MessageConfiguration |
withSMSMessage(CampaignSmsMessage sMSMessage)
The SMS message configuration.
|
public void setADMMessage(Message aDMMessage)
aDMMessage
- The message that the campaign delivers to ADM channels. Overrides the default message.public Message getADMMessage()
public MessageConfiguration withADMMessage(Message aDMMessage)
aDMMessage
- The message that the campaign delivers to ADM channels. Overrides the default message.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 setBaiduMessage(Message baiduMessage)
baiduMessage
- The message that the campaign delivers to Baidu channels. Overrides the default message.public Message getBaiduMessage()
public MessageConfiguration withBaiduMessage(Message baiduMessage)
baiduMessage
- The message that the campaign delivers to Baidu 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 setEmailMessage(CampaignEmailMessage emailMessage)
emailMessage
- The email message configuration.public CampaignEmailMessage getEmailMessage()
public MessageConfiguration withEmailMessage(CampaignEmailMessage emailMessage)
emailMessage
- The email message configuration.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 void setSMSMessage(CampaignSmsMessage sMSMessage)
sMSMessage
- The SMS message configuration.public CampaignSmsMessage getSMSMessage()
public MessageConfiguration withSMSMessage(CampaignSmsMessage sMSMessage)
sMSMessage
- The SMS message configuration.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.