@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.
|
String |
getTemplateVersion()
The unique identifier for the version of the email template to use for the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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.
|
void |
setTemplateVersion(String templateVersion)
The unique identifier for the version 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.
|
EmailMessageActivity |
withTemplateVersion(String templateVersion)
The unique identifier for the version 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 void setTemplateVersion(String templateVersion)
The unique identifier for the version of the email template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
templateVersion
- The unique identifier for the version of the email template to use for the message. If specified, this
value must match the identifier for an existing template version. To retrieve a list of versions and
version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
public String getTemplateVersion()
The unique identifier for the version of the email template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
public EmailMessageActivity withTemplateVersion(String templateVersion)
The unique identifier for the version of the email template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
templateVersion
- The unique identifier for the version of the email template to use for the message. If specified, this
value must match the identifier for an existing template version. To retrieve a list of versions and
version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
public String toString()
toString
in class Object
Object.toString()
public EmailMessageActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.