public BootstrapActionConfig newRunIf(String condition, BootstrapActionConfig config) {List<String> args = config.getScriptBootstrapAction().getArgs();args.add(0, condition);args.add(1, config.getScriptBootstrapAction().getPath());return new BootstrapActionConfig().withName("Run If, " + config.getName()).withScriptBootstrapAction(new ScriptBootstrapActionConfig().withPath("s3:").withArgs(args));}
public BootstrapActionConfig NewRunIf(string condition, BootstrapActionConfig config){List<string> args = config.ScriptBootstrapAction.Args;args.Add(condition);args.Add(config.ScriptBootstrapAction.Path);return new BootstrapActionConfig{Name = "Run If, " + config.Name,ScriptBootstrapAction = new ScriptBootstrapActionConfig{Path = "s3:", Args = args}};}