Struct aws_sdk_personalize::operation::update_recommender::builders::UpdateRecommenderInputBuilder
source · #[non_exhaustive]pub struct UpdateRecommenderInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRecommenderInput
.
Implementations§
source§impl UpdateRecommenderInputBuilder
impl UpdateRecommenderInputBuilder
sourcepub fn recommender_arn(self, input: impl Into<String>) -> Self
pub fn recommender_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the recommender to modify.
This field is required.sourcepub fn set_recommender_arn(self, input: Option<String>) -> Self
pub fn set_recommender_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the recommender to modify.
sourcepub fn get_recommender_arn(&self) -> &Option<String>
pub fn get_recommender_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the recommender to modify.
sourcepub fn recommender_config(self, input: RecommenderConfig) -> Self
pub fn recommender_config(self, input: RecommenderConfig) -> Self
The configuration details of the recommender.
This field is required.sourcepub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
pub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
The configuration details of the recommender.
sourcepub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
pub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
The configuration details of the recommender.
sourcepub fn build(self) -> Result<UpdateRecommenderInput, BuildError>
pub fn build(self) -> Result<UpdateRecommenderInput, BuildError>
Consumes the builder and constructs a UpdateRecommenderInput
.
source§impl UpdateRecommenderInputBuilder
impl UpdateRecommenderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRecommenderOutput, SdkError<UpdateRecommenderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRecommenderOutput, SdkError<UpdateRecommenderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRecommenderInputBuilder
impl Clone for UpdateRecommenderInputBuilder
source§fn clone(&self) -> UpdateRecommenderInputBuilder
fn clone(&self) -> UpdateRecommenderInputBuilder
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 UpdateRecommenderInputBuilder
impl Default for UpdateRecommenderInputBuilder
source§fn default() -> UpdateRecommenderInputBuilder
fn default() -> UpdateRecommenderInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRecommenderInputBuilder
impl PartialEq for UpdateRecommenderInputBuilder
source§fn eq(&self, other: &UpdateRecommenderInputBuilder) -> bool
fn eq(&self, other: &UpdateRecommenderInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRecommenderInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRecommenderInputBuilder
impl Send for UpdateRecommenderInputBuilder
impl Sync for UpdateRecommenderInputBuilder
impl Unpin for UpdateRecommenderInputBuilder
impl UnwindSafe for UpdateRecommenderInputBuilder
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.