Struct aws_sdk_evidently::types::builders::LaunchGroupBuilder
source · #[non_exhaustive]pub struct LaunchGroupBuilder { /* private fields */ }Expand description
A builder for LaunchGroup.
Implementations§
source§impl LaunchGroupBuilder
impl LaunchGroupBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the 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_variations(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn feature_variations( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to feature_variations.
To override the contents of this collection use set_feature_variations.
The feature variation for this launch group. This is a key-value pair.
sourcepub fn set_feature_variations(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_feature_variations( self, input: Option<HashMap<String, String>> ) -> Self
The feature variation for this launch group. This is a key-value pair.
sourcepub fn get_feature_variations(&self) -> &Option<HashMap<String, String>>
pub fn get_feature_variations(&self) -> &Option<HashMap<String, String>>
The feature variation for this launch group. This is a key-value pair.
sourcepub fn build(self) -> Result<LaunchGroup, BuildError>
pub fn build(self) -> Result<LaunchGroup, BuildError>
Consumes the builder and constructs a LaunchGroup.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LaunchGroupBuilder
impl Clone for LaunchGroupBuilder
source§fn clone(&self) -> LaunchGroupBuilder
fn clone(&self) -> LaunchGroupBuilder
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 LaunchGroupBuilder
impl Debug for LaunchGroupBuilder
source§impl Default for LaunchGroupBuilder
impl Default for LaunchGroupBuilder
source§fn default() -> LaunchGroupBuilder
fn default() -> LaunchGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LaunchGroupBuilder
impl PartialEq for LaunchGroupBuilder
source§fn eq(&self, other: &LaunchGroupBuilder) -> bool
fn eq(&self, other: &LaunchGroupBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LaunchGroupBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LaunchGroupBuilder
impl Send for LaunchGroupBuilder
impl Sync for LaunchGroupBuilder
impl Unpin for LaunchGroupBuilder
impl UnwindSafe for LaunchGroupBuilder
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>
Creates a shared type from an unshared type.