/** * <p> * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. * </p> * * @param bootstrapActions * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withBootstrapActions(java.util.Collection<BootstrapActionConfig> bootstrapActions) { setBootstrapActions(bootstrapActions); return this; }
/** * <p> * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. * </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 bootstrap actions to run before Hadoop starts on the cluster nodes. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withBootstrapActions(BootstrapActionConfig... bootstrapActions) { if (this.bootstrapActions == null) { setBootstrapActions(new com.amazonaws.internal.SdkInternalList<BootstrapActionConfig>(bootstrapActions.length)); } for (BootstrapActionConfig ele : bootstrapActions) { this.bootstrapActions.add(ele); } return this; }
/** * <p> * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. * </p> * * @param bootstrapActions * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withBootstrapActions(java.util.Collection<BootstrapActionConfig> bootstrapActions) { setBootstrapActions(bootstrapActions); return this; }
/** * <p> * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. * </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 bootstrap actions to run before Hadoop starts on the cluster nodes. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withBootstrapActions(BootstrapActionConfig... bootstrapActions) { if (this.bootstrapActions == null) { setBootstrapActions(new com.amazonaws.internal.SdkInternalList<BootstrapActionConfig>(bootstrapActions.length)); } for (BootstrapActionConfig ele : bootstrapActions) { this.bootstrapActions.add(ele); } return this; }
runJobFlowRequest.setBootstrapActions( stepBootstrapActions );
runJobFlowRequest.setBootstrapActions(getBootstrapActionConfigList(emrClusterDefinition));
runJobFlowRequest.setBootstrapActions(getBootstrapActionConfigList(emrClusterDefinition));