@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the message configuration settings for a campaign.
Constructor and Description |
---|
MessageConfiguration() |
Modifier and Type | Method and Description |
---|---|
MessageConfiguration |
clone() |
boolean |
equals(Object obj) |
Message |
getADMMessage()
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
Message |
getAPNSMessage()
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
Message |
getBaiduMessage()
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
Message |
getDefaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
|
CampaignEmailMessage |
getEmailMessage()
The message that the campaign sends through the email channel.
|
Message |
getGCMMessage()
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
CampaignSmsMessage |
getSMSMessage()
The message that the campaign sends through the SMS channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setADMMessage(Message aDMMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
void |
setAPNSMessage(Message aPNSMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
void |
setBaiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
void |
setDefaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
void |
setEmailMessage(CampaignEmailMessage emailMessage)
The message that the campaign sends through the email channel.
|
void |
setGCMMessage(Message gCMMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
void |
setSMSMessage(CampaignSmsMessage sMSMessage)
The message that the campaign sends through the SMS channel.
|
String |
toString()
Returns a string representation of this object.
|
MessageConfiguration |
withADMMessage(Message aDMMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
MessageConfiguration |
withAPNSMessage(Message aPNSMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
MessageConfiguration |
withBaiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
MessageConfiguration |
withDefaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
MessageConfiguration |
withEmailMessage(CampaignEmailMessage emailMessage)
The message that the campaign sends through the email channel.
|
MessageConfiguration |
withGCMMessage(Message gCMMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
MessageConfiguration |
withSMSMessage(CampaignSmsMessage sMSMessage)
The message that the campaign sends through the SMS channel.
|
public void setADMMessage(Message aDMMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. This message overrides the default message.
aDMMessage
- The message that the campaign sends through the ADM (Amazon Device Messaging) channel. This message
overrides the default message.public Message getADMMessage()
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. This message overrides the default message.
public MessageConfiguration withADMMessage(Message aDMMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. This message overrides the default message.
aDMMessage
- The message that the campaign sends through the ADM (Amazon Device Messaging) channel. This message
overrides the default message.public void setAPNSMessage(Message aPNSMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel. This message overrides the default message.
aPNSMessage
- The message that the campaign sends through the APNs (Apple Push Notification service) channel. This
message overrides the default message.public Message getAPNSMessage()
The message that the campaign sends through the APNs (Apple Push Notification service) channel. This message overrides the default message.
public MessageConfiguration withAPNSMessage(Message aPNSMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel. This message overrides the default message.
aPNSMessage
- The message that the campaign sends through the APNs (Apple Push Notification service) channel. This
message overrides the default message.public void setBaiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. This message overrides the default message.
baiduMessage
- The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. This message overrides
the default message.public Message getBaiduMessage()
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. This message overrides the default message.
public MessageConfiguration withBaiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. This message overrides the default message.
baiduMessage
- The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. This message overrides
the default message.public void setDefaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
defaultMessage
- The default message that the campaign sends through all the channels that are configured for the campaign.public Message getDefaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
public MessageConfiguration withDefaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
defaultMessage
- The default message that the campaign sends through all the channels that are configured for the campaign.public void setEmailMessage(CampaignEmailMessage emailMessage)
The message that the campaign sends through the email channel.
emailMessage
- The message that the campaign sends through the email channel.public CampaignEmailMessage getEmailMessage()
The message that the campaign sends through the email channel.
public MessageConfiguration withEmailMessage(CampaignEmailMessage emailMessage)
The message that the campaign sends through the email channel.
emailMessage
- The message that the campaign sends through the email channel.public void setGCMMessage(Message gCMMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default message.
gCMMessage
- The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
This message overrides the default message.public Message getGCMMessage()
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default message.
public MessageConfiguration withGCMMessage(Message gCMMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default message.
gCMMessage
- The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
This message overrides the default message.public void setSMSMessage(CampaignSmsMessage sMSMessage)
The message that the campaign sends through the SMS channel.
sMSMessage
- The message that the campaign sends through the SMS channel.public CampaignSmsMessage getSMSMessage()
The message that the campaign sends through the SMS channel.
public MessageConfiguration withSMSMessage(CampaignSmsMessage sMSMessage)
The message that the campaign sends through the SMS channel.
sMSMessage
- The message that the campaign sends through the SMS channel.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.