@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendAction extends Object implements Serializable, Cloneable, StructuredPojo
Sends the email to the internet using the ses:SendRawEmail API.
| Constructor and Description |
|---|
SendAction() |
| Modifier and Type | Method and Description |
|---|---|
SendAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionFailurePolicy()
A policy that states what to do in the case of failure.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role to use for this action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActionFailurePolicy(String actionFailurePolicy)
A policy that states what to do in the case of failure.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to use for this action.
|
String |
toString()
Returns a string representation of this object.
|
SendAction |
withActionFailurePolicy(ActionFailurePolicy actionFailurePolicy)
A policy that states what to do in the case of failure.
|
SendAction |
withActionFailurePolicy(String actionFailurePolicy)
A policy that states what to do in the case of failure.
|
SendAction |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to use for this action.
|
public void setActionFailurePolicy(String actionFailurePolicy)
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API.
actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration
errors. For example, the caller does not have the permissions to call the sendRawEmail API.ActionFailurePolicypublic String getActionFailurePolicy()
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API.
ActionFailurePolicypublic SendAction withActionFailurePolicy(String actionFailurePolicy)
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API.
actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration
errors. For example, the caller does not have the permissions to call the sendRawEmail API.ActionFailurePolicypublic SendAction withActionFailurePolicy(ActionFailurePolicy actionFailurePolicy)
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API.
actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration
errors. For example, the caller does not have the permissions to call the sendRawEmail API.ActionFailurePolicypublic void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.
roleArn - The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the
ses:SendRawEmail API.public String getRoleArn()
The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.
public SendAction withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.
roleArn - The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the
ses:SendRawEmail API.public String toString()
toString in class ObjectObject.toString()public SendAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.