Struct aws_sdk_evidently::types::builders::LaunchBuilder
source · #[non_exhaustive]pub struct LaunchBuilder { /* private fields */ }
Expand description
A builder for Launch
.
Implementations§
source§impl LaunchBuilder
impl LaunchBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the launch.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the launch.
This field is required.sourcepub fn project(self, input: impl Into<String>) -> Self
pub fn project(self, input: impl Into<String>) -> Self
The name or ARN of the project that contains the launch.
sourcepub fn set_project(self, input: Option<String>) -> Self
pub fn set_project(self, input: Option<String>) -> Self
The name or ARN of the project that contains the launch.
sourcepub fn get_project(&self) -> &Option<String>
pub fn get_project(&self) -> &Option<String>
The name or ARN of the project that contains the launch.
sourcepub fn status(self, input: LaunchStatus) -> Self
pub fn status(self, input: LaunchStatus) -> Self
The current state of the launch.
This field is required.sourcepub fn set_status(self, input: Option<LaunchStatus>) -> Self
pub fn set_status(self, input: Option<LaunchStatus>) -> Self
The current state of the launch.
sourcepub fn get_status(&self) -> &Option<LaunchStatus>
pub fn get_status(&self) -> &Option<LaunchStatus>
The current state of the launch.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the launch.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the launch.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the launch.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The date and time that the launch is created.
This field is required.sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The date and time that the launch is created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The date and time that the launch is created.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The date and time that the launch was most recently updated.
This field is required.sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The date and time that the launch was most recently updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The date and time that the launch was most recently updated.
sourcepub fn execution(self, input: LaunchExecution) -> Self
pub fn execution(self, input: LaunchExecution) -> Self
A structure that contains information about the start and end times of the launch.
sourcepub fn set_execution(self, input: Option<LaunchExecution>) -> Self
pub fn set_execution(self, input: Option<LaunchExecution>) -> Self
A structure that contains information about the start and end times of the launch.
sourcepub fn get_execution(&self) -> &Option<LaunchExecution>
pub fn get_execution(&self) -> &Option<LaunchExecution>
A structure that contains information about the start and end times of the launch.
sourcepub fn groups(self, input: LaunchGroup) -> Self
pub fn groups(self, input: LaunchGroup) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
An array of structures that define the feature variations that are being used in the launch.
sourcepub fn set_groups(self, input: Option<Vec<LaunchGroup>>) -> Self
pub fn set_groups(self, input: Option<Vec<LaunchGroup>>) -> Self
An array of structures that define the feature variations that are being used in the launch.
sourcepub fn get_groups(&self) -> &Option<Vec<LaunchGroup>>
pub fn get_groups(&self) -> &Option<Vec<LaunchGroup>>
An array of structures that define the feature variations that are being used in the launch.
sourcepub fn metric_monitors(self, input: MetricMonitor) -> Self
pub fn metric_monitors(self, input: MetricMonitor) -> Self
Appends an item to metric_monitors
.
To override the contents of this collection use set_metric_monitors
.
An array of structures that define the metrics that are being used to monitor the launch performance.
sourcepub fn set_metric_monitors(self, input: Option<Vec<MetricMonitor>>) -> Self
pub fn set_metric_monitors(self, input: Option<Vec<MetricMonitor>>) -> Self
An array of structures that define the metrics that are being used to monitor the launch performance.
sourcepub fn get_metric_monitors(&self) -> &Option<Vec<MetricMonitor>>
pub fn get_metric_monitors(&self) -> &Option<Vec<MetricMonitor>>
An array of structures that define the metrics that are being used to monitor the launch performance.
sourcepub fn randomization_salt(self, input: impl Into<String>) -> Self
pub fn randomization_salt(self, input: impl Into<String>) -> Self
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
.
sourcepub fn set_randomization_salt(self, input: Option<String>) -> Self
pub fn set_randomization_salt(self, input: Option<String>) -> Self
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
.
sourcepub fn get_randomization_salt(&self) -> &Option<String>
pub fn get_randomization_salt(&self) -> &Option<String>
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
.
sourcepub fn type(self, input: LaunchType) -> Self
pub fn type(self, input: LaunchType) -> Self
The type of launch.
This field is required.sourcepub fn set_type(self, input: Option<LaunchType>) -> Self
pub fn set_type(self, input: Option<LaunchType>) -> Self
The type of launch.
sourcepub fn get_type(&self) -> &Option<LaunchType>
pub fn get_type(&self) -> &Option<LaunchType>
The type of launch.
sourcepub fn scheduled_splits_definition(
self,
input: ScheduledSplitsLaunchDefinition
) -> Self
pub fn scheduled_splits_definition( self, input: ScheduledSplitsLaunchDefinition ) -> Self
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
sourcepub fn set_scheduled_splits_definition(
self,
input: Option<ScheduledSplitsLaunchDefinition>
) -> Self
pub fn set_scheduled_splits_definition( self, input: Option<ScheduledSplitsLaunchDefinition> ) -> Self
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
sourcepub fn get_scheduled_splits_definition(
&self
) -> &Option<ScheduledSplitsLaunchDefinition>
pub fn get_scheduled_splits_definition( &self ) -> &Option<ScheduledSplitsLaunchDefinition>
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The list of tag keys and values associated with this launch.
The list of tag keys and values associated with this launch.
The list of tag keys and values associated with this launch.
Trait Implementations§
source§impl Clone for LaunchBuilder
impl Clone for LaunchBuilder
source§fn clone(&self) -> LaunchBuilder
fn clone(&self) -> LaunchBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LaunchBuilder
impl Debug for LaunchBuilder
source§impl Default for LaunchBuilder
impl Default for LaunchBuilder
source§fn default() -> LaunchBuilder
fn default() -> LaunchBuilder
source§impl PartialEq for LaunchBuilder
impl PartialEq for LaunchBuilder
source§fn eq(&self, other: &LaunchBuilder) -> bool
fn eq(&self, other: &LaunchBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchBuilder
Auto Trait Implementations§
impl Freeze for LaunchBuilder
impl RefUnwindSafe for LaunchBuilder
impl Send for LaunchBuilder
impl Sync for LaunchBuilder
impl Unpin for LaunchBuilder
impl UnwindSafe for LaunchBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more