Interface CreateBatchSegmentJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBatchSegmentJobRequest.Builder,CreateBatchSegmentJobRequest>,PersonalizeRequest.Builder,SdkBuilder<CreateBatchSegmentJobRequest.Builder,CreateBatchSegmentJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBatchSegmentJobRequest
public static interface CreateBatchSegmentJobRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateBatchSegmentJobRequest.Builder,CreateBatchSegmentJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBatchSegmentJobRequest.BuilderfilterArn(String filterArn)The ARN of the filter to apply to the batch segment job.default CreateBatchSegmentJobRequest.BuilderjobInput(Consumer<BatchSegmentJobInput.Builder> jobInput)The Amazon S3 path for the input data used to generate the batch segment job.CreateBatchSegmentJobRequest.BuilderjobInput(BatchSegmentJobInput jobInput)The Amazon S3 path for the input data used to generate the batch segment job.CreateBatchSegmentJobRequest.BuilderjobName(String jobName)The name of the batch segment job to create.default CreateBatchSegmentJobRequest.BuilderjobOutput(Consumer<BatchSegmentJobOutput.Builder> jobOutput)The Amazon S3 path for the bucket where the job's output will be stored.CreateBatchSegmentJobRequest.BuilderjobOutput(BatchSegmentJobOutput jobOutput)The Amazon S3 path for the bucket where the job's output will be stored.CreateBatchSegmentJobRequest.BuildernumResults(Integer numResults)The number of predicted users generated by the batch segment job for each line of input data.CreateBatchSegmentJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBatchSegmentJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBatchSegmentJobRequest.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.CreateBatchSegmentJobRequest.BuildersolutionVersionArn(String solutionVersionArn)The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.CreateBatchSegmentJobRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the batch segment job.CreateBatchSegmentJobRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the batch segment job.CreateBatchSegmentJobRequest.Buildertags(Tag... tags)A list of tags to apply to the batch segment job.-
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 Detail
-
jobName
CreateBatchSegmentJobRequest.Builder jobName(String jobName)
The name of the batch segment job to create.
- Parameters:
jobName- The name of the batch segment job to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionVersionArn
CreateBatchSegmentJobRequest.Builder solutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.
- Parameters:
solutionVersionArn- The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterArn
CreateBatchSegmentJobRequest.Builder filterArn(String filterArn)
The ARN of the filter to apply to the batch segment job. For more information on using filters, see Filtering batch recommendations.
- Parameters:
filterArn- The ARN of the filter to apply to the batch segment 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
CreateBatchSegmentJobRequest.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
CreateBatchSegmentJobRequest.Builder jobInput(BatchSegmentJobInput jobInput)
The Amazon S3 path for the input data used to generate the batch segment job.
- Parameters:
jobInput- The Amazon S3 path for 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 CreateBatchSegmentJobRequest.Builder jobInput(Consumer<BatchSegmentJobInput.Builder> jobInput)
The Amazon S3 path for 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
CreateBatchSegmentJobRequest.Builder jobOutput(BatchSegmentJobOutput jobOutput)
The Amazon S3 path for the bucket where the job's output will be stored.
- Parameters:
jobOutput- The Amazon S3 path for the 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 CreateBatchSegmentJobRequest.Builder jobOutput(Consumer<BatchSegmentJobOutput.Builder> jobOutput)
The Amazon S3 path for the bucket where the job's output will be stored.
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
CreateBatchSegmentJobRequest.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.
-
tags
CreateBatchSegmentJobRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the batch segment job.
- Parameters:
tags- A list of tags to apply to the batch segment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBatchSegmentJobRequest.Builder tags(Tag... tags)
A list of tags to apply to the batch segment job.
- Parameters:
tags- A list of tags to apply to the batch segment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBatchSegmentJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the batch segment 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)
-
overrideConfiguration
CreateBatchSegmentJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBatchSegmentJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-