yijunyu/c-to-rust huggingface dataset:
// Original:
public int addExternalName(ExternalNameRecord rec) {ExternalNameRecord[] tmp = new ExternalNameRecord[_externalNameRecords.length + 1];System.arraycopy(_externalNameRecords, 0, tmp, 0, _externalNameRecords.length);tmp[tmp.length - 1] = rec;_externalNameRecords = tmp;return _externalNameRecords.length - 1;}

// Translation:
public int AddExternalName(ExternalNameRecord rec){ExternalNameRecord[] tmp = new ExternalNameRecord[_externalNameRecords.Length + 1];Array.Copy(_externalNameRecords, 0, tmp, 0, _externalNameRecords.Length);tmp[tmp.Length - 1] = rec;_externalNameRecords = tmp;return _externalNameRecords.Length - 1;}
// Original:
public DescribePrincipalIdFormatResult describePrincipalIdFormat(DescribePrincipalIdFormatRequest request) {request = beforeClientExecution(request);return executeDescribePrincipalIdFormat(request);}

// Translation:
public virtual DescribePrincipalIdFormatResponse DescribePrincipalIdFormat(DescribePrincipalIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePrincipalIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePrincipalIdFormatResponseUnmarshaller.Instance;return Invoke<DescribePrincipalIdFormatResponse>(request, options);}
// Original:
public ListPartnerEventSourceAccountsResult listPartnerEventSourceAccounts(ListPartnerEventSourceAccountsRequest request) {request = beforeClientExecution(request);return executeListPartnerEventSourceAccounts(request);}

// Translation:
public virtual ListPartnerEventSourceAccountsResponse ListPartnerEventSourceAccounts(ListPartnerEventSourceAccountsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPartnerEventSourceAccountsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPartnerEventSourceAccountsResponseUnmarshaller.Instance;return Invoke<ListPartnerEventSourceAccountsResponse>(request, options);}
// Original:
public File getFile() {return file;}

// Translation:
public virtual FilePath GetFile(){return file;}
// Original:
public void onChanged() {if (mSelectedIds.size() > 0) {return;}chooseListToShow();ensureSomeGroupIsExpanded();}

// Translation:
public override void onChanged(){this._enclosing.refreshExpGroupMetadataList(true, true);this._enclosing.notifyDataSetChanged();}
// Original:
public String getTextAsString() {if (this.text == null)return null;elsereturn this.text.toString();}

// Translation:
public virtual string GetTextAsString(){if (this.m_text == null)return null;elsereturn this.m_text.ToString();}
// Original:
public LongBuffer put(long[] src, int srcOffset, int longCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, longCount);if (longCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + longCount; ++i) {put(src[i]);}return this;}

// Translation:
public virtual java.nio.LongBuffer put(long[] src, int srcOffset, int longCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, longCount);if (longCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + longCount; ++i){put(src[i]);}}return this;}
// Original:
@Override public boolean remove(Object object) {synchronized (CopyOnWriteArrayList.this) {int index = indexOf(object);if (index == -1) {return false;}remove(index);return true;}}

// Translation:
public virtual bool remove(object o){lock (this){int index = indexOf(o);if (index == -1){return false;}remove(index);return true;}}
// Original:
public long length() {if (onDiskFile == null) {return super.length();}return onDiskFile.length();}

// Translation:
public override long Length(){if (onDiskFile == null){return base.Length();}return onDiskFile.Length();}
// Original:
public FieldBoostMapFCListener(QueryConfigHandler config) {this.config = config;}

// Translation:
public FieldBoostMapFCListener(QueryConfigHandler config){this.config = config;}
// Original:
public StartActivityStreamResult startActivityStream(StartActivityStreamRequest request) {request = beforeClientExecution(request);return executeStartActivityStream(request);}

// Translation:
public virtual StartActivityStreamResponse StartActivityStream(StartActivityStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartActivityStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = StartActivityStreamResponseUnmarshaller.Instance;return Invoke<StartActivityStreamResponse>(request, options);}
// Original:
public Hyphenation hyphenate(String word, int remainCharCount,int pushCharCount) {char[] w = word.toCharArray();return hyphenate(w, 0, w.length, remainCharCount, pushCharCount);}

