pub struct Builder { /* private fields */ }
Expand description
A builder for ModelQualityAppSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn image_uri(self, input: impl Into<String>) -> Self
pub fn image_uri(self, input: impl Into<String>) -> Self
The address of the container image that the monitoring job runs.
sourcepub fn set_image_uri(self, input: Option<String>) -> Self
pub fn set_image_uri(self, input: Option<String>) -> Self
The address of the container image that the monitoring job runs.
sourcepub fn container_entrypoint(self, input: impl Into<String>) -> Self
pub fn container_entrypoint(self, input: impl Into<String>) -> Self
Appends an item to container_entrypoint
.
To override the contents of this collection use set_container_entrypoint
.
Specifies the entrypoint for a container that the monitoring job runs.
sourcepub fn set_container_entrypoint(self, input: Option<Vec<String>>) -> Self
pub fn set_container_entrypoint(self, input: Option<Vec<String>>) -> Self
Specifies the entrypoint for a container that the monitoring job runs.
sourcepub fn container_arguments(self, input: impl Into<String>) -> Self
pub fn container_arguments(self, input: impl Into<String>) -> Self
Appends an item to container_arguments
.
To override the contents of this collection use set_container_arguments
.
An array of arguments for the container used to run the monitoring job.
sourcepub fn set_container_arguments(self, input: Option<Vec<String>>) -> Self
pub fn set_container_arguments(self, input: Option<Vec<String>>) -> Self
An array of arguments for the container used to run the monitoring job.
sourcepub fn record_preprocessor_source_uri(self, input: impl Into<String>) -> Self
pub fn record_preprocessor_source_uri(self, input: impl Into<String>) -> Self
An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
sourcepub fn set_record_preprocessor_source_uri(self, input: Option<String>) -> Self
pub fn set_record_preprocessor_source_uri(self, input: Option<String>) -> Self
An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
sourcepub fn post_analytics_processor_source_uri(
self,
input: impl Into<String>
) -> Self
pub fn post_analytics_processor_source_uri(
self,
input: impl Into<String>
) -> Self
An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
sourcepub fn set_post_analytics_processor_source_uri(
self,
input: Option<String>
) -> Self
pub fn set_post_analytics_processor_source_uri(
self,
input: Option<String>
) -> Self
An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
sourcepub fn problem_type(self, input: MonitoringProblemType) -> Self
pub fn problem_type(self, input: MonitoringProblemType) -> Self
The machine learning problem type of the model that the monitoring job monitors.
sourcepub fn set_problem_type(self, input: Option<MonitoringProblemType>) -> Self
pub fn set_problem_type(self, input: Option<MonitoringProblemType>) -> Self
The machine learning problem type of the model that the monitoring job monitors.
sourcepub fn environment(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn environment(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to environment
.
To override the contents of this collection use set_environment
.
Sets the environment variables in the container that the monitoring job runs.
sourcepub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self
Sets the environment variables in the container that the monitoring job runs.
sourcepub fn build(self) -> ModelQualityAppSpecification
pub fn build(self) -> ModelQualityAppSpecification
Consumes the builder and constructs a ModelQualityAppSpecification
.