Interface AudienceGenerationJobDataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudienceGenerationJobDataSource.Builder,,AudienceGenerationJobDataSource> SdkBuilder<AudienceGenerationJobDataSource.Builder,,AudienceGenerationJobDataSource> SdkPojo
- Enclosing class:
AudienceGenerationJobDataSource
public static interface AudienceGenerationJobDataSource.Builder
extends SdkPojo, CopyableBuilder<AudienceGenerationJobDataSource.Builder,AudienceGenerationJobDataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondataSource(Consumer<S3ConfigMap.Builder> dataSource) Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.dataSource(S3ConfigMap dataSource) Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataSource
Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:
{"user_id": "111111"}{"user_id": "222222"}...- Parameters:
dataSource- Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:{"user_id": "111111"}{"user_id": "222222"}...- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default AudienceGenerationJobDataSource.Builder dataSource(Consumer<S3ConfigMap.Builder> dataSource) Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:
{"user_id": "111111"}{"user_id": "222222"}
This is a convenience method that creates an instance of the...S3ConfigMap.Builderavoiding the need to create one manually viaS3ConfigMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(S3ConfigMap).- Parameters:
dataSource- a consumer that will call methods onS3ConfigMap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
- Parameters:
roleArn- The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-