Interface StartJobRunRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<StartJobRunRequest.Builder,,- StartJobRunRequest> - EmrServerlessRequest.Builder,- SdkBuilder<StartJobRunRequest.Builder,,- StartJobRunRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- StartJobRunRequest
- 
Method SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) The ID of the application on which to run the job.clientToken(String clientToken) The client idempotency token of the job run to start.default StartJobRunRequest.BuilderconfigurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides) The configuration overrides for the job run.configurationOverrides(ConfigurationOverrides configurationOverrides) The configuration overrides for the job run.default StartJobRunRequest.BuilderexecutionIamPolicy(Consumer<JobRunExecutionIamPolicy.Builder> executionIamPolicy) You can pass an optional IAM policy.executionIamPolicy(JobRunExecutionIamPolicy executionIamPolicy) You can pass an optional IAM policy.executionRoleArn(String executionRoleArn) The execution role ARN for the job run.executionTimeoutMinutes(Long executionTimeoutMinutes) The maximum duration for the job run to run.default StartJobRunRequest.BuilderjobDriver(Consumer<JobDriver.Builder> jobDriver) The job driver for the job run.The job driver for the job run.The mode of the job run when it starts.mode(JobRunMode mode) The mode of the job run when it starts.The optional job run name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default StartJobRunRequest.BuilderretryPolicy(Consumer<RetryPolicy.Builder> retryPolicy) The retry policy when job run starts.retryPolicy(RetryPolicy retryPolicy) The retry policy when job run starts.The tags assigned to the job run.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
applicationIdThe ID of the application on which to run the job. - Parameters:
- applicationId- The ID of the application on which to run the job.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clientTokenThe client idempotency token of the job run to start. Its value must be unique for each request. - Parameters:
- clientToken- The client idempotency token of the job run to start. Its value must be unique for each request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executionRoleArnThe execution role ARN for the job run. - Parameters:
- executionRoleArn- The execution role ARN for the job run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executionIamPolicyYou can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role. - Parameters:
- executionIamPolicy- You can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executionIamPolicydefault StartJobRunRequest.Builder executionIamPolicy(Consumer<JobRunExecutionIamPolicy.Builder> executionIamPolicy) You can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role. This is a convenience method that creates an instance of theJobRunExecutionIamPolicy.Builderavoiding the need to create one manually viaJobRunExecutionIamPolicy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionIamPolicy(JobRunExecutionIamPolicy).- Parameters:
- executionIamPolicy- a consumer that will call methods on- JobRunExecutionIamPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
jobDriverThe job driver for the job run. - Parameters:
- jobDriver- The job driver for the job run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
jobDriverThe job driver for the job run. This is a convenience method that creates an instance of theJobDriver.Builderavoiding the need to create one manually viaJobDriver.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobDriver(JobDriver).- Parameters:
- jobDriver- a consumer that will call methods on- JobDriver.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
configurationOverridesThe configuration overrides for the job run. - Parameters:
- configurationOverrides- The configuration overrides for the job run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationOverridesdefault StartJobRunRequest.Builder configurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides) The configuration overrides for the job run. This is a convenience method that creates an instance of theConfigurationOverrides.Builderavoiding the need to create one manually viaConfigurationOverrides.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationOverrides(ConfigurationOverrides).- Parameters:
- configurationOverrides- a consumer that will call methods on- ConfigurationOverrides.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tags assigned to the job run. - Parameters:
- tags- The tags assigned to the job run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executionTimeoutMinutesThe maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled. - Parameters:
- executionTimeoutMinutes- The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe optional job run name. This doesn't have to be unique. - Parameters:
- name- The optional job run name. This doesn't have to be unique.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
modeThe mode of the job run when it starts. - Parameters:
- mode- The mode of the job run when it starts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
modeThe mode of the job run when it starts. - Parameters:
- mode- The mode of the job run when it starts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
retryPolicyThe retry policy when job run starts. - Parameters:
- retryPolicy- The retry policy when job run starts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retryPolicyThe retry policy when job run starts. This is a convenience method that creates an instance of theRetryPolicy.Builderavoiding the need to create one manually viaRetryPolicy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryPolicy(RetryPolicy).- Parameters:
- retryPolicy- a consumer that will call methods on- RetryPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationStartJobRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationStartJobRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-