Struct aws_sdk_comprehend::operation::stop_training_entity_recognizer::builders::StopTrainingEntityRecognizerFluentBuilder
source · pub struct StopTrainingEntityRecognizerFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StopTrainingEntityRecognizer.
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.
Implementations§
source§impl StopTrainingEntityRecognizerFluentBuilder
impl StopTrainingEntityRecognizerFluentBuilder
sourcepub fn as_input(&self) -> &StopTrainingEntityRecognizerInputBuilder
pub fn as_input(&self) -> &StopTrainingEntityRecognizerInputBuilder
Access the StopTrainingEntityRecognizer as a reference.
sourcepub async fn send(
self
) -> Result<StopTrainingEntityRecognizerOutput, SdkError<StopTrainingEntityRecognizerError, HttpResponse>>
pub async fn send( self ) -> Result<StopTrainingEntityRecognizerOutput, SdkError<StopTrainingEntityRecognizerError, 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<StopTrainingEntityRecognizerOutput, StopTrainingEntityRecognizerError, Self>
pub fn customize( self ) -> CustomizableOperation<StopTrainingEntityRecognizerOutput, StopTrainingEntityRecognizerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn entity_recognizer_arn(self, input: impl Into<String>) -> Self
pub fn entity_recognizer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
sourcepub fn set_entity_recognizer_arn(self, input: Option<String>) -> Self
pub fn set_entity_recognizer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
sourcepub fn get_entity_recognizer_arn(&self) -> &Option<String>
pub fn get_entity_recognizer_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
Trait Implementations§
source§impl Clone for StopTrainingEntityRecognizerFluentBuilder
impl Clone for StopTrainingEntityRecognizerFluentBuilder
source§fn clone(&self) -> StopTrainingEntityRecognizerFluentBuilder
fn clone(&self) -> StopTrainingEntityRecognizerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more