Struct aws_sdk_iotthingsgraph::operation::search_entities::builders::SearchEntitiesInputBuilder
source · #[non_exhaustive]pub struct SearchEntitiesInputBuilder { /* private fields */ }Expand description
A builder for SearchEntitiesInput.
Implementations§
source§impl SearchEntitiesInputBuilder
impl SearchEntitiesInputBuilder
sourcepub fn entity_types(self, input: EntityType) -> Self
pub fn entity_types(self, input: EntityType) -> Self
Appends an item to entity_types.
To override the contents of this collection use set_entity_types.
The entity types for which to search.
sourcepub fn set_entity_types(self, input: Option<Vec<EntityType>>) -> Self
pub fn set_entity_types(self, input: Option<Vec<EntityType>>) -> Self
The entity types for which to search.
sourcepub fn get_entity_types(&self) -> &Option<Vec<EntityType>>
pub fn get_entity_types(&self) -> &Option<Vec<EntityType>>
The entity types for which to search.
sourcepub fn filters(self, input: EntityFilter) -> Self
pub fn filters(self, input: EntityFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
Optional filter to apply to the search. Valid filters are NAME NAMESPACE, SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. 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.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
sourcepub fn set_filters(self, input: Option<Vec<EntityFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<EntityFilter>>) -> Self
Optional filter to apply to the search. Valid filters are NAME NAMESPACE, SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. 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.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
sourcepub fn get_filters(&self) -> &Option<Vec<EntityFilter>>
pub fn get_filters(&self) -> &Option<Vec<EntityFilter>>
Optional filter to apply to the search. Valid filters are NAME NAMESPACE, SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. 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.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in the response.
sourcepub fn namespace_version(self, input: i64) -> Self
pub fn namespace_version(self, input: i64) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn set_namespace_version(self, input: Option<i64>) -> Self
pub fn set_namespace_version(self, input: Option<i64>) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn get_namespace_version(&self) -> &Option<i64>
pub fn get_namespace_version(&self) -> &Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn build(self) -> Result<SearchEntitiesInput, BuildError>
pub fn build(self) -> Result<SearchEntitiesInput, BuildError>
Consumes the builder and constructs a SearchEntitiesInput.
source§impl SearchEntitiesInputBuilder
impl SearchEntitiesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SearchEntitiesOutput, SdkError<SearchEntitiesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SearchEntitiesOutput, SdkError<SearchEntitiesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchEntitiesInputBuilder
impl Clone for SearchEntitiesInputBuilder
source§fn clone(&self) -> SearchEntitiesInputBuilder
fn clone(&self) -> SearchEntitiesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchEntitiesInputBuilder
impl Debug for SearchEntitiesInputBuilder
source§impl Default for SearchEntitiesInputBuilder
impl Default for SearchEntitiesInputBuilder
source§fn default() -> SearchEntitiesInputBuilder
fn default() -> SearchEntitiesInputBuilder
source§impl PartialEq for SearchEntitiesInputBuilder
impl PartialEq for SearchEntitiesInputBuilder
source§fn eq(&self, other: &SearchEntitiesInputBuilder) -> bool
fn eq(&self, other: &SearchEntitiesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.