/** * <p> * An array of custom recipe names to be run following a <code>deploy</code> event. * </p> * * @param deploy * An array of custom recipe names to be run following a <code>deploy</code> event. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipes withDeploy(java.util.Collection<String> deploy) { setDeploy(deploy); return this; }
/** * <p> * An array of custom recipe names to be run following a <code>deploy</code> event. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setDeploy(java.util.Collection)} or {@link #withDeploy(java.util.Collection)} if you want to override the * existing values. * </p> * * @param deploy * An array of custom recipe names to be run following a <code>deploy</code> event. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipes withDeploy(String... deploy) { if (this.deploy == null) { setDeploy(new com.amazonaws.internal.SdkInternalList<String>(deploy.length)); } for (String ele : deploy) { this.deploy.add(ele); } return this; }
recipes.setDeploy(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
/** * <p> * An array of custom recipe names to be run following a <code>deploy</code> event. * </p> * * @param deploy * An array of custom recipe names to be run following a <code>deploy</code> event. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipes withDeploy(java.util.Collection<String> deploy) { setDeploy(deploy); return this; }
/** * <p> * An array of custom recipe names to be run following a <code>deploy</code> event. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setDeploy(java.util.Collection)} or {@link #withDeploy(java.util.Collection)} if you want to override the * existing values. * </p> * * @param deploy * An array of custom recipe names to be run following a <code>deploy</code> event. * @return Returns a reference to this object so that method calls can be chained together. */ public Recipes withDeploy(String... deploy) { if (this.deploy == null) { setDeploy(new com.amazonaws.internal.SdkInternalList<String>(deploy.length)); } for (String ele : deploy) { this.deploy.add(ele); } return this; }
recipes.setDeploy(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));