public class MessageConfiguration
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MessageConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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 |
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.
|
java.lang.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 Message getADMMessage()
public void setADMMessage(Message aDMMessage)
aDMMessage
- The message that the campaign delivers to ADM channels.
Overrides the default message.public MessageConfiguration withADMMessage(Message aDMMessage)
Returns a reference to this object so that method calls can be chained together.
aDMMessage
- The message that the campaign delivers to ADM channels.
Overrides the default message.public Message getAPNSMessage()
public void setAPNSMessage(Message aPNSMessage)
aPNSMessage
- The message that the campaign delivers to APNS
channels. Overrides the default message.public MessageConfiguration withAPNSMessage(Message aPNSMessage)
Returns a reference to this object so that method calls can be chained together.
aPNSMessage
- The message that the campaign delivers to APNS
channels. Overrides the default message.public Message getBaiduMessage()
public void setBaiduMessage(Message baiduMessage)
baiduMessage
- The message that the campaign delivers to Baidu
channels. Overrides the default message.public MessageConfiguration withBaiduMessage(Message baiduMessage)
Returns a reference to this object so that method calls can be chained together.
baiduMessage
- The message that the campaign delivers to Baidu
channels. Overrides the default message.public Message getDefaultMessage()
public void setDefaultMessage(Message defaultMessage)
defaultMessage
- The default message for all channels.public MessageConfiguration withDefaultMessage(Message defaultMessage)
Returns a reference to this object so that method calls can be chained together.
defaultMessage
- The default message for all channels.public CampaignEmailMessage getEmailMessage()
public void setEmailMessage(CampaignEmailMessage emailMessage)
emailMessage
- The email message configuration.public MessageConfiguration withEmailMessage(CampaignEmailMessage emailMessage)
Returns a reference to this object so that method calls can be chained together.
emailMessage
- The email message configuration.public Message getGCMMessage()
public void setGCMMessage(Message gCMMessage)
gCMMessage
- The message that the campaign delivers to GCM channels.
Overrides the default message.public MessageConfiguration withGCMMessage(Message gCMMessage)
Returns a reference to this object so that method calls can be chained together.
gCMMessage
- The message that the campaign delivers to GCM channels.
Overrides the default message.public CampaignSmsMessage getSMSMessage()
public void setSMSMessage(CampaignSmsMessage sMSMessage)
sMSMessage
- The SMS message configuration.public MessageConfiguration withSMSMessage(CampaignSmsMessage sMSMessage)
Returns a reference to this object so that method calls can be chained together.
sMSMessage
- The SMS message configuration.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.