Interface AudienceGenerationJobDataSource.Builder

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