// Translation:
public virtual Hyphenation Hyphenate(string word, int remainCharCount, int pushCharCount){char[] w = word.ToCharArray();return Hyphenate(w, 0, w.Length, remainCharCount, pushCharCount);}
// Original:
public CreateSmsTemplateResult createSmsTemplate(CreateSmsTemplateRequest request) {request = beforeClientExecution(request);return executeCreateSmsTemplate(request);}

// Translation:
public virtual CreateSmsTemplateResponse CreateSmsTemplate(CreateSmsTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSmsTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSmsTemplateResponseUnmarshaller.Instance;return Invoke<CreateSmsTemplateResponse>(request, options);}
// Original:
public void clear() {int n = mSize;Object[] values = mValues;for (int i = 0; i < n; i++) {values[i] = null;}mSize = 0;mGarbage = false;}

// Translation:
public virtual void clear(){int n = mSize;object[] values = mValues;{for (int i = 0; i < n; i++){values[i] = null;}}mSize = 0;mGarbage = false;}
// Original:
public String toStringTree(Parser parser) {return toString();}

// Translation:
public virtual string ToStringTree(Parser parser){return ToString();}
// Original:
public long get(int index) {final int o = index >>> 2;final int b = index & 3;final int shift = b << 4;return (blocks[o] >>> shift) & 65535L;}

// Translation:
public override long Get(int index){int o = (int)((uint)index >> 2);int b = index & 3;int shift = b << 4;return ((long)((ulong)blocks[o] >> shift)) & 65535L;}
// Original:
public String toString() {return getType().name() + ": " + getOldId().name() + " "+ getNewId().name() + " " + getRefName();}

