public static interface StepSummary.Builder extends SdkPojo, CopyableBuilder<StepSummary.Builder,StepSummary>
| Modifier and Type | Method and Description |
|---|---|
StepSummary.Builder |
actionOnFailure(ActionOnFailure actionOnFailure)
The action to take when the cluster step fails.
|
StepSummary.Builder |
actionOnFailure(String actionOnFailure)
The action to take when the cluster step fails.
|
default StepSummary.Builder |
config(Consumer<HadoopStepConfig.Builder> config)
The Hadoop job configuration of the cluster step.
|
StepSummary.Builder |
config(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
|
StepSummary.Builder |
id(String id)
The identifier of the cluster step.
|
StepSummary.Builder |
name(String name)
The name of the cluster step.
|
default StepSummary.Builder |
status(Consumer<StepStatus.Builder> status)
The current execution status details of the cluster step.
|
StepSummary.Builder |
status(StepStatus status)
The current execution status details of the cluster step.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStepSummary.Builder id(String id)
The identifier of the cluster step.
id - The identifier of the cluster step.StepSummary.Builder name(String name)
The name of the cluster step.
name - The name of the cluster step.StepSummary.Builder config(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
config - The Hadoop job configuration of the cluster step.default StepSummary.Builder config(Consumer<HadoopStepConfig.Builder> config)
The Hadoop job configuration of the cluster step.
This is a convenience that creates an instance of theHadoopStepConfig.Builder avoiding the need to
create one manually via HadoopStepConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to config(HadoopStepConfig).config - a consumer that will call methods on HadoopStepConfig.Builderconfig(HadoopStepConfig)StepSummary.Builder actionOnFailure(String actionOnFailure)
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility. We recommend using TERMINATE_CLUSTER instead.
actionOnFailure - The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER,
CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility. We
recommend using TERMINATE_CLUSTER instead.ActionOnFailure,
ActionOnFailureStepSummary.Builder actionOnFailure(ActionOnFailure actionOnFailure)
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility. We recommend using TERMINATE_CLUSTER instead.
actionOnFailure - The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER,
CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility. We
recommend using TERMINATE_CLUSTER instead.ActionOnFailure,
ActionOnFailureStepSummary.Builder status(StepStatus status)
The current execution status details of the cluster step.
status - The current execution status details of the cluster step.default StepSummary.Builder status(Consumer<StepStatus.Builder> status)
The current execution status details of the cluster step.
This is a convenience that creates an instance of theStepStatus.Builder avoiding the need to create
one manually via StepStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to status(StepStatus).status - a consumer that will call methods on StepStatus.Builderstatus(StepStatus)Copyright © 2021. All rights reserved.