Interface StepSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StepSummary.Builder,StepSummary>
,SdkBuilder<StepSummary.Builder,StepSummary>
,SdkPojo
- Enclosing class:
- StepSummary
public static interface StepSummary.Builder extends SdkPojo, CopyableBuilder<StepSummary.Builder,StepSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StepSummary.Builder
actionOnFailure(String actionOnFailure)
The action to take when the cluster step fails.StepSummary.Builder
actionOnFailure(ActionOnFailure 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
StepSummary.Builder id(String id)
The identifier of the cluster step.
- Parameters:
id
- The identifier of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
StepSummary.Builder name(String name)
The name of the cluster step.
- Parameters:
name
- The name of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
StepSummary.Builder config(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
- Parameters:
config
- The Hadoop job configuration of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
default StepSummary.Builder config(Consumer<HadoopStepConfig.Builder> config)
The Hadoop job configuration of the cluster step.
This is a convenience method that creates an instance of theHadoopStepConfig.Builder
avoiding the need to create one manually viaHadoopStepConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfig(HadoopStepConfig)
.- Parameters:
config
- a consumer that will call methods onHadoopStepConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
config(HadoopStepConfig)
-
actionOnFailure
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionOnFailure
,ActionOnFailure
-
actionOnFailure
StepSummary.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionOnFailure
,ActionOnFailure
-
status
StepSummary.Builder status(StepStatus status)
The current execution status details of the cluster step.
- Parameters:
status
- The current execution status details of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default StepSummary.Builder status(Consumer<StepStatus.Builder> status)
The current execution status details of the cluster step.
This is a convenience method that creates an instance of theStepStatus.Builder
avoiding the need to create one manually viaStepStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(StepStatus)
.- Parameters:
status
- a consumer that will call methods onStepStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(StepStatus)
-
-