// Translation:
public override string ToString(){return GetType().ToString() + ": " + GetOldId().Name + " " + GetNewId().Name + " "+ GetRefName();}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval text, ValueEval number_times) {ValueEval veText1;try {veText1 = OperandResolver.getSingleValue(text, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}String strText1 = OperandResolver.coerceValueToString(veText1);double numberOfTime = 0;try {numberOfTime = OperandResolver.coerceValueToDouble(number_times);} catch (EvaluationException e) {return ErrorEval.VALUE_INVALID;}int numberOfTimeInt = (int)numberOfTime;StringBuilder strb = new StringBuilder(strText1.length() * numberOfTimeInt);for(int i = 0; i < numberOfTimeInt; i++) {strb.append(strText1);}if (strb.toString().length() > 32767) {return ErrorEval.VALUE_INVALID;}return new StringEval(strb.toString());}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval text, ValueEval number_times){ValueEval veText1;try{veText1 = OperandResolver.GetSingleValue(text, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String strText1 = OperandResolver.CoerceValueToString(veText1);double numberOfTime = 0;try{numberOfTime = OperandResolver.CoerceValueToDouble(number_times);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}int numberOfTimeInt = (int)numberOfTime;StringBuilder strb = new StringBuilder(strText1.Length * numberOfTimeInt);for (int i = 0; i < numberOfTimeInt; i++){strb.Append(strText1);}if (strb.ToString().Length > 32767){return ErrorEval.VALUE_INVALID;}return new StringEval(strb.ToString());}
// Original:
public Entry<K, V> lastEntry() {return immutableCopy(endpoint(false));}

// Translation:
public java.util.MapClass.Entry<K, V> lastEntry(){return this._enclosing.immutableCopy(this.endpoint(false));}
// Original:
public DeleteEvaluationResult deleteEvaluation(DeleteEvaluationRequest request) {request = beforeClientExecution(request);return executeDeleteEvaluation(request);}

// Translation:
public virtual DeleteEvaluationResponse DeleteEvaluation(DeleteEvaluationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEvaluationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEvaluationResponseUnmarshaller.Instance;return Invoke<DeleteEvaluationResponse>(request, options);}
// Original:
public ContinueRecord(RecordInputStream in) {_data = in.readRemainder();}

// Translation:
public ContinueRecord(RecordInputStream in1){field_1_data = in1.ReadRemainder();}
// Original:
public CreateFilterResult createFilter(CreateFilterRequest request) {request = beforeClientExecution(request);return executeCreateFilter(request);}

// Translation:
public virtual CreateFilterResponse CreateFilter(CreateFilterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFilterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance;return Invoke<CreateFilterResponse>(request, options);}
// Original:
public CharSequence subSequence(int start, int end) {checkStartEndRemaining(start, end);CharBuffer result = duplicate();result.limit(position + end);result.position(position + start);return result;}

// Translation:
public override java.lang.CharSequence SubSequence(int start, int end){checkStartEndRemaining(start, end);java.nio.CharBuffer result = duplicate();result.limit(_position + end);result.position(_position + start);return result;}
// Original:
public CreateTrafficMirrorSessionResult createTrafficMirrorSession(CreateTrafficMirrorSessionRequest request) {request = beforeClientExecution(request);return executeCreateTrafficMirrorSession(request);}

// Translation:
public virtual CreateTrafficMirrorSessionResponse CreateTrafficMirrorSession(CreateTrafficMirrorSessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrafficMirrorSessionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrafficMirrorSessionResponseUnmarshaller.Instance;return Invoke<CreateTrafficMirrorSessionResponse>(request, options);}
// Original:
public CreateNodegroupResult createNodegroup(CreateNodegroupRequest request) {request = beforeClientExecution(request);return executeCreateNodegroup(request);}

// Translation:
public virtual CreateNodegroupResponse CreateNodegroup(CreateNodegroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNodegroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNodegroupResponseUnmarshaller.Instance;return Invoke<CreateNodegroupResponse>(request, options);}
// Original:
public SoraniStemFilter create(TokenStream input) {return new SoraniStemFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new SoraniStemFilter(input);}
// Original:
public UpdateCustomVerificationEmailTemplateResult updateCustomVerificationEmailTemplate(UpdateCustomVerificationEmailTemplateRequest request) {request = beforeClientExecution(request);return executeUpdateCustomVerificationEmailTemplate(request);}

// Translation:
public virtual UpdateCustomVerificationEmailTemplateResponse UpdateCustomVerificationEmailTemplate(UpdateCustomVerificationEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateCustomVerificationEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateCustomVerificationEmailTemplateResponseUnmarshaller.Instance;return Invoke<UpdateCustomVerificationEmailTemplateResponse>(request, options);}
// Original:
public static FormulaError forInt(int type) throws IllegalArgumentException {FormulaError err = imap.get(type);if(err == null) err = bmap.get((byte)type);if(err == null) throw new IllegalArgumentException("Unknown error type: " + type);return err;}

// Translation:
public static FormulaError ForInt(int type){if (imap.ContainsKey(type))return imap[type];if (bmap.ContainsKey((byte)type))return bmap[(byte)type];throw new ArgumentException("Unknown error type: " + type);}
// Original:
public DeleteSubnetGroupResult deleteSubnetGroup(DeleteSubnetGroupRequest request) {request = beforeClientExecution(request);return executeDeleteSubnetGroup(request);}

// Translation:
public virtual DeleteSubnetGroupResponse DeleteSubnetGroup(DeleteSubnetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSubnetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSubnetGroupResponseUnmarshaller.Instance;return Invoke<DeleteSubnetGroupResponse>(request, options);}
// Original:
public String toString() {return getClass().getName() + " [" +_error.getString() +"]";}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(_error.String);sb.Append("]");return sb.ToString();}
// Original:
public Object toObject() {assert exists || 0.0D == value;return exists ? value : null;}

// Translation:
public override object ToObject(){return Exists ? (object)Value : null;}
// Original:
public void destroy() {super.destroy();if (onDiskFile != null) {try {if (!onDiskFile.delete())onDiskFile.deleteOnExit();} finally {onDiskFile = null;}}}

// Translation:
public override void Destroy(){base.Destroy();if (onDiskFile != null){try{if (!onDiskFile.Delete()){onDiskFile.DeleteOnExit();}}finally{onDiskFile = null;}}}
// Original:
public DecreaseReplicationFactorResult decreaseReplicationFactor(DecreaseReplicationFactorRequest request) {request = beforeClientExecution(request);return executeDecreaseReplicationFactor(request);}

// Translation:
public virtual DecreaseReplicationFactorResponse DecreaseReplicationFactor(DecreaseReplicationFactorRequest request){var options = new InvokeOptions();options.RequestMarshaller = DecreaseReplicationFactorRequestMarshaller.Instance;options.ResponseUnmarshaller = DecreaseReplicationFactorResponseUnmarshaller.Instance;return Invoke<DecreaseReplicationFactorResponse>(request, options);}
// Original:
public Counta(){_predicate = defaultPredicate;}

// Translation:
public Counta(){_predicate = defaultPredicate;}
// Original:
public EvaluationWorkbook getWorkbook() {return _workbook;}

// Translation:
public IEvaluationWorkbook GetWorkbook(){return _workbook;}
// Original:
public DescribeRouteTablesResult describeRouteTables() {return describeRouteTables(new DescribeRouteTablesRequest());}

// Translation:
public virtual DescribeRouteTablesResponse DescribeRouteTables(){return DescribeRouteTables(new DescribeRouteTablesRequest());}
// Original:
public CreateAssessmentTemplateResult createAssessmentTemplate(CreateAssessmentTemplateRequest request) {request = beforeClientExecution(request);return executeCreateAssessmentTemplate(request);}

// Translation:
public virtual CreateAssessmentTemplateResponse CreateAssessmentTemplate(CreateAssessmentTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAssessmentTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAssessmentTemplateResponseUnmarshaller.Instance;return Invoke<CreateAssessmentTemplateResponse>(request, options);}
// Original:
public DeleteProjectResult deleteProject(DeleteProjectRequest request) {request = beforeClientExecution(request);return executeDeleteProject(request);}

// Translation:
public virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;return Invoke<DeleteProjectResponse>(request, options);}
// Original:
public DeleteUserPolicyRequest(String userName, String policyName) {setUserName(userName);setPolicyName(policyName);}

