Interface CreateBatchInferenceJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBatchInferenceJobRequest.Builder,CreateBatchInferenceJobRequest>,PersonalizeRequest.Builder,SdkBuilder<CreateBatchInferenceJobRequest.Builder,CreateBatchInferenceJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBatchInferenceJobRequest
public static interface CreateBatchInferenceJobRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateBatchInferenceJobRequest.Builder,CreateBatchInferenceJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBatchInferenceJobRequest.BuilderbatchInferenceJobConfig(Consumer<BatchInferenceJobConfig.Builder> batchInferenceJobConfig)The configuration details of a batch inference job.CreateBatchInferenceJobRequest.BuilderbatchInferenceJobConfig(BatchInferenceJobConfig batchInferenceJobConfig)The configuration details of a batch inference job.CreateBatchInferenceJobRequest.BuilderbatchInferenceJobMode(String batchInferenceJobMode)The mode of the batch inference job.CreateBatchInferenceJobRequest.BuilderbatchInferenceJobMode(BatchInferenceJobMode batchInferenceJobMode)The mode of the batch inference job.CreateBatchInferenceJobRequest.BuilderfilterArn(String filterArn)The ARN of the filter to apply to the batch inference job.default CreateBatchInferenceJobRequest.BuilderjobInput(Consumer<BatchInferenceJobInput.Builder> jobInput)The Amazon S3 path that leads to the input file to base your recommendations on.CreateBatchInferenceJobRequest.BuilderjobInput(BatchInferenceJobInput jobInput)The Amazon S3 path that leads to the input file to base your recommendations on.CreateBatchInferenceJobRequest.BuilderjobName(String jobName)The name of the batch inference job to create.default CreateBatchInferenceJobRequest.BuilderjobOutput(Consumer<BatchInferenceJobOutput.Builder> jobOutput)The path to the Amazon S3 bucket where the job's output will be stored.CreateBatchInferenceJobRequest.BuilderjobOutput(BatchInferenceJobOutput jobOutput)The path to the Amazon S3 bucket where the job's output will be stored.CreateBatchInferenceJobRequest.BuildernumResults(Integer numResults)The number of recommendations to retrieve.CreateBatchInferenceJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBatchInferenceJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBatchInferenceJobRequest.BuilderroleArn(String 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.CreateBatchInferenceJobRequest.BuildersolutionVersionArn(String solutionVersionArn)The Amazon Resource Name (ARN) of the solution version that will be used to generate the batch inference recommendations.CreateBatchInferenceJobRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the batch inference job.CreateBatchInferenceJobRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the batch inference job.CreateBatchInferenceJobRequest.Buildertags(Tag... tags)A list of tags to apply to the batch inference job.default CreateBatchInferenceJobRequest.BuilderthemeGenerationConfig(Consumer<ThemeGenerationConfig.Builder> themeGenerationConfig)For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name.CreateBatchInferenceJobRequest.BuilderthemeGenerationConfig(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jobName
CreateBatchInferenceJobRequest.Builder jobName(String 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
CreateBatchInferenceJobRequest.Builder solutionVersionArn(String 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
CreateBatchInferenceJobRequest.Builder filterArn(String 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
CreateBatchInferenceJobRequest.Builder numResults(Integer 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
CreateBatchInferenceJobRequest.Builder jobInput(BatchInferenceJobInput 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.Builderavoiding the need to create one manually viaBatchInferenceJobInput.builder().When the
Consumercompletes,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:
jobInput(BatchInferenceJobInput)
-
jobOutput
CreateBatchInferenceJobRequest.Builder jobOutput(BatchInferenceJobOutput 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.Builderavoiding the need to create one manually viaBatchInferenceJobOutput.builder().When the
Consumercompletes,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:
jobOutput(BatchInferenceJobOutput)
-
roleArn
CreateBatchInferenceJobRequest.Builder roleArn(String 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.Builderavoiding the need to create one manually viaBatchInferenceJobConfig.builder().When the
Consumercompletes,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:
batchInferenceJobConfig(BatchInferenceJobConfig)
-
tags
CreateBatchInferenceJobRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the batch inference job.
- Parameters:
tags- A list of tags to apply to the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBatchInferenceJobRequest.Builder tags(Tag... tags)
A list of tags to apply to the batch inference job.
- Parameters:
tags- A list of tags to apply to the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBatchInferenceJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the batch inference job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
batchInferenceJobMode
CreateBatchInferenceJobRequest.Builder batchInferenceJobMode(String 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,BatchInferenceJobMode
-
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:
BatchInferenceJobMode,BatchInferenceJobMode
-
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.Builderavoiding the need to create one manually viaThemeGenerationConfig.builder().When the
Consumercompletes,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:
themeGenerationConfig(ThemeGenerationConfig)
-
overrideConfiguration
CreateBatchInferenceJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBatchInferenceJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-