@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EmailChannelRequest() |
Modifier and Type | Method and Description |
---|---|
EmailChannelRequest |
clone() |
boolean |
equals(Object obj) |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
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 void setEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean getEnabled()
public EmailChannelRequest withEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean isEnabled()
public void setFromAddress(String fromAddress)
fromAddress
- The email address used to send emails from.public String getFromAddress()
public EmailChannelRequest withFromAddress(String fromAddress)
fromAddress
- The email address used to send emails from.public void setIdentity(String identity)
identity
- The ARN of an identity verified with SES.public String getIdentity()
public EmailChannelRequest withIdentity(String identity)
identity
- The ARN of an identity verified with SES.public void setRoleArn(String roleArn)
roleArn
- The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion servicepublic String getRoleArn()
public EmailChannelRequest withRoleArn(String roleArn)
roleArn
- The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion servicepublic 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.