// Translation:
public DeleteUserPolicyRequest(string userName, string policyName){_userName = userName;_policyName = policyName;}
// Original:
public TermVectorsReader clone() {return new CompressingTermVectorsReader(this);}

// Translation:
public override object Clone(){return new CompressingTermVectorsReader(this);}
// Original:
public void close() {if (sock != null) {try {sch.releaseSession(sock);} finally {sock = null;}}}

// Translation:
public override void Close(){if (sock != null){try{sch.ReleaseSession(sock);}finally{sock = null;}}}
// Original:
public LongBuffer put(long c) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.LongBuffer put(long c){throw new java.nio.ReadOnlyBufferException();}
// Original:
public int serialize( int offset, byte[] data ) {LOG.log( DEBUG, "Serializing Workbook with offsets" );int pos = 0;SSTRecord lSST = null;int sstPos = 0;boolean wroteBoundSheets = false;for ( org.apache.poi.hssf.record.Record record : records.getRecords() ) {int len = 0;if (record instanceof SSTRecord) {lSST = (SSTRecord)record;sstPos = pos;}if (record.getSid() == ExtSSTRecord.sid && lSST != null) {record = lSST.createExtSSTRecord(sstPos + offset);}if (record instanceof BoundSheetRecord) {if(!wroteBoundSheets) {for (BoundSheetRecord bsr : boundsheets) {len += bsr.serialize(pos+offset+len, data);}wroteBoundSheets = true;}} else {len = record.serialize( pos + offset, data );}pos += len;}LOG.log( DEBUG, "Exiting serialize workbook" );return pos;}

// Translation:
public int Serialize(int offset, byte[] data){int pos = 0;SSTRecord sst = null;int sstPos = 0;bool wroteBoundSheets = false;for (int k = 0; k < records.Count; k++){Record record = records[k];if (record.Sid != RecalcIdRecord.sid || ((RecalcIdRecord)record).IsNeeded){int len = 0;if (record is SSTRecord){sst = (SSTRecord)record;sstPos = pos;}if (record.Sid == ExtSSTRecord.sid && sst != null){record = sst.CreateExtSSTRecord(sstPos + offset);}if (record is BoundSheetRecord){if (!wroteBoundSheets){for (int i = 0; i < boundsheets.Count; i++){len += ((BoundSheetRecord)boundsheets[i]).Serialize(pos + offset + len, data);}wroteBoundSheets = true;}}else{len = record.Serialize(pos + offset, data);}pos += len;   }}return pos;}
// Original:
public DescribeClusterSecurityGroupsResult describeClusterSecurityGroups() {return describeClusterSecurityGroups(new DescribeClusterSecurityGroupsRequest());}

