Interface BatchSegmentJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchSegmentJob.Builder,
,BatchSegmentJob> SdkBuilder<BatchSegmentJob.Builder,
,BatchSegmentJob> SdkPojo
- Enclosing class:
BatchSegmentJob
-
Method Summary
Modifier and TypeMethodDescriptionbatchSegmentJobArn
(String batchSegmentJobArn) The Amazon Resource Name (ARN) of the batch segment job.creationDateTime
(Instant creationDateTime) The time at which the batch segment job was created.failureReason
(String failureReason) If the batch segment job failed, the reason for the failure.The ARN of the filter used on the batch segment job.default BatchSegmentJob.Builder
jobInput
(Consumer<BatchSegmentJobInput.Builder> jobInput) The Amazon S3 path that leads to the input data used to generate the batch segment job.jobInput
(BatchSegmentJobInput jobInput) The Amazon S3 path that leads to the input data used to generate the batch segment job.The name of the batch segment job.default BatchSegmentJob.Builder
jobOutput
(Consumer<BatchSegmentJobOutput.Builder> jobOutput) The Amazon S3 bucket that contains the output data generated by the batch segment job.jobOutput
(BatchSegmentJobOutput jobOutput) The Amazon S3 bucket that contains the output data generated by the batch segment job.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The time at which the batch segment job last updated.numResults
(Integer numResults) The number of predicted users generated by the batch segment job for each line of input data.The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch segment job.solutionVersionArn
(String solutionVersionArn) The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments.The status of the batch segment job.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, sdkFieldNameToField, sdkFields
-
Method Details
-
jobName
The name of the batch segment job.
- Parameters:
jobName
- The name of the batch segment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchSegmentJobArn
The Amazon Resource Name (ARN) of the batch segment job.
- Parameters:
batchSegmentJobArn
- The Amazon Resource Name (ARN) of the batch segment 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 segment job.
- Parameters:
filterArn
- The ARN of the filter used on the batch segment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If the batch segment job failed, the reason for the failure.
- Parameters:
failureReason
- If the batch segment 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 used by the batch segment job to generate batch segments.
- Parameters:
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numResults
The number of predicted users generated by the batch segment job for each line of input data. The maximum number of users per segment is 5 million.
- Parameters:
numResults
- The number of predicted users generated by the batch segment job for each line of input data. The maximum number of users per segment is 5 million.- 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 segment job.
- Parameters:
jobInput
- The Amazon S3 path that leads to the input data used to generate the batch segment 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 segment job.
This is a convenience method that creates an instance of theBatchSegmentJobInput.Builder
avoiding the need to create one manually viaBatchSegmentJobInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobInput(BatchSegmentJobInput)
.- Parameters:
jobInput
- a consumer that will call methods onBatchSegmentJobInput.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 segment job.
- Parameters:
jobOutput
- The Amazon S3 bucket that contains the output data generated by the batch segment 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 segment job.
This is a convenience method that creates an instance of theBatchSegmentJobOutput.Builder
avoiding the need to create one manually viaBatchSegmentJobOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobOutput(BatchSegmentJobOutput)
.- Parameters:
jobOutput
- a consumer that will call methods onBatchSegmentJobOutput.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 segment job.
- Parameters:
roleArn
- The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch segment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the batch segment job. The status is one of the following values:
-
PENDING
-
IN PROGRESS
-
ACTIVE
-
CREATE FAILED
- Parameters:
status
- The status of the batch segment 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 segment job was created.
- Parameters:
creationDateTime
- The time at which the batch segment 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 segment job last updated.
- Parameters:
lastUpdatedDateTime
- The time at which the batch segment job last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-