@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailMessageActivity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for an email activity in a journey. This type of activity sends an email message to participants.
Constructor and Description |
---|
EmailMessageActivity() |
Modifier and Type | Method and Description |
---|---|
EmailMessageActivity |
clone() |
boolean |
equals(Object obj) |
JourneyEmailMessage |
getMessageConfig()
The "From" address to use for the message.
|
String |
getNextActivity()
The unique identifier for the next activity to perform, after the message is sent.
|
String |
getTemplateName()
The name of the email template to use for the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessageConfig(JourneyEmailMessage messageConfig)
The "From" address to use for the message.
|
void |
setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after the message is sent.
|
void |
setTemplateName(String templateName)
The name of the email template to use for the message.
|
String |
toString()
Returns a string representation of this object.
|
EmailMessageActivity |
withMessageConfig(JourneyEmailMessage messageConfig)
The "From" address to use for the message.
|
EmailMessageActivity |
withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after the message is sent.
|
EmailMessageActivity |
withTemplateName(String templateName)
The name of the email template to use for the message.
|
public void setMessageConfig(JourneyEmailMessage messageConfig)
The "From" address to use for the message.
messageConfig
- The "From" address to use for the message.public JourneyEmailMessage getMessageConfig()
The "From" address to use for the message.
public EmailMessageActivity withMessageConfig(JourneyEmailMessage messageConfig)
The "From" address to use for the message.
messageConfig
- The "From" address to use for the message.public void setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after the message is sent.
nextActivity
- The unique identifier for the next activity to perform, after the message is sent.public String getNextActivity()
The unique identifier for the next activity to perform, after the message is sent.
public EmailMessageActivity withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after the message is sent.
nextActivity
- The unique identifier for the next activity to perform, after the message is sent.public void setTemplateName(String templateName)
The name of the email template to use for the message.
templateName
- The name of the email template to use for the message.public String getTemplateName()
The name of the email template to use for the message.
public EmailMessageActivity withTemplateName(String templateName)
The name of the email template to use for the message.
templateName
- The name of the email template to use for the message.public String toString()
toString
in class Object
Object.toString()
public EmailMessageActivity 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.