/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. * </p> * * @param replacementTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so * that you can publish email sending events. * @return Returns a reference to this object so that method calls can be chained together. */ public BulkEmailDestination withReplacementTags(java.util.Collection<MessageTag> replacementTags) { setReplacementTags(replacementTags); return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setReplacementTags(java.util.Collection)} or {@link #withReplacementTags(java.util.Collection)} if you * want to override the existing values. * </p> * * @param replacementTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so * that you can publish email sending events. * @return Returns a reference to this object so that method calls can be chained together. */ public BulkEmailDestination withReplacementTags(MessageTag... replacementTags) { if (this.replacementTags == null) { setReplacementTags(new com.amazonaws.internal.SdkInternalList<MessageTag>(replacementTags.length)); } for (MessageTag ele : replacementTags) { this.replacementTags.add(ele); } return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email * that you send using <code>SendBulkTemplatedEmail</code>. Tags correspond * to characteristics of the email that you define, so that you can publish * email sending events. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param replacementTags <p> * A list of tags, in the form of name/value pairs, to apply to * an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to * characteristics of the email that you define, so that you can * publish email sending events. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public BulkEmailDestination withReplacementTags(java.util.Collection<MessageTag> replacementTags) { setReplacementTags(replacementTags); return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. * </p> * * @param replacementTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so * that you can publish email sending events. * @return Returns a reference to this object so that method calls can be chained together. */ public BulkEmailDestination withReplacementTags(java.util.Collection<MessageTag> replacementTags) { setReplacementTags(replacementTags); return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setReplacementTags(java.util.Collection)} or {@link #withReplacementTags(java.util.Collection)} if you * want to override the existing values. * </p> * * @param replacementTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendBulkTemplatedEmail</code>. Tags correspond to characteristics of the email that you define, so * that you can publish email sending events. * @return Returns a reference to this object so that method calls can be chained together. */ public BulkEmailDestination withReplacementTags(MessageTag... replacementTags) { if (this.replacementTags == null) { setReplacementTags(new com.amazonaws.internal.SdkInternalList<MessageTag>(replacementTags.length)); } for (MessageTag ele : replacementTags) { this.replacementTags.add(ele); } return this; }