Interface CreateBatchInferenceJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateBatchInferenceJobRequest.Builder,
,CreateBatchInferenceJobRequest> PersonalizeRequest.Builder
,SdkBuilder<CreateBatchInferenceJobRequest.Builder,
,CreateBatchInferenceJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBatchInferenceJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionbatchInferenceJobConfig
(Consumer<BatchInferenceJobConfig.Builder> batchInferenceJobConfig) The configuration details of a batch inference job.batchInferenceJobConfig
(BatchInferenceJobConfig batchInferenceJobConfig) The configuration details of a batch inference job.batchInferenceJobMode
(String batchInferenceJobMode) The mode of the batch inference job.batchInferenceJobMode
(BatchInferenceJobMode batchInferenceJobMode) The mode of the batch inference job.The ARN of the filter to apply to the batch inference job.jobInput
(Consumer<BatchInferenceJobInput.Builder> jobInput) The Amazon S3 path that leads to the input file to base your recommendations on.jobInput
(BatchInferenceJobInput jobInput) The Amazon S3 path that leads to the input file to base your recommendations on.The name of the batch inference job to create.jobOutput
(Consumer<BatchInferenceJobOutput.Builder> jobOutput) The path to the Amazon S3 bucket where the job's output will be stored.jobOutput
(BatchInferenceJobOutput jobOutput) The path to the Amazon S3 bucket where the job's output will be stored.numResults
(Integer numResults) The number of recommendations to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.solutionVersionArn
(String solutionVersionArn) The Amazon Resource Name (ARN) of the solution version that will be used to generate the batch inference recommendations.tags
(Collection<Tag> tags) A list of tags to apply to the batch inference job.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the batch inference job.A list of tags to apply to the batch inference job.themeGenerationConfig
(Consumer<ThemeGenerationConfig.Builder> themeGenerationConfig) For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name.themeGenerationConfig
(ThemeGenerationConfig themeGenerationConfig) For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name.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.personalize.model.PersonalizeRequest.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
-
jobName
The name of the batch inference job to create.
- Parameters:
jobName
- The name of the batch inference job to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionVersionArn
The Amazon Resource Name (ARN) of the solution version that will be used to generate the batch inference recommendations.
- Parameters:
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version that will be used to generate the batch inference recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterArn
The ARN of the filter to apply to the batch inference job. For more information on using filters, see Filtering batch recommendations.
- Parameters:
filterArn
- The ARN of the filter to apply to the batch inference job. For more information on using filters, see Filtering batch recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numResults
The number of recommendations to retrieve.
- Parameters:
numResults
- The number of recommendations to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobInput
The Amazon S3 path that leads to the input file to base your recommendations on. The input material must be in JSON format.
- Parameters:
jobInput
- The Amazon S3 path that leads to the input file to base your recommendations on. The input material must be in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobInput
default CreateBatchInferenceJobRequest.Builder jobInput(Consumer<BatchInferenceJobInput.Builder> jobInput) The Amazon S3 path that leads to the input file to base your recommendations on. The input material must be in JSON format.
This is a convenience method that creates an instance of theBatchInferenceJobInput.Builder
avoiding the need to create one manually viaBatchInferenceJobInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobInput(BatchInferenceJobInput)
.- Parameters:
jobInput
- a consumer that will call methods onBatchInferenceJobInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobOutput
The path to the Amazon S3 bucket where the job's output will be stored.
- Parameters:
jobOutput
- The path to the Amazon S3 bucket where the job's output will be stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobOutput
default CreateBatchInferenceJobRequest.Builder jobOutput(Consumer<BatchInferenceJobOutput.Builder> jobOutput) The path to the Amazon S3 bucket where the job's output will be stored.
This is a convenience method that creates an instance of theBatchInferenceJobOutput.Builder
avoiding the need to create one manually viaBatchInferenceJobOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobOutput(BatchInferenceJobOutput)
.- Parameters:
jobOutput
- a consumer that will call methods onBatchInferenceJobOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.
- Parameters:
roleArn
- The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchInferenceJobConfig
CreateBatchInferenceJobRequest.Builder batchInferenceJobConfig(BatchInferenceJobConfig batchInferenceJobConfig) The configuration details of a batch inference job.
- Parameters:
batchInferenceJobConfig
- The configuration details of a batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchInferenceJobConfig
default CreateBatchInferenceJobRequest.Builder batchInferenceJobConfig(Consumer<BatchInferenceJobConfig.Builder> batchInferenceJobConfig) The configuration details of a batch inference job.
This is a convenience method that creates an instance of theBatchInferenceJobConfig.Builder
avoiding the need to create one manually viaBatchInferenceJobConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchInferenceJobConfig(BatchInferenceJobConfig)
.- Parameters:
batchInferenceJobConfig
- a consumer that will call methods onBatchInferenceJobConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
-
tags
-
tags
A list of tags to apply to the batch inference job.
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:
-
batchInferenceJobMode
The mode of the batch inference job. To generate descriptive themes for groups of similar items, set the job mode to
THEME_GENERATION
. If you don't want to generate themes, use the defaultBATCH_INFERENCE
.When you get batch recommendations with themes, you will incur additional costs. For more information, see Amazon Personalize pricing.
- Parameters:
batchInferenceJobMode
- The mode of the batch inference job. To generate descriptive themes for groups of similar items, set the job mode toTHEME_GENERATION
. If you don't want to generate themes, use the defaultBATCH_INFERENCE
.When you get batch recommendations with themes, you will incur additional costs. For more information, see Amazon Personalize pricing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchInferenceJobMode
CreateBatchInferenceJobRequest.Builder batchInferenceJobMode(BatchInferenceJobMode batchInferenceJobMode) The mode of the batch inference job. To generate descriptive themes for groups of similar items, set the job mode to
THEME_GENERATION
. If you don't want to generate themes, use the defaultBATCH_INFERENCE
.When you get batch recommendations with themes, you will incur additional costs. For more information, see Amazon Personalize pricing.
- Parameters:
batchInferenceJobMode
- The mode of the batch inference job. To generate descriptive themes for groups of similar items, set the job mode toTHEME_GENERATION
. If you don't want to generate themes, use the defaultBATCH_INFERENCE
.When you get batch recommendations with themes, you will incur additional costs. For more information, see Amazon Personalize pricing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
themeGenerationConfig
CreateBatchInferenceJobRequest.Builder themeGenerationConfig(ThemeGenerationConfig themeGenerationConfig) For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name.
- Parameters:
themeGenerationConfig
- For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeGenerationConfig
default CreateBatchInferenceJobRequest.Builder themeGenerationConfig(Consumer<ThemeGenerationConfig.Builder> themeGenerationConfig) For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name.
This is a convenience method that creates an instance of theThemeGenerationConfig.Builder
avoiding the need to create one manually viaThemeGenerationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothemeGenerationConfig(ThemeGenerationConfig)
.- Parameters:
themeGenerationConfig
- a consumer that will call methods onThemeGenerationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateBatchInferenceJobRequest.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
CreateBatchInferenceJobRequest.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.
-