Struct aws_sdk_pinpoint::types::builders::SegmentGroupListBuilder
source · #[non_exhaustive]pub struct SegmentGroupListBuilder { /* private fields */ }
Expand description
A builder for SegmentGroupList
.
Implementations§
source§impl SegmentGroupListBuilder
impl SegmentGroupListBuilder
sourcepub fn groups(self, input: SegmentGroup) -> Self
pub fn groups(self, input: SegmentGroup) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
sourcepub fn set_groups(self, input: Option<Vec<SegmentGroup>>) -> Self
pub fn set_groups(self, input: Option<Vec<SegmentGroup>>) -> Self
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
sourcepub fn get_groups(&self) -> &Option<Vec<SegmentGroup>>
pub fn get_groups(&self) -> &Option<Vec<SegmentGroup>>
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
sourcepub fn include(self, input: Include) -> Self
pub fn include(self, input: Include) -> Self
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
sourcepub fn set_include(self, input: Option<Include>) -> Self
pub fn set_include(self, input: Option<Include>) -> Self
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
sourcepub fn get_include(&self) -> &Option<Include>
pub fn get_include(&self) -> &Option<Include>
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
sourcepub fn build(self) -> SegmentGroupList
pub fn build(self) -> SegmentGroupList
Consumes the builder and constructs a SegmentGroupList
.
Trait Implementations§
source§impl Clone for SegmentGroupListBuilder
impl Clone for SegmentGroupListBuilder
source§fn clone(&self) -> SegmentGroupListBuilder
fn clone(&self) -> SegmentGroupListBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SegmentGroupListBuilder
impl Debug for SegmentGroupListBuilder
source§impl Default for SegmentGroupListBuilder
impl Default for SegmentGroupListBuilder
source§fn default() -> SegmentGroupListBuilder
fn default() -> SegmentGroupListBuilder
source§impl PartialEq for SegmentGroupListBuilder
impl PartialEq for SegmentGroupListBuilder
source§fn eq(&self, other: &SegmentGroupListBuilder) -> bool
fn eq(&self, other: &SegmentGroupListBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SegmentGroupListBuilder
Auto Trait Implementations§
impl Freeze for SegmentGroupListBuilder
impl RefUnwindSafe for SegmentGroupListBuilder
impl Send for SegmentGroupListBuilder
impl Sync for SegmentGroupListBuilder
impl Unpin for SegmentGroupListBuilder
impl UnwindSafe for SegmentGroupListBuilder
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