Struct aws_sdk_personalize::operation::create_campaign::builders::CreateCampaignInputBuilder
source · #[non_exhaustive]pub struct CreateCampaignInputBuilder { /* private fields */ }
Expand description
A builder for CreateCampaignInput
.
Implementations§
source§impl CreateCampaignInputBuilder
impl CreateCampaignInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name for the new campaign. The campaign name must be unique within your account.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A name for the new campaign. The campaign name must be unique within your account.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A name for the new campaign. The campaign name must be unique within your account.
sourcepub fn solution_version_arn(self, input: impl Into<String>) -> Self
pub fn solution_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the solution version to deploy.
This field is required.sourcepub fn set_solution_version_arn(self, input: Option<String>) -> Self
pub fn set_solution_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the solution version to deploy.
sourcepub fn get_solution_version_arn(&self) -> &Option<String>
pub fn get_solution_version_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the 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.
A list of tags to apply to the campaign.
A list of tags to apply to the campaign.
sourcepub fn build(self) -> Result<CreateCampaignInput, BuildError>
pub fn build(self) -> Result<CreateCampaignInput, BuildError>
Consumes the builder and constructs a CreateCampaignInput
.
source§impl CreateCampaignInputBuilder
impl CreateCampaignInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCampaignOutput, SdkError<CreateCampaignError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCampaignOutput, SdkError<CreateCampaignError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCampaignInputBuilder
impl Clone for CreateCampaignInputBuilder
source§fn clone(&self) -> CreateCampaignInputBuilder
fn clone(&self) -> CreateCampaignInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCampaignInputBuilder
impl Debug for CreateCampaignInputBuilder
source§impl Default for CreateCampaignInputBuilder
impl Default for CreateCampaignInputBuilder
source§fn default() -> CreateCampaignInputBuilder
fn default() -> CreateCampaignInputBuilder
source§impl PartialEq for CreateCampaignInputBuilder
impl PartialEq for CreateCampaignInputBuilder
source§fn eq(&self, other: &CreateCampaignInputBuilder) -> bool
fn eq(&self, other: &CreateCampaignInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.