Interface BatchInferenceJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchInferenceJob.Builder,
,BatchInferenceJob> SdkBuilder<BatchInferenceJob.Builder,
,BatchInferenceJob> SdkPojo
- Enclosing class:
BatchInferenceJob
-
Method Summary
Modifier and TypeMethodDescriptionbatchInferenceJobArn
(String batchInferenceJobArn) The Amazon Resource Name (ARN) of the batch inference job.default BatchInferenceJob.Builder
batchInferenceJobConfig
(Consumer<BatchInferenceJobConfig.Builder> batchInferenceJobConfig) A string to string map of the configuration details of a batch inference job.batchInferenceJobConfig
(BatchInferenceJobConfig batchInferenceJobConfig) A string to string map of the configuration details of a batch inference job.batchInferenceJobMode
(String batchInferenceJobMode) The job's mode.batchInferenceJobMode
(BatchInferenceJobMode batchInferenceJobMode) The job's mode.creationDateTime
(Instant creationDateTime) The time at which the batch inference job was created.failureReason
(String failureReason) If the batch inference job failed, the reason for the failure.The ARN of the filter used on the batch inference job.default BatchInferenceJob.Builder
jobInput
(Consumer<BatchInferenceJobInput.Builder> jobInput) The Amazon S3 path that leads to the input data used to generate the batch inference job.jobInput
(BatchInferenceJobInput jobInput) The Amazon S3 path that leads to the input data used to generate the batch inference job.The name of the batch inference job.default BatchInferenceJob.Builder
jobOutput
(Consumer<BatchInferenceJobOutput.Builder> jobOutput) The Amazon S3 bucket that contains the output data generated by the batch inference job.jobOutput
(BatchInferenceJobOutput jobOutput) The Amazon S3 bucket that contains the output data generated by the batch inference job.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The time at which the batch inference job was last updated.numResults
(Integer numResults) The number of recommendations generated by the batch inference job.The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch inference job.solutionVersionArn
(String solutionVersionArn) The Amazon Resource Name (ARN) of the solution version from which the batch inference job was created.The status of the batch inference job.default BatchInferenceJob.Builder
themeGenerationConfig
(Consumer<ThemeGenerationConfig.Builder> themeGenerationConfig) The job's theme generation settings.themeGenerationConfig
(ThemeGenerationConfig themeGenerationConfig) The job's theme generation settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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.
- Parameters:
jobName
- The name of the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchInferenceJobArn
The Amazon Resource Name (ARN) of the batch inference job.
- Parameters:
batchInferenceJobArn
- The Amazon Resource Name (ARN) of the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterArn
The ARN of the filter used on the batch inference job.
- Parameters:
filterArn
- The ARN of the filter used on the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If the batch inference job failed, the reason for the failure.
- Parameters:
failureReason
- If the batch inference job failed, the reason for the failure.- 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 from which the batch inference job was created.
- Parameters:
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version from which the batch inference job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numResults
The number of recommendations generated by the batch inference job. This number includes the error messages generated for failed input records.
- Parameters:
numResults
- The number of recommendations generated by the batch inference job. This number includes the error messages generated for failed input records.- 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 data used to generate the batch inference job.
- Parameters:
jobInput
- The Amazon S3 path that leads to the input data used to generate the batch inference job.- 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 data used to generate the batch inference job.
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 Amazon S3 bucket that contains the output data generated by the batch inference job.
- Parameters:
jobOutput
- The Amazon S3 bucket that contains the output data generated by the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobOutput
The Amazon S3 bucket that contains the output data generated by the batch inference job.
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:
-
batchInferenceJobConfig
A string to string map of the configuration details of a batch inference job.
- Parameters:
batchInferenceJobConfig
- A string to string map of 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 BatchInferenceJob.Builder batchInferenceJobConfig(Consumer<BatchInferenceJobConfig.Builder> batchInferenceJobConfig) A string to string map of 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:
-
roleArn
The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch inference job.
- Parameters:
roleArn
- The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchInferenceJobMode
The job's mode.
- Parameters:
batchInferenceJobMode
- The job's mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchInferenceJobMode
The job's mode.
- Parameters:
batchInferenceJobMode
- The job's mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
themeGenerationConfig
The job's theme generation settings.
- Parameters:
themeGenerationConfig
- The job's theme generation settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeGenerationConfig
default BatchInferenceJob.Builder themeGenerationConfig(Consumer<ThemeGenerationConfig.Builder> themeGenerationConfig) The job's theme generation settings.
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:
-
status
The status of the batch inference job. The status is one of the following values:
-
PENDING
-
IN PROGRESS
-
ACTIVE
-
CREATE FAILED
- Parameters:
status
- The status of the batch inference job. The status is one of the following values:-
PENDING
-
IN PROGRESS
-
ACTIVE
-
CREATE FAILED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creationDateTime
The time at which the batch inference job was created.
- Parameters:
creationDateTime
- The time at which the batch inference job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The time at which the batch inference job was last updated.
- Parameters:
lastUpdatedDateTime
- The time at which the batch inference job was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-