Interface AddJobFlowStepsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddJobFlowStepsRequest.Builder,,AddJobFlowStepsRequest> EmrRequest.Builder,SdkBuilder<AddJobFlowStepsRequest.Builder,,AddJobFlowStepsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddJobFlowStepsRequest
-
Method Summary
Modifier and TypeMethodDescriptionexecutionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.A string that uniquely identifies the job flow.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.steps(Collection<StepConfig> steps) A list of StepConfig to be executed by the job flow.steps(Consumer<StepConfig.Builder>... steps) A list of StepConfig to be executed by the job flow.steps(StepConfig... steps) A list of StepConfig to be executed by the job flow.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
A list of StepConfig to be executed by the job flow.
This is a convenience method that creates an instance of theStepConfig.Builderavoiding the need to create one manually viaStepConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<StepConfig>).- 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:
-
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/ReadOnlyis 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/ReadOnlyis 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddJobFlowStepsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-