#[non_exhaustive]pub struct CampaignUpdateSummaryBuilder { /* private fields */ }Expand description
A builder for CampaignUpdateSummary.
Implementations§
source§impl CampaignUpdateSummaryBuilder
impl CampaignUpdateSummaryBuilder
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 deployed solution version.
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 deployed solution version.
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 deployed solution version.
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.
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.
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.
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 status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the campaign update.
A campaign update can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the campaign update.
A campaign update can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the campaign update.
A campaign update can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If a campaign update fails, the reason behind the failure.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If a campaign update fails, the reason behind the failure.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
If a campaign update fails, the reason behind the failure.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the campaign update was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the campaign update was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time (in Unix time) that the campaign update was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the campaign update was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the campaign update was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time (in Unix time) that the campaign update was last updated.
sourcepub fn build(self) -> CampaignUpdateSummary
pub fn build(self) -> CampaignUpdateSummary
Consumes the builder and constructs a CampaignUpdateSummary.
Trait Implementations§
source§impl Clone for CampaignUpdateSummaryBuilder
impl Clone for CampaignUpdateSummaryBuilder
source§fn clone(&self) -> CampaignUpdateSummaryBuilder
fn clone(&self) -> CampaignUpdateSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CampaignUpdateSummaryBuilder
impl Debug for CampaignUpdateSummaryBuilder
source§impl Default for CampaignUpdateSummaryBuilder
impl Default for CampaignUpdateSummaryBuilder
source§fn default() -> CampaignUpdateSummaryBuilder
fn default() -> CampaignUpdateSummaryBuilder
source§impl PartialEq for CampaignUpdateSummaryBuilder
impl PartialEq for CampaignUpdateSummaryBuilder
source§fn eq(&self, other: &CampaignUpdateSummaryBuilder) -> bool
fn eq(&self, other: &CampaignUpdateSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.