Struct aws_sdk_sagemaker::operation::get_search_suggestions::builders::GetSearchSuggestionsInputBuilder
source · #[non_exhaustive]pub struct GetSearchSuggestionsInputBuilder { /* private fields */ }
Expand description
A builder for GetSearchSuggestionsInput
.
Implementations§
source§impl GetSearchSuggestionsInputBuilder
impl GetSearchSuggestionsInputBuilder
sourcepub fn resource(self, input: ResourceType) -> Self
pub fn resource(self, input: ResourceType) -> Self
The name of the SageMaker resource to search for.
This field is required.sourcepub fn set_resource(self, input: Option<ResourceType>) -> Self
pub fn set_resource(self, input: Option<ResourceType>) -> Self
The name of the SageMaker resource to search for.
sourcepub fn get_resource(&self) -> &Option<ResourceType>
pub fn get_resource(&self) -> &Option<ResourceType>
The name of the SageMaker resource to search for.
sourcepub fn suggestion_query(self, input: SuggestionQuery) -> Self
pub fn suggestion_query(self, input: SuggestionQuery) -> Self
Limits the property names that are included in the response.
sourcepub fn set_suggestion_query(self, input: Option<SuggestionQuery>) -> Self
pub fn set_suggestion_query(self, input: Option<SuggestionQuery>) -> Self
Limits the property names that are included in the response.
sourcepub fn get_suggestion_query(&self) -> &Option<SuggestionQuery>
pub fn get_suggestion_query(&self) -> &Option<SuggestionQuery>
Limits the property names that are included in the response.
sourcepub fn build(self) -> Result<GetSearchSuggestionsInput, BuildError>
pub fn build(self) -> Result<GetSearchSuggestionsInput, BuildError>
Consumes the builder and constructs a GetSearchSuggestionsInput
.
source§impl GetSearchSuggestionsInputBuilder
impl GetSearchSuggestionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSearchSuggestionsOutput, SdkError<GetSearchSuggestionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSearchSuggestionsOutput, SdkError<GetSearchSuggestionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSearchSuggestionsInputBuilder
impl Clone for GetSearchSuggestionsInputBuilder
source§fn clone(&self) -> GetSearchSuggestionsInputBuilder
fn clone(&self) -> GetSearchSuggestionsInputBuilder
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 Default for GetSearchSuggestionsInputBuilder
impl Default for GetSearchSuggestionsInputBuilder
source§fn default() -> GetSearchSuggestionsInputBuilder
fn default() -> GetSearchSuggestionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSearchSuggestionsInputBuilder
impl PartialEq for GetSearchSuggestionsInputBuilder
source§fn eq(&self, other: &GetSearchSuggestionsInputBuilder) -> bool
fn eq(&self, other: &GetSearchSuggestionsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSearchSuggestionsInputBuilder
Auto Trait Implementations§
impl Freeze for GetSearchSuggestionsInputBuilder
impl RefUnwindSafe for GetSearchSuggestionsInputBuilder
impl Send for GetSearchSuggestionsInputBuilder
impl Sync for GetSearchSuggestionsInputBuilder
impl Unpin for GetSearchSuggestionsInputBuilder
impl UnwindSafe for GetSearchSuggestionsInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.