public class EmailChannelResponse extends Object implements Serializable
| Constructor and Description |
|---|
EmailChannelResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique ID of the application to which the email channel belongs.
|
String |
getConfigurationSet()
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
String |
getCreationDate()
The date that the settings were last updated in ISO 8601 format.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
String |
getFromAddress()
The email address used to send emails from.
|
Boolean |
getHasCredential()
Not used.
|
String |
getId()
Channel ID.
|
String |
getIdentity()
The ARN of an identity verified with SES.
|
Boolean |
getIsArchived()
Is this channel archived
|
String |
getLastModifiedBy()
Who last updated this entry
|
String |
getLastModifiedDate()
Last date this was updated
|
Integer |
getMessagesPerSecond()
Messages per second that can be sent
|
String |
getPlatform()
Platform type.
|
String |
getRoleArn()
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
Integer |
getVersion()
Version of channel
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
Boolean |
isHasCredential()
Not used.
|
Boolean |
isIsArchived()
Is this channel archived
|
void |
setApplicationId(String applicationId)
The unique ID of the application to which the email channel belongs.
|
void |
setConfigurationSet(String configurationSet)
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
void |
setCreationDate(String creationDate)
The date that the settings were last updated in ISO 8601 format.
|
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 |
setHasCredential(Boolean hasCredential)
Not used.
|
void |
setId(String id)
Channel ID.
|
void |
setIdentity(String identity)
The ARN of an identity verified with SES.
|
void |
setIsArchived(Boolean isArchived)
Is this channel archived
|
void |
setLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
void |
setLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
void |
setMessagesPerSecond(Integer messagesPerSecond)
Messages per second that can be sent
|
void |
setPlatform(String platform)
Platform type.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
void |
setVersion(Integer version)
Version of channel
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EmailChannelResponse |
withApplicationId(String applicationId)
The unique ID of the application to which the email channel belongs.
|
EmailChannelResponse |
withConfigurationSet(String configurationSet)
The configuration set that you want to use when you send email using the
Pinpoint Email API.
|
EmailChannelResponse |
withCreationDate(String creationDate)
The date that the settings were last updated in ISO 8601 format.
|
EmailChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
EmailChannelResponse |
withFromAddress(String fromAddress)
The email address used to send emails from.
|
EmailChannelResponse |
withHasCredential(Boolean hasCredential)
Not used.
|
EmailChannelResponse |
withId(String id)
Channel ID.
|
EmailChannelResponse |
withIdentity(String identity)
The ARN of an identity verified with SES.
|
EmailChannelResponse |
withIsArchived(Boolean isArchived)
Is this channel archived
|
EmailChannelResponse |
withLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
EmailChannelResponse |
withLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
EmailChannelResponse |
withMessagesPerSecond(Integer messagesPerSecond)
Messages per second that can be sent
|
EmailChannelResponse |
withPlatform(String platform)
Platform type.
|
EmailChannelResponse |
withRoleArn(String roleArn)
The ARN of an IAM Role used to submit events to Mobile Analytics' event
ingestion service
|
EmailChannelResponse |
withVersion(Integer version)
Version of channel
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The unique ID of the application to which the email
channel belongs.public EmailChannelResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The unique ID of the application to which the email
channel belongs.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 EmailChannelResponse 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 String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - The date that the settings were last updated in ISO
8601 format.public EmailChannelResponse withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The date that the settings were last updated in ISO
8601 format.public Boolean isEnabled()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - If the channel is enabled for sending messages.public EmailChannelResponse 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 EmailChannelResponse 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 Boolean isHasCredential()
public Boolean getHasCredential()
public void setHasCredential(Boolean hasCredential)
hasCredential - Not used. Retained for backwards compatibility.public EmailChannelResponse withHasCredential(Boolean hasCredential)
Returns a reference to this object so that method calls can be chained together.
hasCredential - Not used. Retained for backwards compatibility.public String getId()
public void setId(String id)
id - Channel ID. Not used, only for backwards compatibility.public EmailChannelResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - Channel ID. Not used, only for backwards compatibility.public String getIdentity()
public void setIdentity(String identity)
identity - The ARN of an identity verified with SES.public EmailChannelResponse 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 Boolean isIsArchived()
public Boolean getIsArchived()
public void setIsArchived(Boolean isArchived)
isArchived - Is this channel archivedpublic EmailChannelResponse withIsArchived(Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived - Is this channel archivedpublic String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - Who last updated this entrypublic EmailChannelResponse withLastModifiedBy(String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - Who last updated this entrypublic String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - Last date this was updatedpublic EmailChannelResponse withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - Last date this was updatedpublic Integer getMessagesPerSecond()
public void setMessagesPerSecond(Integer messagesPerSecond)
messagesPerSecond - Messages per second that can be sentpublic EmailChannelResponse withMessagesPerSecond(Integer messagesPerSecond)
Returns a reference to this object so that method calls can be chained together.
messagesPerSecond - Messages per second that can be sentpublic String getPlatform()
public void setPlatform(String platform)
platform - Platform type. Will be "EMAIL"public EmailChannelResponse withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform - Platform type. Will be "EMAIL"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 EmailChannelResponse 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 Integer getVersion()
public void setVersion(Integer version)
version - Version of channelpublic EmailChannelResponse withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - Version of channelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.