Interface AudienceGenerationJobDataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AudienceGenerationJobDataSource.Builder,
,AudienceGenerationJobDataSource> SdkBuilder<AudienceGenerationJobDataSource.Builder,
,AudienceGenerationJobDataSource> SdkPojo
- Enclosing class:
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 seed audience is stored.sqlComputeConfiguration
(Consumer<ComputeConfiguration.Builder> sqlComputeConfiguration) Sets the value of the SqlComputeConfiguration property for this object.sqlComputeConfiguration
(ComputeConfiguration sqlComputeConfiguration) Sets the value of the SqlComputeConfiguration property for this object.sqlParameters
(Consumer<ProtectedQuerySQLParameters.Builder> sqlParameters) The protected SQL query parameters.sqlParameters
(ProtectedQuerySQLParameters sqlParameters) The protected SQL query parameters.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, sdkFieldNameToField, 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"}
...
S3ConfigMap.Builder
avoiding the need to create one manually viaS3ConfigMap.builder()
.When the
Consumer
completes,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 seed audience is stored.
- Parameters:
roleArn
- The ARN of the IAM role that can read the Amazon S3 bucket where the seed audience is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlParameters
The protected SQL query parameters.
- Parameters:
sqlParameters
- The protected SQL query parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlParameters
default AudienceGenerationJobDataSource.Builder sqlParameters(Consumer<ProtectedQuerySQLParameters.Builder> sqlParameters) The protected SQL query parameters.
This is a convenience method that creates an instance of theProtectedQuerySQLParameters.Builder
avoiding the need to create one manually viaProtectedQuerySQLParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqlParameters(ProtectedQuerySQLParameters)
.- Parameters:
sqlParameters
- a consumer that will call methods onProtectedQuerySQLParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqlComputeConfiguration
AudienceGenerationJobDataSource.Builder sqlComputeConfiguration(ComputeConfiguration sqlComputeConfiguration) Sets the value of the SqlComputeConfiguration property for this object.- Parameters:
sqlComputeConfiguration
- The new value for the SqlComputeConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlComputeConfiguration
default AudienceGenerationJobDataSource.Builder sqlComputeConfiguration(Consumer<ComputeConfiguration.Builder> sqlComputeConfiguration) Sets the value of the SqlComputeConfiguration property for this object. This is a convenience method that creates an instance of theComputeConfiguration.Builder
avoiding the need to create one manually viaComputeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqlComputeConfiguration(ComputeConfiguration)
.- Parameters:
sqlComputeConfiguration
- a consumer that will call methods onComputeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-