/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using <code>SendEmail</code>. * Tags correspond to characteristics of the email that you define, so that you can publish email sending events. * </p> * * @param tags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendEmail</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 SendEmailRequest withTags(java.util.Collection<MessageTag> tags) { setTags(tags); return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using <code>SendEmail</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 #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. * </p> * * @param tags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendEmail</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 SendEmailRequest withTags(MessageTag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList<MessageTag>(tags.length)); } for (MessageTag ele : tags) { this.tags.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>SendEmail</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 tags <p> * A list of tags, in the form of name/value pairs, to apply to * an email that you send using <code>SendEmail</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 SendEmailRequest withTags(java.util.Collection<MessageTag> tags) { setTags(tags); return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using <code>SendEmail</code>. * Tags correspond to characteristics of the email that you define, so that you can publish email sending events. * </p> * * @param tags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendEmail</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 SendEmailRequest withTags(java.util.Collection<MessageTag> tags) { setTags(tags); return this; }
/** * <p> * A list of tags, in the form of name/value pairs, to apply to an email that you send using <code>SendEmail</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 #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. * </p> * * @param tags * A list of tags, in the form of name/value pairs, to apply to an email that you send using * <code>SendEmail</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 SendEmailRequest withTags(MessageTag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList<MessageTag>(tags.length)); } for (MessageTag ele : tags) { this.tags.add(ele); } return this; }