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