/** * <p> * The email addresses in the CC line of an email to be added to the support case. * </p> * * @param ccEmailAddresses * The email addresses in the CC line of an email to be added to the support case. * @return Returns a reference to this object so that method calls can be chained together. */ public AddCommunicationToCaseRequest withCcEmailAddresses(java.util.Collection<String> ccEmailAddresses) { setCcEmailAddresses(ccEmailAddresses); return this; }
/** * <p> * The email addresses in the CC line of an email to be added to the support case. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCcEmailAddresses(java.util.Collection)} or {@link #withCcEmailAddresses(java.util.Collection)} if you * want to override the existing values. * </p> * * @param ccEmailAddresses * The email addresses in the CC line of an email to be added to the support case. * @return Returns a reference to this object so that method calls can be chained together. */ public AddCommunicationToCaseRequest withCcEmailAddresses(String... ccEmailAddresses) { if (this.ccEmailAddresses == null) { setCcEmailAddresses(new com.amazonaws.internal.SdkInternalList<String>(ccEmailAddresses.length)); } for (String ele : ccEmailAddresses) { this.ccEmailAddresses.add(ele); } return this; }
/** * <p> * The email addresses in the CC line of an email to be added to the support case. * </p> * * @param ccEmailAddresses * The email addresses in the CC line of an email to be added to the support case. * @return Returns a reference to this object so that method calls can be chained together. */ public AddCommunicationToCaseRequest withCcEmailAddresses(java.util.Collection<String> ccEmailAddresses) { setCcEmailAddresses(ccEmailAddresses); return this; }
/** * <p> * The email addresses in the CC line of an email to be added to the support case. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCcEmailAddresses(java.util.Collection)} or {@link #withCcEmailAddresses(java.util.Collection)} if you * want to override the existing values. * </p> * * @param ccEmailAddresses * The email addresses in the CC line of an email to be added to the support case. * @return Returns a reference to this object so that method calls can be chained together. */ public AddCommunicationToCaseRequest withCcEmailAddresses(String... ccEmailAddresses) { if (this.ccEmailAddresses == null) { setCcEmailAddresses(new com.amazonaws.internal.SdkInternalList<String>(ccEmailAddresses.length)); } for (String ele : ccEmailAddresses) { this.ccEmailAddresses.add(ele); } return this; }