public class DirectMessageConfiguration
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DirectMessageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ADMMessage |
getADMMessage()
The message to ADM channels.
|
APNSMessage |
getAPNSMessage()
The message to APNS channels.
|
BaiduMessage |
getBaiduMessage()
The message to Baidu GCM channels.
|
DefaultMessage |
getDefaultMessage()
The default message for all channels.
|
DefaultPushNotificationMessage |
getDefaultPushNotificationMessage()
The default push notification message for all push channels.
|
EmailMessage |
getEmailMessage()
The message to Email channels.
|
GCMMessage |
getGCMMessage()
The message to GCM channels.
|
SMSMessage |
getSMSMessage()
The message to SMS channels.
|
VoiceMessage |
getVoiceMessage()
The message to Voice channels.
|
int |
hashCode() |
void |
setADMMessage(ADMMessage aDMMessage)
The message to ADM channels.
|
void |
setAPNSMessage(APNSMessage aPNSMessage)
The message to APNS channels.
|
void |
setBaiduMessage(BaiduMessage baiduMessage)
The message to Baidu GCM channels.
|
void |
setDefaultMessage(DefaultMessage defaultMessage)
The default message for all channels.
|
void |
setDefaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage)
The default push notification message for all push channels.
|
void |
setEmailMessage(EmailMessage emailMessage)
The message to Email channels.
|
void |
setGCMMessage(GCMMessage gCMMessage)
The message to GCM channels.
|
void |
setSMSMessage(SMSMessage sMSMessage)
The message to SMS channels.
|
void |
setVoiceMessage(VoiceMessage voiceMessage)
The message to Voice channels.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DirectMessageConfiguration |
withADMMessage(ADMMessage aDMMessage)
The message to ADM channels.
|
DirectMessageConfiguration |
withAPNSMessage(APNSMessage aPNSMessage)
The message to APNS channels.
|
DirectMessageConfiguration |
withBaiduMessage(BaiduMessage baiduMessage)
The message to Baidu GCM channels.
|
DirectMessageConfiguration |
withDefaultMessage(DefaultMessage defaultMessage)
The default message for all channels.
|
DirectMessageConfiguration |
withDefaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage)
The default push notification message for all push channels.
|
DirectMessageConfiguration |
withEmailMessage(EmailMessage emailMessage)
The message to Email channels.
|
DirectMessageConfiguration |
withGCMMessage(GCMMessage gCMMessage)
The message to GCM channels.
|
DirectMessageConfiguration |
withSMSMessage(SMSMessage sMSMessage)
The message to SMS channels.
|
DirectMessageConfiguration |
withVoiceMessage(VoiceMessage voiceMessage)
The message to Voice channels.
|
public ADMMessage getADMMessage()
public void setADMMessage(ADMMessage aDMMessage)
aDMMessage - The message to ADM channels. Overrides the default push
notification message.public DirectMessageConfiguration withADMMessage(ADMMessage aDMMessage)
Returns a reference to this object so that method calls can be chained together.
aDMMessage - The message to ADM channels. Overrides the default push
notification message.public APNSMessage getAPNSMessage()
public void setAPNSMessage(APNSMessage aPNSMessage)
aPNSMessage - The message to APNS channels. Overrides the default
push notification message.public DirectMessageConfiguration withAPNSMessage(APNSMessage aPNSMessage)
Returns a reference to this object so that method calls can be chained together.
aPNSMessage - The message to APNS channels. Overrides the default
push notification message.public BaiduMessage getBaiduMessage()
public void setBaiduMessage(BaiduMessage baiduMessage)
baiduMessage - The message to Baidu GCM channels. Overrides the
default push notification message.public DirectMessageConfiguration withBaiduMessage(BaiduMessage baiduMessage)
Returns a reference to this object so that method calls can be chained together.
baiduMessage - The message to Baidu GCM channels. Overrides the
default push notification message.public DefaultMessage getDefaultMessage()
public void setDefaultMessage(DefaultMessage defaultMessage)
defaultMessage - The default message for all channels.public DirectMessageConfiguration withDefaultMessage(DefaultMessage defaultMessage)
Returns a reference to this object so that method calls can be chained together.
defaultMessage - The default message for all channels.public DefaultPushNotificationMessage getDefaultPushNotificationMessage()
public void setDefaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage)
defaultPushNotificationMessage - The default push notification
message for all push channels.public DirectMessageConfiguration withDefaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage)
Returns a reference to this object so that method calls can be chained together.
defaultPushNotificationMessage - The default push notification
message for all push channels.public EmailMessage getEmailMessage()
public void setEmailMessage(EmailMessage emailMessage)
emailMessage - The message to Email channels. Overrides the default
message.public DirectMessageConfiguration withEmailMessage(EmailMessage emailMessage)
Returns a reference to this object so that method calls can be chained together.
emailMessage - The message to Email channels. Overrides the default
message.public GCMMessage getGCMMessage()
public void setGCMMessage(GCMMessage gCMMessage)
gCMMessage - The message to GCM channels. Overrides the default push
notification message.public DirectMessageConfiguration withGCMMessage(GCMMessage gCMMessage)
Returns a reference to this object so that method calls can be chained together.
gCMMessage - The message to GCM channels. Overrides the default push
notification message.public SMSMessage getSMSMessage()
public void setSMSMessage(SMSMessage sMSMessage)
sMSMessage - The message to SMS channels. Overrides the default
message.public DirectMessageConfiguration withSMSMessage(SMSMessage sMSMessage)
Returns a reference to this object so that method calls can be chained together.
sMSMessage - The message to SMS channels. Overrides the default
message.public VoiceMessage getVoiceMessage()
public void setVoiceMessage(VoiceMessage voiceMessage)
voiceMessage - The message to Voice channels. Overrides the default
message.public DirectMessageConfiguration withVoiceMessage(VoiceMessage voiceMessage)
Returns a reference to this object so that method calls can be chained together.
voiceMessage - The message to Voice channels. Overrides the default
message.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.