public static interface AddJobFlowStepsRequest.Builder extends EmrRequest.Builder, CopyableBuilder<AddJobFlowStepsRequest.Builder,AddJobFlowStepsRequest>
Modifier and Type | Method and Description |
---|---|
AddJobFlowStepsRequest.Builder |
jobFlowId(String jobFlowId)
A string that uniquely identifies the job flow.
|
AddJobFlowStepsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddJobFlowStepsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddJobFlowStepsRequest.Builder |
steps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
|
AddJobFlowStepsRequest.Builder |
steps(Consumer<StepConfig.Builder>... steps)
A list of StepConfig to be executed by the job flow.
|
AddJobFlowStepsRequest.Builder |
steps(StepConfig... steps)
A list of StepConfig to be executed by the job flow.
|
build
overrideConfiguration
copy
applyMutation, build
AddJobFlowStepsRequest.Builder jobFlowId(String jobFlowId)
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
jobFlowId
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and
can also be obtained from ListClusters.AddJobFlowStepsRequest.Builder steps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
steps
- A list of StepConfig to be executed by the job flow.AddJobFlowStepsRequest.Builder steps(StepConfig... steps)
A list of StepConfig to be executed by the job flow.
steps
- A list of StepConfig to be executed by the job flow.AddJobFlowStepsRequest.Builder steps(Consumer<StepConfig.Builder>... steps)
A list of StepConfig to be executed by the job flow.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #steps(List)
.steps
- a consumer that will call methods on List.Builder
#steps(List)
AddJobFlowStepsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddJobFlowStepsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.