public class EmailChannelRequest extends Object implements Serializable
| Constructor and Description |
|---|
EmailChannelRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConfigurationSet()
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
String |
getFromAddress()
The email address used to send emails from.
|
String |
getIdentity()
The ARN of an identity verified with SES.
|
String |
getRoleArn()
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
setConfigurationSet(String configurationSet)
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setFromAddress(String fromAddress)
The email address used to send emails from.
|
void |
setIdentity(String identity)
The ARN of an identity verified with SES.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EmailChannelRequest |
withConfigurationSet(String configurationSet)
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
EmailChannelRequest |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
EmailChannelRequest |
withFromAddress(String fromAddress)
The email address used to send emails from.
|
EmailChannelRequest |
withIdentity(String identity)
The ARN of an identity verified with SES.
|
EmailChannelRequest |
withRoleArn(String roleArn)
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
public String getConfigurationSet()
public void setConfigurationSet(String configurationSet)
configurationSet - The configuration set that you want to use when
you send email using the Pinpoint Email API.public EmailChannelRequest withConfigurationSet(String configurationSet)
Returns a reference to this object so that method calls can be chained together.
configurationSet - The configuration set that you want to use when
you send email using the Pinpoint Email API.public Boolean isEnabled()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - If the channel is enabled for sending messages.public EmailChannelRequest withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - If the channel is enabled for sending messages.public String getFromAddress()
public void setFromAddress(String fromAddress)
fromAddress - The email address used to send emails from.public EmailChannelRequest withFromAddress(String fromAddress)
Returns a reference to this object so that method calls can be chained together.
fromAddress - The email address used to send emails from.public String getIdentity()
public void setIdentity(String identity)
identity - The ARN of an identity verified with SES.public EmailChannelRequest withIdentity(String identity)
Returns a reference to this object so that method calls can be chained together.
identity - The ARN of an identity verified with SES.public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The ARN of an IAM Role used to submit events to Mobile
Analytics' event ingestion servicepublic EmailChannelRequest withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of an IAM Role used to submit events to Mobile
Analytics' event ingestion servicepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.