pub struct Builder { /* private fields */ }
Expand description
A builder for CreateEvaluationInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn evaluation_id(self, input: impl Into<String>) -> Self
pub fn evaluation_id(self, input: impl Into<String>) -> Self
A user-supplied ID that uniquely identifies the Evaluation
.
sourcepub fn set_evaluation_id(self, input: Option<String>) -> Self
pub fn set_evaluation_id(self, input: Option<String>) -> Self
A user-supplied ID that uniquely identifies the Evaluation
.
sourcepub fn evaluation_name(self, input: impl Into<String>) -> Self
pub fn evaluation_name(self, input: impl Into<String>) -> Self
A user-supplied name or description of the Evaluation
.
sourcepub fn set_evaluation_name(self, input: Option<String>) -> Self
pub fn set_evaluation_name(self, input: Option<String>) -> Self
A user-supplied name or description of the Evaluation
.
sourcepub fn ml_model_id(self, input: impl Into<String>) -> Self
pub fn ml_model_id(self, input: impl Into<String>) -> Self
The ID of the MLModel
to evaluate.
The schema used in creating the MLModel
must match the schema of the DataSource
used in the Evaluation
.
sourcepub fn set_ml_model_id(self, input: Option<String>) -> Self
pub fn set_ml_model_id(self, input: Option<String>) -> Self
The ID of the MLModel
to evaluate.
The schema used in creating the MLModel
must match the schema of the DataSource
used in the Evaluation
.
sourcepub fn evaluation_data_source_id(self, input: impl Into<String>) -> Self
pub fn evaluation_data_source_id(self, input: impl Into<String>) -> Self
The ID of the DataSource
for the evaluation. The schema of the DataSource
must match the schema used to create the MLModel
.
sourcepub fn set_evaluation_data_source_id(self, input: Option<String>) -> Self
pub fn set_evaluation_data_source_id(self, input: Option<String>) -> Self
The ID of the DataSource
for the evaluation. The schema of the DataSource
must match the schema used to create the MLModel
.
sourcepub fn build(self) -> Result<CreateEvaluationInput, BuildError>
pub fn build(self) -> Result<CreateEvaluationInput, BuildError>
Consumes the builder and constructs a CreateEvaluationInput
.