@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectMessageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DirectMessageConfiguration() |
Modifier and Type | Method and Description |
---|---|
DirectMessageConfiguration |
clone() |
boolean |
equals(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.
|
GCMMessage |
getGCMMessage()
The message to GCM channels.
|
SMSMessage |
getSMSMessage()
The message to SMS channels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setGCMMessage(GCMMessage gCMMessage)
The message to GCM channels.
|
void |
setSMSMessage(SMSMessage sMSMessage)
The message to SMS channels.
|
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 |
withGCMMessage(GCMMessage gCMMessage)
The message to GCM channels.
|
DirectMessageConfiguration |
withSMSMessage(SMSMessage sMSMessage)
The message to SMS channels.
|
public void setADMMessage(ADMMessage aDMMessage)
aDMMessage
- The message to ADM channels. Overrides the default push notification message.public ADMMessage getADMMessage()
public DirectMessageConfiguration withADMMessage(ADMMessage aDMMessage)
aDMMessage
- The message to ADM channels. Overrides the default push notification message.public void setAPNSMessage(APNSMessage aPNSMessage)
aPNSMessage
- The message to APNS channels. Overrides the default push notification message.public APNSMessage getAPNSMessage()
public DirectMessageConfiguration withAPNSMessage(APNSMessage aPNSMessage)
aPNSMessage
- The message to APNS channels. Overrides the default push notification message.public void setBaiduMessage(BaiduMessage baiduMessage)
baiduMessage
- The message to Baidu GCM channels. Overrides the default push notification message.public BaiduMessage getBaiduMessage()
public DirectMessageConfiguration withBaiduMessage(BaiduMessage baiduMessage)
baiduMessage
- The message to Baidu GCM channels. Overrides the default push notification message.public void setDefaultMessage(DefaultMessage defaultMessage)
defaultMessage
- The default message for all channels.public DefaultMessage getDefaultMessage()
public DirectMessageConfiguration withDefaultMessage(DefaultMessage defaultMessage)
defaultMessage
- The default message for all channels.public void setDefaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage)
defaultPushNotificationMessage
- The default push notification message for all push channels.public DefaultPushNotificationMessage getDefaultPushNotificationMessage()
public DirectMessageConfiguration withDefaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage)
defaultPushNotificationMessage
- The default push notification message for all push channels.public void setGCMMessage(GCMMessage gCMMessage)
gCMMessage
- The message to GCM channels. Overrides the default push notification message.public GCMMessage getGCMMessage()
public DirectMessageConfiguration withGCMMessage(GCMMessage gCMMessage)
gCMMessage
- The message to GCM channels. Overrides the default push notification message.public void setSMSMessage(SMSMessage sMSMessage)
sMSMessage
- The message to SMS channels. Overrides the default message.public SMSMessage getSMSMessage()
public DirectMessageConfiguration withSMSMessage(SMSMessage sMSMessage)
sMSMessage
- The message to SMS channels. Overrides the default message.public String toString()
toString
in class Object
Object.toString()
public DirectMessageConfiguration 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.