@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the status and settings of the email channel for an application.
Constructor and Description |
---|
EmailChannelRequest() |
Modifier and Type | Method and Description |
---|---|
EmailChannelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationSet()
The Amazon SES
configuration set that you want to apply to messages that you send through the channel.
|
Boolean |
getEnabled()
Specifies whether to enable the email channel for the application.
|
String |
getFromAddress()
The verified email address that you want to send email from when you send email through the channel.
|
String |
getIdentity()
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you
want to use when you send email through the channel.
|
String |
getOrchestrationSendingRoleArn()
The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon
SES.
|
String |
getRoleArn()
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits
email-related event data for the channel.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether to enable the email channel for the application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfigurationSet(String configurationSet)
The Amazon SES
configuration set that you want to apply to messages that you send through the channel.
|
void |
setEnabled(Boolean enabled)
Specifies whether to enable the email channel for the application.
|
void |
setFromAddress(String fromAddress)
The verified email address that you want to send email from when you send email through the channel.
|
void |
setIdentity(String identity)
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you
want to use when you send email through the channel.
|
void |
setOrchestrationSendingRoleArn(String orchestrationSendingRoleArn)
The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon
SES.
|
void |
setRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits
email-related event data for the channel.
|
String |
toString()
Returns a string representation of this object.
|
EmailChannelRequest |
withConfigurationSet(String configurationSet)
The Amazon SES
configuration set that you want to apply to messages that you send through the channel.
|
EmailChannelRequest |
withEnabled(Boolean enabled)
Specifies whether to enable the email channel for the application.
|
EmailChannelRequest |
withFromAddress(String fromAddress)
The verified email address that you want to send email from when you send email through the channel.
|
EmailChannelRequest |
withIdentity(String identity)
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you
want to use when you send email through the channel.
|
EmailChannelRequest |
withOrchestrationSendingRoleArn(String orchestrationSendingRoleArn)
The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon
SES.
|
EmailChannelRequest |
withRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits
email-related event data for the channel.
|
public void setConfigurationSet(String configurationSet)
The Amazon SES configuration set that you want to apply to messages that you send through the channel.
configurationSet
- The Amazon SES
configuration set that you want to apply to messages that you send through the channel.public String getConfigurationSet()
The Amazon SES configuration set that you want to apply to messages that you send through the channel.
public EmailChannelRequest withConfigurationSet(String configurationSet)
The Amazon SES configuration set that you want to apply to messages that you send through the channel.
configurationSet
- The Amazon SES
configuration set that you want to apply to messages that you send through the channel.public void setEnabled(Boolean enabled)
Specifies whether to enable the email channel for the application.
enabled
- Specifies whether to enable the email channel for the application.public Boolean getEnabled()
Specifies whether to enable the email channel for the application.
public EmailChannelRequest withEnabled(Boolean enabled)
Specifies whether to enable the email channel for the application.
enabled
- Specifies whether to enable the email channel for the application.public Boolean isEnabled()
Specifies whether to enable the email channel for the application.
public void setFromAddress(String fromAddress)
The verified email address that you want to send email from when you send email through the channel.
fromAddress
- The verified email address that you want to send email from when you send email through the channel.
public String getFromAddress()
The verified email address that you want to send email from when you send email through the channel.
The verified email address that you want to send email from when you send email through the channel.
public EmailChannelRequest withFromAddress(String fromAddress)
The verified email address that you want to send email from when you send email through the channel.
fromAddress
- The verified email address that you want to send email from when you send email through the channel.
public void setIdentity(String identity)
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
identity
- The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
public String getIdentity()
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
public EmailChannelRequest withIdentity(String identity)
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
identity
- The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
public void setRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
roleArn
- The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
public String getRoleArn()
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
public EmailChannelRequest withRoleArn(String roleArn)
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
roleArn
- The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
public void setOrchestrationSendingRoleArn(String orchestrationSendingRoleArn)
The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.
orchestrationSendingRoleArn
- The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through
Amazon SES.public String getOrchestrationSendingRoleArn()
The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.
public EmailChannelRequest withOrchestrationSendingRoleArn(String orchestrationSendingRoleArn)
The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES.
orchestrationSendingRoleArn
- The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through
Amazon SES.public String toString()
toString
in class Object
Object.toString()
public EmailChannelRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.