Interface UpdateCampaignRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCampaignRequest.Builder,,UpdateCampaignRequest> PersonalizeRequest.Builder,SdkBuilder<UpdateCampaignRequest.Builder,,UpdateCampaignRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateCampaignRequest
-
Method Summary
Modifier and TypeMethodDescriptioncampaignArn(String campaignArn) The Amazon Resource Name (ARN) of the campaign.default UpdateCampaignRequest.BuildercampaignConfig(Consumer<CampaignConfig.Builder> campaignConfig) The configuration details of a campaign.campaignConfig(CampaignConfig campaignConfig) The configuration details of a campaign.minProvisionedTPS(Integer minProvisionedTPS) Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.solutionVersionArn(String solutionVersionArn) The Amazon Resource Name (ARN) of a new model to deploy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
campaignArn
The Amazon Resource Name (ARN) of the campaign.
- Parameters:
campaignArn- The Amazon Resource Name (ARN) of the campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionVersionArn
The Amazon Resource Name (ARN) of a new model to deploy. To specify the latest solution version of your solution, specify the ARN of your solution in
SolutionArn/$LATESTformat. You must use this format if you setsyncWithLatestSolutionVersiontoTruein the CampaignConfig.To deploy a model that isn't the latest solution version of your solution, specify the ARN of the solution version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
- Parameters:
solutionVersionArn- The Amazon Resource Name (ARN) of a new model to deploy. To specify the latest solution version of your solution, specify the ARN of your solution inSolutionArn/$LATESTformat. You must use this format if you setsyncWithLatestSolutionVersiontoTruein the CampaignConfig.To deploy a model that isn't the latest solution version of your solution, specify the ARN of the solution version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minProvisionedTPS
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support. A high
minProvisionedTPSwill increase your bill. We recommend starting with 1 forminProvisionedTPS(the default). Track your usage using Amazon CloudWatch metrics, and increase theminProvisionedTPSas necessary.- Parameters:
minProvisionedTPS- Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support. A highminProvisionedTPSwill increase your bill. We recommend starting with 1 forminProvisionedTPS(the default). Track your usage using Amazon CloudWatch metrics, and increase theminProvisionedTPSas necessary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignConfig
The configuration details of a campaign.
- Parameters:
campaignConfig- The configuration details of a campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignConfig
default UpdateCampaignRequest.Builder campaignConfig(Consumer<CampaignConfig.Builder> campaignConfig) The configuration details of a campaign.
This is a convenience method that creates an instance of theCampaignConfig.Builderavoiding the need to create one manually viaCampaignConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocampaignConfig(CampaignConfig).- Parameters:
campaignConfig- a consumer that will call methods onCampaignConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCampaignRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCampaignRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-