Interface CreateBatchPredictionJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateBatchPredictionJobRequest.Builder,
,CreateBatchPredictionJobRequest> FraudDetectorRequest.Builder
,SdkBuilder<CreateBatchPredictionJobRequest.Builder,
,CreateBatchPredictionJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBatchPredictionJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondetectorName
(String detectorName) The name of the detector.detectorVersion
(String detectorVersion) The detector version.eventTypeName
(String eventTypeName) The name of the event type.iamRoleArn
(String iamRoleArn) The ARN of the IAM role to use for this job request.The Amazon S3 location of your training file.The ID of the batch prediction job.outputPath
(String outputPath) The Amazon S3 location of your output file.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A collection of key and value pairs.tags
(Consumer<Tag.Builder>... tags) A collection of key and value pairs.A collection of key and value pairs.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.frauddetector.model.FraudDetectorRequest.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 Details
-
jobId
The ID of the batch prediction job.
- Parameters:
jobId
- The ID of the batch prediction job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputPath
The Amazon S3 location of your training file.
- Parameters:
inputPath
- The Amazon S3 location of your training file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputPath
The Amazon S3 location of your output file.
- Parameters:
outputPath
- The Amazon S3 location of your output file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeName
The name of the event type.
- Parameters:
eventTypeName
- The name of the event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorName
The name of the detector.
- Parameters:
detectorName
- The name of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorVersion
The detector version.
- Parameters:
detectorVersion
- The detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
The ARN of the IAM role to use for this job request.
The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
- Parameters:
iamRoleArn
- The ARN of the IAM role to use for this job request.The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of key and value pairs.
- Parameters:
tags
- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of key and value pairs.
- Parameters:
tags
- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of key and value pairs.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateBatchPredictionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateBatchPredictionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-