@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArchiveAction extends Object implements Serializable, Cloneable, StructuredPojo
The action to archive the email by delivering the email to an Amazon SES archive.
| Constructor and Description |
|---|
ArchiveAction() |
| Modifier and Type | Method and Description |
|---|---|
ArchiveAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionFailurePolicy()
A policy that states what to do in the case of failure.
|
String |
getTargetArchive()
The identifier of the archive to send the email to.
|
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 |
setTargetArchive(String targetArchive)
The identifier of the archive to send the email to.
|
String |
toString()
Returns a string representation of this object.
|
ArchiveAction |
withActionFailurePolicy(ActionFailurePolicy actionFailurePolicy)
A policy that states what to do in the case of failure.
|
ArchiveAction |
withActionFailurePolicy(String actionFailurePolicy)
A policy that states what to do in the case of failure.
|
ArchiveAction |
withTargetArchive(String targetArchive)
The identifier of the archive to send the email to.
|
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 specified archive has been deleted.
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 specified archive has been deleted.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 specified archive has been deleted.
ActionFailurePolicypublic ArchiveAction 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 specified archive has been deleted.
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 specified archive has been deleted.ActionFailurePolicypublic ArchiveAction 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 specified archive has been deleted.
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 specified archive has been deleted.ActionFailurePolicypublic void setTargetArchive(String targetArchive)
The identifier of the archive to send the email to.
targetArchive - The identifier of the archive to send the email to.public String getTargetArchive()
The identifier of the archive to send the email to.
public ArchiveAction withTargetArchive(String targetArchive)
The identifier of the archive to send the email to.
targetArchive - The identifier of the archive to send the email to.public String toString()
toString in class ObjectObject.toString()public ArchiveAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.