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.BuilderexecutionRoleArn(String executionRoleArn)The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.AddJobFlowStepsRequest.BuilderjobFlowId(String jobFlowId)A string that uniquely identifies the job flow.AddJobFlowStepsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddJobFlowStepsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddJobFlowStepsRequest.Buildersteps(Collection<StepConfig> steps)A list of StepConfig to be executed by the job flow.AddJobFlowStepsRequest.Buildersteps(Consumer<StepConfig.Builder>... steps)A list of StepConfig to be executed by the job flow.AddJobFlowStepsRequest.Buildersteps(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaStepConfig.builder().When the
Consumercompletes,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/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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddJobFlowStepsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-