@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyEmailMessage extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the "From" address for an email message that's sent to participants in a journey.
Constructor and Description |
---|
JourneyEmailMessage() |
Modifier and Type | Method and Description |
---|---|
JourneyEmailMessage |
clone() |
boolean |
equals(Object obj) |
String |
getFromAddress()
The verified email address to send the email message from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFromAddress(String fromAddress)
The verified email address to send the email message from.
|
String |
toString()
Returns a string representation of this object.
|
JourneyEmailMessage |
withFromAddress(String fromAddress)
The verified email address to send the email message from.
|
public void setFromAddress(String fromAddress)
The verified email address to send the email message from. The default address is the FromAddress specified for the email channel for the application.
fromAddress
- The verified email address to send the email message from. The default address is the FromAddress
specified for the email channel for the application.public String getFromAddress()
The verified email address to send the email message from. The default address is the FromAddress specified for the email channel for the application.
public JourneyEmailMessage withFromAddress(String fromAddress)
The verified email address to send the email message from. The default address is the FromAddress specified for the email channel for the application.
fromAddress
- The verified email address to send the email message from. The default address is the FromAddress
specified for the email channel for the application.public String toString()
toString
in class Object
Object.toString()
public JourneyEmailMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.