#[non_exhaustive]pub struct ScheduledSplitsLaunchConfigBuilder { /* private fields */ }Expand description
A builder for ScheduledSplitsLaunchConfig.
Implementations§
source§impl ScheduledSplitsLaunchConfigBuilder
impl ScheduledSplitsLaunchConfigBuilder
sourcepub fn steps(self, input: ScheduledSplitConfig) -> Self
pub fn steps(self, input: ScheduledSplitConfig) -> Self
Appends an item to steps.
To override the contents of this collection use set_steps.
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
sourcepub fn set_steps(self, input: Option<Vec<ScheduledSplitConfig>>) -> Self
pub fn set_steps(self, input: Option<Vec<ScheduledSplitConfig>>) -> Self
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
sourcepub fn get_steps(&self) -> &Option<Vec<ScheduledSplitConfig>>
pub fn get_steps(&self) -> &Option<Vec<ScheduledSplitConfig>>
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
sourcepub fn build(self) -> Result<ScheduledSplitsLaunchConfig, BuildError>
pub fn build(self) -> Result<ScheduledSplitsLaunchConfig, BuildError>
Consumes the builder and constructs a ScheduledSplitsLaunchConfig.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ScheduledSplitsLaunchConfigBuilder
impl Clone for ScheduledSplitsLaunchConfigBuilder
source§fn clone(&self) -> ScheduledSplitsLaunchConfigBuilder
fn clone(&self) -> ScheduledSplitsLaunchConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ScheduledSplitsLaunchConfigBuilder
impl Default for ScheduledSplitsLaunchConfigBuilder
source§fn default() -> ScheduledSplitsLaunchConfigBuilder
fn default() -> ScheduledSplitsLaunchConfigBuilder
source§impl PartialEq for ScheduledSplitsLaunchConfigBuilder
impl PartialEq for ScheduledSplitsLaunchConfigBuilder
source§fn eq(&self, other: &ScheduledSplitsLaunchConfigBuilder) -> bool
fn eq(&self, other: &ScheduledSplitsLaunchConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.