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