#[non_exhaustive]pub struct ModelVersionDetailBuilder { /* private fields */ }
Expand description
A builder for ModelVersionDetail
.
Implementations§
source§impl ModelVersionDetailBuilder
impl ModelVersionDetailBuilder
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 set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the model version.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the model version.
sourcepub fn training_data_source(self, input: TrainingDataSourceEnum) -> Self
pub fn training_data_source(self, input: TrainingDataSourceEnum) -> Self
The model version 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 model version training data source.
sourcepub fn get_training_data_source(&self) -> &Option<TrainingDataSourceEnum>
pub fn get_training_data_source(&self) -> &Option<TrainingDataSourceEnum>
The model version 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 external events data details. This will be populated if the trainingDataSource
for the model version is specified as 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 external events data details. This will be populated if the trainingDataSource
for the model version is specified as EXTERNAL_EVENTS
.
sourcepub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
pub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
The external events data details. This will be populated if the trainingDataSource
for the model version is specified as EXTERNAL_EVENTS
.
sourcepub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
pub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
The ingested events data details. This will be populated if the trainingDataSource
for the model version is specified as 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 ingested events data details. This will be populated if the trainingDataSource
for the model version is specified as INGESTED_EVENTS
.
sourcepub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
pub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
The ingested events data details. This will be populated if the trainingDataSource
for the model version is specified as INGESTED_EVENTS
.
sourcepub fn training_result(self, input: TrainingResult) -> Self
pub fn training_result(self, input: TrainingResult) -> Self
The training results.
sourcepub fn set_training_result(self, input: Option<TrainingResult>) -> Self
pub fn set_training_result(self, input: Option<TrainingResult>) -> Self
The training results.
sourcepub fn get_training_result(&self) -> &Option<TrainingResult>
pub fn get_training_result(&self) -> &Option<TrainingResult>
The training results.
sourcepub fn last_updated_time(self, input: impl Into<String>) -> Self
pub fn last_updated_time(self, input: impl Into<String>) -> Self
The timestamp when the model was last updated.
sourcepub fn set_last_updated_time(self, input: Option<String>) -> Self
pub fn set_last_updated_time(self, input: Option<String>) -> Self
The timestamp when the model was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<String>
pub fn get_last_updated_time(&self) -> &Option<String>
The timestamp when the model was last updated.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
The timestamp when the model was created.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
The timestamp when the model was created.
sourcepub fn get_created_time(&self) -> &Option<String>
pub fn get_created_time(&self) -> &Option<String>
The timestamp when the model was created.
sourcepub fn training_result_v2(self, input: TrainingResultV2) -> Self
pub fn training_result_v2(self, input: TrainingResultV2) -> Self
The training result details. The details include the relative importance of the variables.
sourcepub fn set_training_result_v2(self, input: Option<TrainingResultV2>) -> Self
pub fn set_training_result_v2(self, input: Option<TrainingResultV2>) -> Self
The training result details. The details include the relative importance of the variables.
sourcepub fn get_training_result_v2(&self) -> &Option<TrainingResultV2>
pub fn get_training_result_v2(&self) -> &Option<TrainingResultV2>
The training result details. The details include the relative importance of the variables.
sourcepub fn build(self) -> ModelVersionDetail
pub fn build(self) -> ModelVersionDetail
Consumes the builder and constructs a ModelVersionDetail
.
Trait Implementations§
source§impl Clone for ModelVersionDetailBuilder
impl Clone for ModelVersionDetailBuilder
source§fn clone(&self) -> ModelVersionDetailBuilder
fn clone(&self) -> ModelVersionDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelVersionDetailBuilder
impl Debug for ModelVersionDetailBuilder
source§impl Default for ModelVersionDetailBuilder
impl Default for ModelVersionDetailBuilder
source§fn default() -> ModelVersionDetailBuilder
fn default() -> ModelVersionDetailBuilder
source§impl PartialEq for ModelVersionDetailBuilder
impl PartialEq for ModelVersionDetailBuilder
source§fn eq(&self, other: &ModelVersionDetailBuilder) -> bool
fn eq(&self, other: &ModelVersionDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.