/** * <p> * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * </p> * * @param domains * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * @return Returns a reference to this object so that method calls can be chained together. */ public App withDomains(java.util.Collection<String> domains) { setDomains(domains); return this; }
/** * <p> * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setDomains(java.util.Collection)} or {@link #withDomains(java.util.Collection)} if you want to override * the existing values. * </p> * * @param domains * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * @return Returns a reference to this object so that method calls can be chained together. */ public App withDomains(String... domains) { if (this.domains == null) { setDomains(new com.amazonaws.internal.SdkInternalList<String>(domains.length)); } for (String ele : domains) { this.domains.add(ele); } return this; }
app.setDomains(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
/** * <p> * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * </p> * * @param domains * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * @return Returns a reference to this object so that method calls can be chained together. */ public App withDomains(java.util.Collection<String> domains) { setDomains(domains); return this; }
/** * <p> * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setDomains(java.util.Collection)} or {@link #withDomains(java.util.Collection)} if you want to override * the existing values. * </p> * * @param domains * The app vhost settings with multiple domains separated by commas. For example: * <code>'www.example.com, example.com'</code> * @return Returns a reference to this object so that method calls can be chained together. */ public App withDomains(String... domains) { if (this.domains == null) { setDomains(new com.amazonaws.internal.SdkInternalList<String>(domains.length)); } for (String ele : domains) { this.domains.add(ele); } return this; }
app.setDomains(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));