Interface GetAudienceGenerationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsMlResponse.Builder,CopyableBuilder<GetAudienceGenerationJobResponse.Builder,GetAudienceGenerationJobResponse>,SdkBuilder<GetAudienceGenerationJobResponse.Builder,GetAudienceGenerationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAudienceGenerationJobResponse
public static interface GetAudienceGenerationJobResponse.Builder extends CleanRoomsMlResponse.Builder, SdkPojo, CopyableBuilder<GetAudienceGenerationJobResponse.Builder,GetAudienceGenerationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAudienceGenerationJobResponse.BuilderaudienceGenerationJobArn(String audienceGenerationJobArn)The Amazon Resource Name (ARN) of the audience generation job.GetAudienceGenerationJobResponse.BuildercollaborationId(String collaborationId)The identifier of the collaboration that this audience generation job is associated with.GetAudienceGenerationJobResponse.BuilderconfiguredAudienceModelArn(String configuredAudienceModelArn)The Amazon Resource Name (ARN) of the configured audience model used for this audience generation job.GetAudienceGenerationJobResponse.BuildercreateTime(Instant createTime)The time at which the audience generation job was created.GetAudienceGenerationJobResponse.Builderdescription(String description)The description of the audience generation job.GetAudienceGenerationJobResponse.BuilderincludeSeedInOutput(Boolean includeSeedInOutput)Configure whether the seed users are included in the output audience.default GetAudienceGenerationJobResponse.Buildermetrics(Consumer<AudienceQualityMetrics.Builder> metrics)The relevance scores for different audience sizes and the recall score of the generated audience.GetAudienceGenerationJobResponse.Buildermetrics(AudienceQualityMetrics metrics)The relevance scores for different audience sizes and the recall score of the generated audience.GetAudienceGenerationJobResponse.Buildername(String name)The name of the audience generation job.GetAudienceGenerationJobResponse.BuilderprotectedQueryIdentifier(String protectedQueryIdentifier)The unique identifier of the protected query for this audience generation job.default GetAudienceGenerationJobResponse.BuilderseedAudience(Consumer<AudienceGenerationJobDataSource.Builder> seedAudience)The seed audience that was used for this audience generation job.GetAudienceGenerationJobResponse.BuilderseedAudience(AudienceGenerationJobDataSource seedAudience)The seed audience that was used for this audience generation job.GetAudienceGenerationJobResponse.BuilderstartedBy(String startedBy)The AWS account that started this audience generation job.GetAudienceGenerationJobResponse.Builderstatus(String status)The status of the audience generation job.GetAudienceGenerationJobResponse.Builderstatus(AudienceGenerationJobStatus status)The status of the audience generation job.default GetAudienceGenerationJobResponse.BuilderstatusDetails(Consumer<StatusDetails.Builder> statusDetails)Details about the status of the audience generation job.GetAudienceGenerationJobResponse.BuilderstatusDetails(StatusDetails statusDetails)Details about the status of the audience generation job.GetAudienceGenerationJobResponse.Buildertags(Map<String,String> tags)The tags that are associated to this audience generation job.GetAudienceGenerationJobResponse.BuilderupdateTime(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 Detail
-
createTime
GetAudienceGenerationJobResponse.Builder createTime(Instant 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.
-
updateTime
GetAudienceGenerationJobResponse.Builder updateTime(Instant 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.
-
audienceGenerationJobArn
GetAudienceGenerationJobResponse.Builder audienceGenerationJobArn(String 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.
-
name
GetAudienceGenerationJobResponse.Builder name(String 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.
-
description
GetAudienceGenerationJobResponse.Builder description(String 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.
-
status
GetAudienceGenerationJobResponse.Builder status(String 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:
AudienceGenerationJobStatus,AudienceGenerationJobStatus
-
status
GetAudienceGenerationJobResponse.Builder status(AudienceGenerationJobStatus 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:
AudienceGenerationJobStatus,AudienceGenerationJobStatus
-
statusDetails
GetAudienceGenerationJobResponse.Builder statusDetails(StatusDetails 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.Builderavoiding the need to create one manually viaStatusDetails.builder().When the
Consumercompletes,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:
statusDetails(StatusDetails)
-
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.
-
seedAudience
GetAudienceGenerationJobResponse.Builder seedAudience(AudienceGenerationJobDataSource 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.Builderavoiding the need to create one manually viaAudienceGenerationJobDataSource.builder().When the
Consumercompletes,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:
seedAudience(AudienceGenerationJobDataSource)
-
includeSeedInOutput
GetAudienceGenerationJobResponse.Builder includeSeedInOutput(Boolean 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 firstminimumSeedSizecount 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 firstminimumSeedSizecount of users are from the seed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationId
GetAudienceGenerationJobResponse.Builder collaborationId(String 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.
-
metrics
GetAudienceGenerationJobResponse.Builder metrics(AudienceQualityMetrics 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.Builderavoiding the need to create one manually viaAudienceQualityMetrics.builder().When the
Consumercompletes,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:
metrics(AudienceQualityMetrics)
-
startedBy
GetAudienceGenerationJobResponse.Builder startedBy(String 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.
-
tags
GetAudienceGenerationJobResponse.Builder tags(Map<String,String> 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.
-
protectedQueryIdentifier
GetAudienceGenerationJobResponse.Builder protectedQueryIdentifier(String protectedQueryIdentifier)
The unique identifier of the protected query for this audience generation job.
- Parameters:
protectedQueryIdentifier- The unique identifier of the protected query for this audience generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-