Struct aws_sdk_iotthingsgraph::types::builders::EntityFilterBuilder
source · #[non_exhaustive]pub struct EntityFilterBuilder { /* private fields */ }
Expand description
A builder for EntityFilter
.
Implementations§
source§impl EntityFilterBuilder
impl EntityFilterBuilder
sourcepub fn name(self, input: EntityFilterName) -> Self
pub fn name(self, input: EntityFilterName) -> Self
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
sourcepub fn set_name(self, input: Option<EntityFilterName>) -> Self
pub fn set_name(self, input: Option<EntityFilterName>) -> Self
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
sourcepub fn get_name(&self) -> &Option<EntityFilterName>
pub fn get_name(&self) -> &Option<EntityFilterName>
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Appends an item to value
.
To override the contents of this collection use set_value
.
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
sourcepub fn set_value(self, input: Option<Vec<String>>) -> Self
pub fn set_value(self, input: Option<Vec<String>>) -> Self
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
sourcepub fn get_value(&self) -> &Option<Vec<String>>
pub fn get_value(&self) -> &Option<Vec<String>>
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
sourcepub fn build(self) -> EntityFilter
pub fn build(self) -> EntityFilter
Consumes the builder and constructs a EntityFilter
.
Trait Implementations§
source§impl Clone for EntityFilterBuilder
impl Clone for EntityFilterBuilder
source§fn clone(&self) -> EntityFilterBuilder
fn clone(&self) -> EntityFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntityFilterBuilder
impl Debug for EntityFilterBuilder
source§impl Default for EntityFilterBuilder
impl Default for EntityFilterBuilder
source§fn default() -> EntityFilterBuilder
fn default() -> EntityFilterBuilder
source§impl PartialEq for EntityFilterBuilder
impl PartialEq for EntityFilterBuilder
source§fn eq(&self, other: &EntityFilterBuilder) -> bool
fn eq(&self, other: &EntityFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntityFilterBuilder
Auto Trait Implementations§
impl Freeze for EntityFilterBuilder
impl RefUnwindSafe for EntityFilterBuilder
impl Send for EntityFilterBuilder
impl Sync for EntityFilterBuilder
impl Unpin for EntityFilterBuilder
impl UnwindSafe for EntityFilterBuilder
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