Struct aws_sdk_sagemaker::model::inference_recommendation::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InferenceRecommendation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metrics(self, input: RecommendationMetrics) -> Self
pub fn metrics(self, input: RecommendationMetrics) -> Self
The metrics used to decide what recommendation to make.
sourcepub fn set_metrics(self, input: Option<RecommendationMetrics>) -> Self
pub fn set_metrics(self, input: Option<RecommendationMetrics>) -> Self
The metrics used to decide what recommendation to make.
sourcepub fn endpoint_configuration(self, input: EndpointOutputConfiguration) -> Self
pub fn endpoint_configuration(self, input: EndpointOutputConfiguration) -> Self
Defines the endpoint configuration parameters.
sourcepub fn set_endpoint_configuration(
self,
input: Option<EndpointOutputConfiguration>
) -> Self
pub fn set_endpoint_configuration(
self,
input: Option<EndpointOutputConfiguration>
) -> Self
Defines the endpoint configuration parameters.
sourcepub fn model_configuration(self, input: ModelConfiguration) -> Self
pub fn model_configuration(self, input: ModelConfiguration) -> Self
Defines the model configuration.
sourcepub fn set_model_configuration(self, input: Option<ModelConfiguration>) -> Self
pub fn set_model_configuration(self, input: Option<ModelConfiguration>) -> Self
Defines the model configuration.
sourcepub fn build(self) -> InferenceRecommendation
pub fn build(self) -> InferenceRecommendation
Consumes the builder and constructs a InferenceRecommendation
.