/// <summary>
 /// What action this step should take if any of the instance group modifications result
 /// in the instance group entering Arrested state. This can happen when the bootstrap
 /// actions on the newly launched instances are continuously failing.
 /// </summary>
 /// <param name="onArrested">OnArrested enum specifying which action to take</param>
 /// <returns>A reference to this updated object so that method calls can be chained
 ///         together.</returns>
 public ResizeJobFlowStep WithOnArrested(OnArrested onArrested)
 {
     this.onArrested = onArrested;
     return(this);
 }
 /// <summary>
 /// What action this step should take if any of the instance group modifications result
 /// in the instance group entering Arrested state. This can happen when the bootstrap
 /// actions on the newly launched instances are continuously failing.
 /// </summary>
 /// <param name="onArrested">OnArrested enum specifying which action to take</param>
 /// <returns>A reference to this updated object so that method calls can be chained
 ///         together.</returns>
 public ResizeJobFlowStep WithOnArrested(OnArrested onArrested)
 {
     this.onArrested = onArrested;
     return this;
 }