@Stability(value=Stable) public static final class CfnStepProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStepProps>
CfnStepProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStepProps.Builder |
actionOnFailure(String actionOnFailure)
Sets the value of
CfnStepProps.getActionOnFailure() |
CfnStepProps |
build()
Builds the configured instance.
|
CfnStepProps.Builder |
hadoopJarStep(CfnStep.HadoopJarStepConfigProperty hadoopJarStep)
Sets the value of
CfnStepProps.getHadoopJarStep() |
CfnStepProps.Builder |
hadoopJarStep(IResolvable hadoopJarStep)
Sets the value of
CfnStepProps.getHadoopJarStep() |
CfnStepProps.Builder |
jobFlowId(String jobFlowId)
Sets the value of
CfnStepProps.getJobFlowId() |
CfnStepProps.Builder |
name(String name)
Sets the value of
CfnStepProps.getName() |
@Stability(value=Stable) public CfnStepProps.Builder actionOnFailure(String actionOnFailure)
CfnStepProps.getActionOnFailure()actionOnFailure - This specifies what action to take when the cluster step fails. This parameter is required.
Possible values are CANCEL_AND_WAIT and CONTINUE .this@Stability(value=Stable) public CfnStepProps.Builder hadoopJarStep(CfnStep.HadoopJarStepConfigProperty hadoopJarStep)
CfnStepProps.getHadoopJarStep()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.
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.this@Stability(value=Stable) public CfnStepProps.Builder hadoopJarStep(IResolvable hadoopJarStep)
CfnStepProps.getHadoopJarStep()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.
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.this@Stability(value=Stable) public CfnStepProps.Builder jobFlowId(String jobFlowId)
CfnStepProps.getJobFlowId()jobFlowId - A string that uniquely identifies the cluster (job flow). This parameter is required.this@Stability(value=Stable) public CfnStepProps.Builder name(String name)
CfnStepProps.getName()name - The name of the cluster step. This parameter is required.this@Stability(value=Stable) public CfnStepProps build()
build in interface software.amazon.jsii.Builder<CfnStepProps>CfnStepPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.