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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AudienceGenerationJobDataSource.BuilderdataSource(Consumer<S3ConfigMap.Builder> dataSource)Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.AudienceGenerationJobDataSource.BuilderdataSource(S3ConfigMap dataSource)Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.AudienceGenerationJobDataSource.BuilderroleArn(String roleArn)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
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
-
dataSource
AudienceGenerationJobDataSource.Builder dataSource(S3ConfigMap 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:
dataSource(S3ConfigMap)
-
roleArn
AudienceGenerationJobDataSource.Builder roleArn(String 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.
-
-