public class EmailChannelRequest
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EmailChannelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfigurationSet()
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
java.lang.Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
java.lang.String |
getFromAddress()
The email address used to send emails from.
|
java.lang.String |
getIdentity()
The ARN of an identity verified with SES.
|
java.lang.String |
getRoleArn()
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
setConfigurationSet(java.lang.String configurationSet)
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
void |
setEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setFromAddress(java.lang.String fromAddress)
The email address used to send emails from.
|
void |
setIdentity(java.lang.String identity)
The ARN of an identity verified with SES.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EmailChannelRequest |
withConfigurationSet(java.lang.String configurationSet)
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
EmailChannelRequest |
withEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
EmailChannelRequest |
withFromAddress(java.lang.String fromAddress)
The email address used to send emails from.
|
EmailChannelRequest |
withIdentity(java.lang.String identity)
The ARN of an identity verified with SES.
|
EmailChannelRequest |
withRoleArn(java.lang.String roleArn)
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
public java.lang.String getConfigurationSet()
public void setConfigurationSet(java.lang.String configurationSet)
configurationSet
- The configuration set that you want to use when
you send email using the Pinpoint Email API.public EmailChannelRequest withConfigurationSet(java.lang.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 java.lang.Boolean isEnabled()
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- If the channel is enabled for sending messages.public EmailChannelRequest withEnabled(java.lang.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 java.lang.String getFromAddress()
public void setFromAddress(java.lang.String fromAddress)
fromAddress
- The email address used to send emails from.public EmailChannelRequest withFromAddress(java.lang.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 java.lang.String getIdentity()
public void setIdentity(java.lang.String identity)
identity
- The ARN of an identity verified with SES.public EmailChannelRequest withIdentity(java.lang.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 java.lang.String getRoleArn()
public void setRoleArn(java.lang.String roleArn)
roleArn
- The ARN of an IAM Role used to submit events to Mobile
Analytics' event ingestion servicepublic EmailChannelRequest withRoleArn(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.