Struct aws_sdk_frauddetector::operation::get_model_version::builders::GetModelVersionOutputBuilder
source · #[non_exhaustive]pub struct GetModelVersionOutputBuilder { /* private fields */ }
Expand description
A builder for GetModelVersionOutput
.
Implementations§
source§impl GetModelVersionOutputBuilder
impl GetModelVersionOutputBuilder
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 model_version_number(self, input: impl Into<String>) -> Self
pub fn model_version_number(self, input: impl Into<String>) -> Self
The model version number.
sourcepub fn set_model_version_number(self, input: Option<String>) -> Self
pub fn set_model_version_number(self, input: Option<String>) -> Self
The model version number.
sourcepub fn get_model_version_number(&self) -> &Option<String>
pub fn get_model_version_number(&self) -> &Option<String>
The model version number.
sourcepub fn training_data_source(self, input: TrainingDataSourceEnum) -> Self
pub fn training_data_source(self, input: TrainingDataSourceEnum) -> Self
The training data source.
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.
sourcepub fn get_training_data_source(&self) -> &Option<TrainingDataSourceEnum>
pub fn get_training_data_source(&self) -> &Option<TrainingDataSourceEnum>
The training data source.
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
The details of the external events data used for training the model version. This will be populated if the 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. This will be populated if the 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. This will be populated if the 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 events data used for training the model version. This will be populated if the 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 events data used for training the model version. This will be populated if the 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 events data used for training the model version. This will be populated if the trainingDataSource
is INGESTED_EVENTS
.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The model version status.
Possible values are:
-
TRAINING_IN_PROGRESS
-
TRAINING_COMPLETE
-
ACTIVATE_REQUESTED
-
ACTIVATE_IN_PROGRESS
-
ACTIVE
-
INACTIVATE_REQUESTED
-
INACTIVATE_IN_PROGRESS
-
INACTIVE
-
ERROR
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The model version status.
Possible values are:
-
TRAINING_IN_PROGRESS
-
TRAINING_COMPLETE
-
ACTIVATE_REQUESTED
-
ACTIVATE_IN_PROGRESS
-
ACTIVE
-
INACTIVATE_REQUESTED
-
INACTIVATE_IN_PROGRESS
-
INACTIVE
-
ERROR
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The model version status.
Possible values are:
-
TRAINING_IN_PROGRESS
-
TRAINING_COMPLETE
-
ACTIVATE_REQUESTED
-
ACTIVATE_IN_PROGRESS
-
ACTIVE
-
INACTIVATE_REQUESTED
-
INACTIVATE_IN_PROGRESS
-
INACTIVE
-
ERROR
sourcepub fn build(self) -> GetModelVersionOutput
pub fn build(self) -> GetModelVersionOutput
Consumes the builder and constructs a GetModelVersionOutput
.
Trait Implementations§
source§impl Clone for GetModelVersionOutputBuilder
impl Clone for GetModelVersionOutputBuilder
source§fn clone(&self) -> GetModelVersionOutputBuilder
fn clone(&self) -> GetModelVersionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetModelVersionOutputBuilder
impl Debug for GetModelVersionOutputBuilder
source§impl Default for GetModelVersionOutputBuilder
impl Default for GetModelVersionOutputBuilder
source§fn default() -> GetModelVersionOutputBuilder
fn default() -> GetModelVersionOutputBuilder
source§impl PartialEq for GetModelVersionOutputBuilder
impl PartialEq for GetModelVersionOutputBuilder
source§fn eq(&self, other: &GetModelVersionOutputBuilder) -> bool
fn eq(&self, other: &GetModelVersionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.