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