Struct aws_sdk_personalize::operation::stop_recommender::builders::StopRecommenderFluentBuilder
source · pub struct StopRecommenderFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopRecommender
.
Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.
Implementations§
source§impl StopRecommenderFluentBuilder
impl StopRecommenderFluentBuilder
sourcepub fn as_input(&self) -> &StopRecommenderInputBuilder
pub fn as_input(&self) -> &StopRecommenderInputBuilder
Access the StopRecommender as a reference.
sourcepub async fn send(
self
) -> Result<StopRecommenderOutput, SdkError<StopRecommenderError, HttpResponse>>
pub async fn send( self ) -> Result<StopRecommenderOutput, SdkError<StopRecommenderError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StopRecommenderOutput, StopRecommenderError, Self>
pub fn customize( self ) -> CustomizableOperation<StopRecommenderOutput, StopRecommenderError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 stop.
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 stop.
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 stop.
Trait Implementations§
source§impl Clone for StopRecommenderFluentBuilder
impl Clone for StopRecommenderFluentBuilder
source§fn clone(&self) -> StopRecommenderFluentBuilder
fn clone(&self) -> StopRecommenderFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more