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