Struct aws_sdk_personalize::operation::update_campaign::builders::UpdateCampaignInputBuilder
source · #[non_exhaustive]pub struct UpdateCampaignInputBuilder { /* private fields */ }
Expand description
A builder for UpdateCampaignInput
.
Implementations§
source§impl UpdateCampaignInputBuilder
impl UpdateCampaignInputBuilder
sourcepub fn campaign_arn(self, input: impl Into<String>) -> Self
pub fn campaign_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the campaign.
This field is required.sourcepub fn set_campaign_arn(self, input: Option<String>) -> Self
pub fn set_campaign_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the campaign.
sourcepub fn get_campaign_arn(&self) -> &Option<String>
pub fn get_campaign_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the campaign.
sourcepub fn solution_version_arn(self, input: impl Into<String>) -> Self
pub fn solution_version_arn(self, input: impl Into<String>) -> Self
The ARN of a new solution version to deploy.
sourcepub fn set_solution_version_arn(self, input: Option<String>) -> Self
pub fn set_solution_version_arn(self, input: Option<String>) -> Self
The ARN of a new solution version to deploy.
sourcepub fn get_solution_version_arn(&self) -> &Option<String>
pub fn get_solution_version_arn(&self) -> &Option<String>
The ARN of a new solution version to deploy.
sourcepub fn min_provisioned_tps(self, input: i32) -> Self
pub fn min_provisioned_tps(self, input: i32) -> Self
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support. A high minProvisionedTPS
will increase your bill. We recommend starting with 1 for minProvisionedTPS
(the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS
as necessary.
sourcepub fn set_min_provisioned_tps(self, input: Option<i32>) -> Self
pub fn set_min_provisioned_tps(self, input: Option<i32>) -> Self
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support. A high minProvisionedTPS
will increase your bill. We recommend starting with 1 for minProvisionedTPS
(the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS
as necessary.
sourcepub fn get_min_provisioned_tps(&self) -> &Option<i32>
pub fn get_min_provisioned_tps(&self) -> &Option<i32>
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support. A high minProvisionedTPS
will increase your bill. We recommend starting with 1 for minProvisionedTPS
(the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS
as necessary.
sourcepub fn campaign_config(self, input: CampaignConfig) -> Self
pub fn campaign_config(self, input: CampaignConfig) -> Self
The configuration details of a campaign.
sourcepub fn set_campaign_config(self, input: Option<CampaignConfig>) -> Self
pub fn set_campaign_config(self, input: Option<CampaignConfig>) -> Self
The configuration details of a campaign.
sourcepub fn get_campaign_config(&self) -> &Option<CampaignConfig>
pub fn get_campaign_config(&self) -> &Option<CampaignConfig>
The configuration details of a campaign.
sourcepub fn build(self) -> Result<UpdateCampaignInput, BuildError>
pub fn build(self) -> Result<UpdateCampaignInput, BuildError>
Consumes the builder and constructs a UpdateCampaignInput
.
source§impl UpdateCampaignInputBuilder
impl UpdateCampaignInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateCampaignOutput, SdkError<UpdateCampaignError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateCampaignOutput, SdkError<UpdateCampaignError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCampaignInputBuilder
impl Clone for UpdateCampaignInputBuilder
source§fn clone(&self) -> UpdateCampaignInputBuilder
fn clone(&self) -> UpdateCampaignInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateCampaignInputBuilder
impl Debug for UpdateCampaignInputBuilder
source§impl Default for UpdateCampaignInputBuilder
impl Default for UpdateCampaignInputBuilder
source§fn default() -> UpdateCampaignInputBuilder
fn default() -> UpdateCampaignInputBuilder
source§impl PartialEq for UpdateCampaignInputBuilder
impl PartialEq for UpdateCampaignInputBuilder
source§fn eq(&self, other: &UpdateCampaignInputBuilder) -> bool
fn eq(&self, other: &UpdateCampaignInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.