Struct aws_sdk_evidently::types::builders::LaunchGroupConfigBuilder
source · #[non_exhaustive]pub struct LaunchGroupConfigBuilder { /* private fields */ }
Expand description
A builder for LaunchGroupConfig
.
Implementations§
source§impl LaunchGroupConfigBuilder
impl LaunchGroupConfigBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name for this launch group.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the launch group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the launch group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the launch group.
sourcepub fn feature(self, input: impl Into<String>) -> Self
pub fn feature(self, input: impl Into<String>) -> Self
The feature that this launch is using.
This field is required.sourcepub fn set_feature(self, input: Option<String>) -> Self
pub fn set_feature(self, input: Option<String>) -> Self
The feature that this launch is using.
sourcepub fn get_feature(&self) -> &Option<String>
pub fn get_feature(&self) -> &Option<String>
The feature that this launch is using.
sourcepub fn variation(self, input: impl Into<String>) -> Self
pub fn variation(self, input: impl Into<String>) -> Self
The feature variation to use for this launch group.
This field is required.sourcepub fn set_variation(self, input: Option<String>) -> Self
pub fn set_variation(self, input: Option<String>) -> Self
The feature variation to use for this launch group.
sourcepub fn get_variation(&self) -> &Option<String>
pub fn get_variation(&self) -> &Option<String>
The feature variation to use for this launch group.
sourcepub fn build(self) -> Result<LaunchGroupConfig, BuildError>
pub fn build(self) -> Result<LaunchGroupConfig, BuildError>
Consumes the builder and constructs a LaunchGroupConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LaunchGroupConfigBuilder
impl Clone for LaunchGroupConfigBuilder
source§fn clone(&self) -> LaunchGroupConfigBuilder
fn clone(&self) -> LaunchGroupConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LaunchGroupConfigBuilder
impl Debug for LaunchGroupConfigBuilder
source§impl Default for LaunchGroupConfigBuilder
impl Default for LaunchGroupConfigBuilder
source§fn default() -> LaunchGroupConfigBuilder
fn default() -> LaunchGroupConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LaunchGroupConfigBuilder
impl PartialEq for LaunchGroupConfigBuilder
source§fn eq(&self, other: &LaunchGroupConfigBuilder) -> bool
fn eq(&self, other: &LaunchGroupConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchGroupConfigBuilder
Auto Trait Implementations§
impl Freeze for LaunchGroupConfigBuilder
impl RefUnwindSafe for LaunchGroupConfigBuilder
impl Send for LaunchGroupConfigBuilder
impl Sync for LaunchGroupConfigBuilder
impl Unpin for LaunchGroupConfigBuilder
impl UnwindSafe for LaunchGroupConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.