Interface StartJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartJobRequest.Builder,,StartJobRequest> LocationRequest.Builder,SdkBuilder<StartJobRequest.Builder,,StartJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform on the input data.The action to perform on the input data.default StartJobRequest.BuilderactionOptions(Consumer<JobActionOptions.Builder> actionOptions) Additional parameters that can be requested for each result.actionOptions(JobActionOptions actionOptions) Additional parameters that can be requested for each result.clientToken(String clientToken) A unique identifier for this request to ensure idempotency.executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role that Amazon Location Service assumes during job processing.default StartJobRequest.BuilderinputOptions(Consumer<JobInputOptions.Builder> inputOptions) Configuration for input data location and format.inputOptions(JobInputOptions inputOptions) Configuration for input data location and format.An optional name for the job resource.default StartJobRequest.BuilderoutputOptions(Consumer<JobOutputOptions.Builder> outputOptions) Configuration for output data location and format.outputOptions(JobOutputOptions outputOptions) Configuration for output data location and format.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags and corresponding values to be associated with the job.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.location.model.LocationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique identifier for this request to ensure idempotency.
- Parameters:
clientToken- A unique identifier for this request to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action to perform on the input data.
- Parameters:
action- The action to perform on the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to perform on the input data.
- Parameters:
action- The action to perform on the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionOptions
Additional parameters that can be requested for each result.
- Parameters:
actionOptions- Additional parameters that can be requested for each result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionOptions
Additional parameters that can be requested for each result.
This is a convenience method that creates an instance of theJobActionOptions.Builderavoiding the need to create one manually viaJobActionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionOptions(JobActionOptions).- Parameters:
actionOptions- a consumer that will call methods onJobActionOptions.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 IAM role that Amazon Location Service assumes during job processing. Amazon Location Service uses this role to access the input and output locations specified for the job.
The IAM role must be created in the same Amazon Web Services account where you plan to run your job.
For more information about configuring IAM roles for Amazon Location jobs, see Configure IAM permissions in the Amazon Location Service Developer Guide.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the IAM role that Amazon Location Service assumes during job processing. Amazon Location Service uses this role to access the input and output locations specified for the job.The IAM role must be created in the same Amazon Web Services account where you plan to run your job.
For more information about configuring IAM roles for Amazon Location jobs, see Configure IAM permissions in the Amazon Location Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputOptions
Configuration for input data location and format.
Input files have a limitation of 10gb per file, and 1gb per Parquet row-group within the file.
- Parameters:
inputOptions- Configuration for input data location and format.Input files have a limitation of 10gb per file, and 1gb per Parquet row-group within the file.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputOptions
Configuration for input data location and format.
This is a convenience method that creates an instance of theInput files have a limitation of 10gb per file, and 1gb per Parquet row-group within the file.
JobInputOptions.Builderavoiding the need to create one manually viaJobInputOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputOptions(JobInputOptions).- Parameters:
inputOptions- a consumer that will call methods onJobInputOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
An optional name for the job resource.
- Parameters:
name- An optional name for the job resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputOptions
Configuration for output data location and format.
- Parameters:
outputOptions- Configuration for output data location and format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputOptions
Configuration for output data location and format.
This is a convenience method that creates an instance of theJobOutputOptions.Builderavoiding the need to create one manually viaJobOutputOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputOptions(JobOutputOptions).- Parameters:
outputOptions- a consumer that will call methods onJobOutputOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags and corresponding values to be associated with the job.
- Parameters:
tags- Tags and corresponding values to be associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartJobRequest.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
StartJobRequest.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.
-