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 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

      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.Builder avoiding the need to create one manually via S3ConfigMap.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSource(S3ConfigMap).

      Parameters:
      dataSource - a consumer that will call methods on S3ConfigMap.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.