Interface BatchSegmentJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchSegmentJob.Builder,BatchSegmentJob>,SdkBuilder<BatchSegmentJob.Builder,BatchSegmentJob>,SdkPojo
- Enclosing class:
- BatchSegmentJob
public static interface BatchSegmentJob.Builder extends SdkPojo, CopyableBuilder<BatchSegmentJob.Builder,BatchSegmentJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchSegmentJob.BuilderbatchSegmentJobArn(String batchSegmentJobArn)The Amazon Resource Name (ARN) of the batch segment job.BatchSegmentJob.BuildercreationDateTime(Instant creationDateTime)The time at which the batch segment job was created.BatchSegmentJob.BuilderfailureReason(String failureReason)If the batch segment job failed, the reason for the failure.BatchSegmentJob.BuilderfilterArn(String filterArn)The ARN of the filter used on the batch segment job.default BatchSegmentJob.BuilderjobInput(Consumer<BatchSegmentJobInput.Builder> jobInput)The Amazon S3 path that leads to the input data used to generate the batch segment job.BatchSegmentJob.BuilderjobInput(BatchSegmentJobInput jobInput)The Amazon S3 path that leads to the input data used to generate the batch segment job.BatchSegmentJob.BuilderjobName(String jobName)The name of the batch segment job.default BatchSegmentJob.BuilderjobOutput(Consumer<BatchSegmentJobOutput.Builder> jobOutput)The Amazon S3 bucket that contains the output data generated by the batch segment job.BatchSegmentJob.BuilderjobOutput(BatchSegmentJobOutput jobOutput)The Amazon S3 bucket that contains the output data generated by the batch segment job.BatchSegmentJob.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The time at which the batch segment job last updated.BatchSegmentJob.BuildernumResults(Integer numResults)The number of predicted users generated by the batch segment job for each line of input data.BatchSegmentJob.BuilderroleArn(String roleArn)The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch segment job.BatchSegmentJob.BuildersolutionVersionArn(String solutionVersionArn)The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments.BatchSegmentJob.Builderstatus(String status)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, sdkFields
-
-
-
-
Method Detail
-
jobName
BatchSegmentJob.Builder jobName(String 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
BatchSegmentJob.Builder batchSegmentJobArn(String 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
BatchSegmentJob.Builder filterArn(String 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
BatchSegmentJob.Builder failureReason(String 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
BatchSegmentJob.Builder solutionVersionArn(String 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
BatchSegmentJob.Builder numResults(Integer 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
BatchSegmentJob.Builder jobInput(BatchSegmentJobInput 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
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.
This is a convenience method that creates an instance of theBatchSegmentJobInput.Builderavoiding the need to create one manually viaBatchSegmentJobInput.builder().When the
Consumercompletes,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:
jobInput(BatchSegmentJobInput)
-
jobOutput
BatchSegmentJob.Builder jobOutput(BatchSegmentJobOutput 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
default BatchSegmentJob.Builder jobOutput(Consumer<BatchSegmentJobOutput.Builder> 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.Builderavoiding the need to create one manually viaBatchSegmentJobOutput.builder().When the
Consumercompletes,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:
jobOutput(BatchSegmentJobOutput)
-
roleArn
BatchSegmentJob.Builder roleArn(String 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
BatchSegmentJob.Builder status(String 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
BatchSegmentJob.Builder creationDateTime(Instant 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
BatchSegmentJob.Builder lastUpdatedDateTime(Instant 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.
-
-