@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplaceRecipientAction extends Object implements Serializable, Cloneable, StructuredPojo
This action replaces the email envelope recipients with the given list of recipients. If the condition of this action applies only to a subset of recipients, only those recipients are replaced with the recipients specified in the action. The message contents and headers are unaffected by this action, only the envelope recipients are updated.
Constructor and Description |
---|
ReplaceRecipientAction() |
Modifier and Type | Method and Description |
---|---|
ReplaceRecipientAction |
clone() |
boolean |
equals(Object obj) |
List<String> |
getReplaceWith()
This action specifies the replacement recipient email addresses to insert.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReplaceWith(Collection<String> replaceWith)
This action specifies the replacement recipient email addresses to insert.
|
String |
toString()
Returns a string representation of this object.
|
ReplaceRecipientAction |
withReplaceWith(Collection<String> replaceWith)
This action specifies the replacement recipient email addresses to insert.
|
ReplaceRecipientAction |
withReplaceWith(String... replaceWith)
This action specifies the replacement recipient email addresses to insert.
|
public List<String> getReplaceWith()
This action specifies the replacement recipient email addresses to insert.
public void setReplaceWith(Collection<String> replaceWith)
This action specifies the replacement recipient email addresses to insert.
replaceWith
- This action specifies the replacement recipient email addresses to insert.public ReplaceRecipientAction withReplaceWith(String... replaceWith)
This action specifies the replacement recipient email addresses to insert.
NOTE: This method appends the values to the existing list (if any). Use
setReplaceWith(java.util.Collection)
or withReplaceWith(java.util.Collection)
if you want to
override the existing values.
replaceWith
- This action specifies the replacement recipient email addresses to insert.public ReplaceRecipientAction withReplaceWith(Collection<String> replaceWith)
This action specifies the replacement recipient email addresses to insert.
replaceWith
- This action specifies the replacement recipient email addresses to insert.public String toString()
toString
in class Object
Object.toString()
public ReplaceRecipientAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.