Struct aws_sdk_connect::types::builders::ContactFilterBuilder
source · #[non_exhaustive]pub struct ContactFilterBuilder { /* private fields */ }
Expand description
A builder for ContactFilter
.
Implementations§
source§impl ContactFilterBuilder
impl ContactFilterBuilder
sourcepub fn contact_states(self, input: ContactState) -> Self
pub fn contact_states(self, input: ContactState) -> Self
Appends an item to contact_states
.
To override the contents of this collection use set_contact_states
.
A list of up to 9 contact states.
sourcepub fn set_contact_states(self, input: Option<Vec<ContactState>>) -> Self
pub fn set_contact_states(self, input: Option<Vec<ContactState>>) -> Self
A list of up to 9 contact states.
sourcepub fn get_contact_states(&self) -> &Option<Vec<ContactState>>
pub fn get_contact_states(&self) -> &Option<Vec<ContactState>>
A list of up to 9 contact states.
sourcepub fn build(self) -> ContactFilter
pub fn build(self) -> ContactFilter
Consumes the builder and constructs a ContactFilter
.
Trait Implementations§
source§impl Clone for ContactFilterBuilder
impl Clone for ContactFilterBuilder
source§fn clone(&self) -> ContactFilterBuilder
fn clone(&self) -> ContactFilterBuilder
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 ContactFilterBuilder
impl Debug for ContactFilterBuilder
source§impl Default for ContactFilterBuilder
impl Default for ContactFilterBuilder
source§fn default() -> ContactFilterBuilder
fn default() -> ContactFilterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContactFilterBuilder
impl PartialEq for ContactFilterBuilder
source§fn eq(&self, other: &ContactFilterBuilder) -> bool
fn eq(&self, other: &ContactFilterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactFilterBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContactFilterBuilder
impl Send for ContactFilterBuilder
impl Sync for ContactFilterBuilder
impl Unpin for ContactFilterBuilder
impl UnwindSafe for ContactFilterBuilder
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.