Struct aws_sdk_frauddetector::operation::create_model_version::builders::CreateModelVersionInputBuilder
source · #[non_exhaustive]pub struct CreateModelVersionInputBuilder { /* private fields */ }
Expand description
A builder for CreateModelVersionInput
.
Implementations§
source§impl CreateModelVersionInputBuilder
impl CreateModelVersionInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateModelVersionInput, BuildError>
pub fn build(self) -> Result<CreateModelVersionInput, BuildError>
Consumes the builder and constructs a CreateModelVersionInput
.
source§impl CreateModelVersionInputBuilder
impl CreateModelVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateModelVersionOutput, SdkError<CreateModelVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateModelVersionOutput, SdkError<CreateModelVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateModelVersionInputBuilder
impl Clone for CreateModelVersionInputBuilder
source§fn clone(&self) -> CreateModelVersionInputBuilder
fn clone(&self) -> CreateModelVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateModelVersionInputBuilder
impl Default for CreateModelVersionInputBuilder
source§fn default() -> CreateModelVersionInputBuilder
fn default() -> CreateModelVersionInputBuilder
source§impl PartialEq for CreateModelVersionInputBuilder
impl PartialEq for CreateModelVersionInputBuilder
source§fn eq(&self, other: &CreateModelVersionInputBuilder) -> bool
fn eq(&self, other: &CreateModelVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.