code: public JobFlowDetail withBootstrapActions(BootstrapActionDetail... bootstrapActions) {
          if (this.bootstrapActions == null) {
              setBootstrapActions(new com.amazonaws.internal.SdkInternalList<BootstrapActionDetail>(bootstrapActions.length));
          }
          for (BootstrapActionDetail ele : bootstrapActions) {
              this.bootstrapActions.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the bootstrap actions run by the job flow.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setBootstrapActions(java.util.Collection)} or {@link #withBootstrapActions(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param bootstrapActions
  A list of the bootstrap actions run by the job flow.
  @return Returns a reference to this object so that method calls can be chained together.