Struct aws_sdk_frauddetector::operation::create_model_version::builders::CreateModelVersionFluentBuilder
source · pub struct CreateModelVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateModelVersion
.
Creates a version of the model using the specified model type and model id.
Implementations§
source§impl CreateModelVersionFluentBuilder
impl CreateModelVersionFluentBuilder
sourcepub fn as_input(&self) -> &CreateModelVersionInputBuilder
pub fn as_input(&self) -> &CreateModelVersionInputBuilder
Access the CreateModelVersion as a reference.
sourcepub async fn send(
self
) -> Result<CreateModelVersionOutput, SdkError<CreateModelVersionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateModelVersionOutput, SdkError<CreateModelVersionError, 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<CreateModelVersionOutput, CreateModelVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateModelVersionOutput, CreateModelVersionError, 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 training_data_source(self, input: TrainingDataSourceEnum) -> Self
pub fn training_data_source(self, input: TrainingDataSourceEnum) -> Self
The training data source location in Amazon S3.
sourcepub fn set_training_data_source(
self,
input: Option<TrainingDataSourceEnum>
) -> Self
pub fn set_training_data_source( self, input: Option<TrainingDataSourceEnum> ) -> Self
The training data source location in Amazon S3.
sourcepub fn get_training_data_source(&self) -> &Option<TrainingDataSourceEnum>
pub fn get_training_data_source(&self) -> &Option<TrainingDataSourceEnum>
The training data source location in Amazon S3.
sourcepub fn training_data_schema(self, input: TrainingDataSchema) -> Self
pub fn training_data_schema(self, input: TrainingDataSchema) -> Self
The training data schema.
sourcepub fn set_training_data_schema(self, input: Option<TrainingDataSchema>) -> Self
pub fn set_training_data_schema(self, input: Option<TrainingDataSchema>) -> Self
The training data schema.
sourcepub fn get_training_data_schema(&self) -> &Option<TrainingDataSchema>
pub fn get_training_data_schema(&self) -> &Option<TrainingDataSchema>
The training data schema.
sourcepub fn external_events_detail(self, input: ExternalEventsDetail) -> Self
pub fn external_events_detail(self, input: ExternalEventsDetail) -> Self
Details of the external events data used for model version training. 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
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
pub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
pub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
Details of the ingested events data used for model version training. Required if 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
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
sourcepub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
pub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
Details of the ingested events data used for model version training. Required if 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 CreateModelVersionFluentBuilder
impl Clone for CreateModelVersionFluentBuilder
source§fn clone(&self) -> CreateModelVersionFluentBuilder
fn clone(&self) -> CreateModelVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more