Interface AddJobFlowStepsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddJobFlowStepsRequest.Builder,AddJobFlowStepsRequest>
,EmrRequest.Builder
,SdkBuilder<AddJobFlowStepsRequest.Builder,AddJobFlowStepsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- AddJobFlowStepsRequest
public static interface AddJobFlowStepsRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<AddJobFlowStepsRequest.Builder,AddJobFlowStepsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddJobFlowStepsRequest.Builder
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.AddJobFlowStepsRequest.Builder
jobFlowId(String jobFlowId)
A string that uniquely identifies the job flow.AddJobFlowStepsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AddJobFlowStepsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
-
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
-
jobFlowId
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.
- Parameters:
jobFlowId
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
AddJobFlowStepsRequest.Builder steps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
- Parameters:
steps
- A list of StepConfig to be executed by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
AddJobFlowStepsRequest.Builder steps(StepConfig... steps)
A list of StepConfig to be executed by the job flow.
- Parameters:
steps
- A list of StepConfig to be executed by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
AddJobFlowStepsRequest.Builder steps(Consumer<StepConfig.Builder>... steps)
A list of StepConfig to be executed by the job flow.
This is a convenience method that creates an instance of theStepConfig.Builder
avoiding the need to create one manually viaStepConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#steps(List
.) - Parameters:
steps
- a consumer that will call methods onStepConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#steps(java.util.Collection
)
-
executionRoleArn
AddJobFlowStepsRequest.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format:
arn:partition:service:region:account:resource
.For example,
arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format:arn:partition:service:region:account:resource
.For example,
arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddJobFlowStepsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AddJobFlowStepsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-