// Translation:
public virtual DescribeClusterSecurityGroupsResponse DescribeClusterSecurityGroups(){return DescribeClusterSecurityGroups(new DescribeClusterSecurityGroupsRequest());}
// Original:
public Explanation explain(Explanation freq, long norm) {return Explanation.match(score(freq.getValue().floatValue(), norm),"score(freq=" + freq.getValue() +"), with freq of:",Collections.singleton(freq));}

// Translation:
public virtual Explanation Explain(int doc, Explanation freq){Explanation result = new Explanation(Score(doc, freq.Value), "score(doc=" + doc + ",freq=" + freq.Value + "), with freq of:");result.AddDetail(freq);return result;}
// Original:
public DisassociatePhoneNumberFromUserResult disassociatePhoneNumberFromUser(DisassociatePhoneNumberFromUserRequest request) {request = beforeClientExecution(request);return executeDisassociatePhoneNumberFromUser(request);}

// Translation:
public virtual DisassociatePhoneNumberFromUserResponse DisassociatePhoneNumberFromUser(DisassociatePhoneNumberFromUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociatePhoneNumberFromUserRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociatePhoneNumberFromUserResponseUnmarshaller.Instance;return Invoke<DisassociatePhoneNumberFromUserResponse>(request, options);}
// Original:
public boolean has(AnyObjectId objectId, int typeHint) throws IOException {try {open(objectId, typeHint);return true;} catch (MissingObjectException notFound) {return false;}}

// Translation:
public virtual bool Has(AnyObjectId objectId, int typeHint){try{Open(objectId, typeHint);return true;}catch (MissingObjectException){return false;}}
// Original:
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[ATTACHEDLABEL]\n");buffer.append("    .formatFlags          = ").append("0x").append(HexDump.toHex(  getFormatFlags ())).append(" (").append( getFormatFlags() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append("         .showActual               = ").append(isShowActual()).append('\n');buffer.append("         .showPercent              = ").append(isShowPercent()).append('\n');buffer.append("         .labelAsPercentage        = ").append(isLabelAsPercentage()).append('\n');buffer.append("         .smoothedLine             = ").append(isSmoothedLine()).append('\n');buffer.append("         .showLabel                = ").append(isShowLabel()).append('\n');buffer.append("         .showBubbleSizes          = ").append(isShowBubbleSizes()).append('\n');buffer.append("[/ATTACHEDLABEL]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[ATTACHEDLABEL]\n");buffer.Append("    .formatFlags          = ").Append("0x").Append(HexDump.ToHex(FormatFlags)).Append(" (").Append(FormatFlags).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("         .showActual               = ").Append(IsShowActual).Append('\n');buffer.Append("         .showPercent              = ").Append(IsShowPercent).Append('\n');buffer.Append("         .labelAsPercentage        = ").Append(IsLabelAsPercentage).Append('\n');buffer.Append("         .smoothedLine             = ").Append(IsSmoothedLine).Append('\n');buffer.Append("         .showLabel                = ").Append(IsShowLabel).Append('\n');buffer.Append("         .showBubbleSizes          = ").Append(IsShowBubbleSizes).Append('\n');buffer.Append("[/ATTACHEDLABEL]\n");return buffer.ToString();}
// Original:
public String toString(String field) {StringBuilder buffer = new StringBuilder();buffer.append("spanOr([");Iterator<SpanQuery> i = clauses.iterator();while (i.hasNext()) {SpanQuery clause = i.next();buffer.append(clause.toString(field));if (i.hasNext()) {buffer.append(", ");}}buffer.append("])");return buffer.toString();}

// Translation:
public override string ToString(string field){StringBuilder buffer = new StringBuilder();buffer.Append("spanOr([");bool first = true;foreach (SpanQuery clause in clauses){if (!first) buffer.Append(", ");buffer.Append(clause.ToString(field));first = false;}buffer.Append("])");buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}
// Original:
public DisableInsightRulesResult disableInsightRules(DisableInsightRulesRequest request) {request = beforeClientExecution(request);return executeDisableInsightRules(request);}

// Translation:
public virtual DisableInsightRulesResponse DisableInsightRules(DisableInsightRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableInsightRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = DisableInsightRulesResponseUnmarshaller.Instance;return Invoke<DisableInsightRulesResponse>(request, options);}
// Original:
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));}

// Translation:
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}};}