Modifier and Type | Method and Description |
---|---|
CfnStep.Builder |
actionOnFailure(java.lang.String actionOnFailure)
This specifies what action to take when the cluster step fails.
|
CfnStep |
build() |
static CfnStep.Builder |
create(Construct scope,
java.lang.String id) |
CfnStep.Builder |
hadoopJarStep(CfnStep.HadoopJarStepConfigProperty hadoopJarStep)
The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed.
|
CfnStep.Builder |
hadoopJarStep(IResolvable hadoopJarStep)
The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed.
|
CfnStep.Builder |
jobFlowId(java.lang.String jobFlowId)
A string that uniquely identifies the cluster (job flow).
|
CfnStep.Builder |
name(java.lang.String name)
The name of the cluster step.
|
public static CfnStep.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnStep.HadoopJarStepConfigProperty.Builder
.public CfnStep.Builder actionOnFailure(java.lang.String actionOnFailure)
Possible values are CANCEL_AND_WAIT
and CONTINUE
.
actionOnFailure
- This specifies what action to take when the cluster step fails. This parameter is required.this
public CfnStep.Builder hadoopJarStep(IResolvable hadoopJarStep)
The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.
hadoopJarStep
- The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed. This parameter is required.this
public CfnStep.Builder hadoopJarStep(CfnStep.HadoopJarStepConfigProperty hadoopJarStep)
The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.
hadoopJarStep
- The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed. This parameter is required.this
public CfnStep.Builder jobFlowId(java.lang.String jobFlowId)
jobFlowId
- A string that uniquely identifies the cluster (job flow). This parameter is required.this
public CfnStep.Builder name(java.lang.String name)
name
- The name of the cluster step. This parameter is required.this
public CfnStep build()