Interface GetAudienceGenerationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsMlResponse.Builder
,CopyableBuilder<GetAudienceGenerationJobResponse.Builder,
,GetAudienceGenerationJobResponse> SdkBuilder<GetAudienceGenerationJobResponse.Builder,
,GetAudienceGenerationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAudienceGenerationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionaudienceGenerationJobArn
(String audienceGenerationJobArn) The Amazon Resource Name (ARN) of the audience generation job.collaborationId
(String collaborationId) The identifier of the collaboration that this audience generation job is associated with.configuredAudienceModelArn
(String configuredAudienceModelArn) The Amazon Resource Name (ARN) of the configured audience model used for this audience generation job.createTime
(Instant createTime) The time at which the audience generation job was created.description
(String description) The description of the audience generation job.includeSeedInOutput
(Boolean includeSeedInOutput) Configure whether the seed users are included in the output audience.metrics
(Consumer<AudienceQualityMetrics.Builder> metrics) The relevance scores for different audience sizes and the recall score of the generated audience.metrics
(AudienceQualityMetrics metrics) The relevance scores for different audience sizes and the recall score of the generated audience.The name of the audience generation job.seedAudience
(Consumer<AudienceGenerationJobDataSource.Builder> seedAudience) The seed audience that was used for this audience generation job.seedAudience
(AudienceGenerationJobDataSource seedAudience) The seed audience that was used for this audience generation job.The AWS account that started this audience generation job.The status of the audience generation job.status
(AudienceGenerationJobStatus status) The status of the audience generation job.statusDetails
(Consumer<StatusDetails.Builder> statusDetails) Details about the status of the audience generation job.statusDetails
(StatusDetails statusDetails) Details about the status of the audience generation job.The tags that are associated to this audience generation job.updateTime
(Instant updateTime) The most recent time at which the audience generation job was updated.Methods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
audienceGenerationJobArn
The Amazon Resource Name (ARN) of the audience generation job.
- Parameters:
audienceGenerationJobArn
- The Amazon Resource Name (ARN) of the audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationId
The identifier of the collaboration that this audience generation job is associated with.
- Parameters:
collaborationId
- The identifier of the collaboration that this audience generation job is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredAudienceModelArn
GetAudienceGenerationJobResponse.Builder configuredAudienceModelArn(String configuredAudienceModelArn) The Amazon Resource Name (ARN) of the configured audience model used for this audience generation job.
- Parameters:
configuredAudienceModelArn
- The Amazon Resource Name (ARN) of the configured audience model used for this audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time at which the audience generation job was created.
- Parameters:
createTime
- The time at which the audience generation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the audience generation job.
- Parameters:
description
- The description of the audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeSeedInOutput
Configure whether the seed users are included in the output audience. By default, Clean Rooms ML removes seed users from the output audience. If you specify
TRUE
, the seed users will appear first in the output. Clean Rooms ML does not explicitly reveal whether a user was in the seed, but the recipient of the audience will know that the firstminimumSeedSize
count of users are from the seed.- Parameters:
includeSeedInOutput
- Configure whether the seed users are included in the output audience. By default, Clean Rooms ML removes seed users from the output audience. If you specifyTRUE
, the seed users will appear first in the output. Clean Rooms ML does not explicitly reveal whether a user was in the seed, but the recipient of the audience will know that the firstminimumSeedSize
count of users are from the seed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The relevance scores for different audience sizes and the recall score of the generated audience.
- Parameters:
metrics
- The relevance scores for different audience sizes and the recall score of the generated audience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
default GetAudienceGenerationJobResponse.Builder metrics(Consumer<AudienceQualityMetrics.Builder> metrics) The relevance scores for different audience sizes and the recall score of the generated audience.
This is a convenience method that creates an instance of theAudienceQualityMetrics.Builder
avoiding the need to create one manually viaAudienceQualityMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(AudienceQualityMetrics)
.- Parameters:
metrics
- a consumer that will call methods onAudienceQualityMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the audience generation job.
- Parameters:
name
- The name of the audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seedAudience
The seed audience that was used for this audience generation job. This field will be null if the account calling the API is the account that started this audience generation job.
- Parameters:
seedAudience
- The seed audience that was used for this audience generation job. This field will be null if the account calling the API is the account that started this audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seedAudience
default GetAudienceGenerationJobResponse.Builder seedAudience(Consumer<AudienceGenerationJobDataSource.Builder> seedAudience) The seed audience that was used for this audience generation job. This field will be null if the account calling the API is the account that started this audience generation job.
This is a convenience method that creates an instance of theAudienceGenerationJobDataSource.Builder
avoiding the need to create one manually viaAudienceGenerationJobDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseedAudience(AudienceGenerationJobDataSource)
.- Parameters:
seedAudience
- a consumer that will call methods onAudienceGenerationJobDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedBy
The AWS account that started this audience generation job.
- Parameters:
startedBy
- The AWS account that started this audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the audience generation job.
- Parameters:
status
- The status of the audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the audience generation job.
- Parameters:
status
- The status of the audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusDetails
Details about the status of the audience generation job.
- Parameters:
statusDetails
- Details about the status of the audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusDetails
default GetAudienceGenerationJobResponse.Builder statusDetails(Consumer<StatusDetails.Builder> statusDetails) Details about the status of the audience generation job.
This is a convenience method that creates an instance of theStatusDetails.Builder
avoiding the need to create one manually viaStatusDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusDetails(StatusDetails)
.- Parameters:
statusDetails
- a consumer that will call methods onStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags that are associated to this audience generation job.
- Parameters:
tags
- The tags that are associated to this audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The most recent time at which the audience generation job was updated.
- Parameters:
updateTime
- The most recent time at which the audience generation job was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-