Struct aws_sdk_frauddetector::operation::update_model_version::builders::UpdateModelVersionFluentBuilder
source · pub struct UpdateModelVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateModelVersion
.
Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.
Implementations§
source§impl UpdateModelVersionFluentBuilder
impl UpdateModelVersionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateModelVersionInputBuilder
pub fn as_input(&self) -> &UpdateModelVersionInputBuilder
Access the UpdateModelVersion as a reference.
sourcepub async fn send(
self
) -> Result<UpdateModelVersionOutput, SdkError<UpdateModelVersionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateModelVersionOutput, SdkError<UpdateModelVersionError, 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<UpdateModelVersionOutput, UpdateModelVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateModelVersionOutput, UpdateModelVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_model_id(self, input: Option<String>) -> Self
pub fn set_model_id(self, input: Option<String>) -> Self
The model ID.
sourcepub fn get_model_id(&self) -> &Option<String>
pub fn get_model_id(&self) -> &Option<String>
The model ID.
sourcepub fn model_type(self, input: ModelTypeEnum) -> Self
pub fn model_type(self, input: ModelTypeEnum) -> Self
The model type.
sourcepub fn set_model_type(self, input: Option<ModelTypeEnum>) -> Self
pub fn set_model_type(self, input: Option<ModelTypeEnum>) -> Self
The model type.
sourcepub fn get_model_type(&self) -> &Option<ModelTypeEnum>
pub fn get_model_type(&self) -> &Option<ModelTypeEnum>
The model type.
sourcepub fn major_version_number(self, input: impl Into<String>) -> Self
pub fn major_version_number(self, input: impl Into<String>) -> Self
The major version number.
sourcepub fn set_major_version_number(self, input: Option<String>) -> Self
pub fn set_major_version_number(self, input: Option<String>) -> Self
The major version number.
sourcepub fn get_major_version_number(&self) -> &Option<String>
pub fn get_major_version_number(&self) -> &Option<String>
The major version number.
sourcepub fn external_events_detail(self, input: ExternalEventsDetail) -> Self
pub fn external_events_detail(self, input: ExternalEventsDetail) -> Self
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn set_external_events_detail(
self,
input: Option<ExternalEventsDetail>
) -> Self
pub fn set_external_events_detail( self, input: Option<ExternalEventsDetail> ) -> Self
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
pub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
pub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
sourcepub fn set_ingested_events_detail(
self,
input: Option<IngestedEventsDetail>
) -> Self
pub fn set_ingested_events_detail( self, input: Option<IngestedEventsDetail> ) -> Self
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
sourcepub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
pub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
Trait Implementations§
source§impl Clone for UpdateModelVersionFluentBuilder
impl Clone for UpdateModelVersionFluentBuilder
source§fn clone(&self) -> UpdateModelVersionFluentBuilder
fn clone(&self) -> UpdateModelVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more