#[non_exhaustive]pub struct ModelBiasAppSpecificationBuilder { /* private fields */ }
Expand description
A builder for ModelBiasAppSpecification
.
Implementations§
source§impl ModelBiasAppSpecificationBuilder
impl ModelBiasAppSpecificationBuilder
sourcepub fn image_uri(self, input: impl Into<String>) -> Self
pub fn image_uri(self, input: impl Into<String>) -> Self
The container image to be run by the model bias job.
sourcepub fn set_image_uri(self, input: Option<String>) -> Self
pub fn set_image_uri(self, input: Option<String>) -> Self
The container image to be run by the model bias job.
sourcepub fn config_uri(self, input: impl Into<String>) -> Self
pub fn config_uri(self, input: impl Into<String>) -> Self
JSON formatted S3 file that defines bias parameters. For more information on this JSON configuration file, see Configure bias parameters.
sourcepub fn set_config_uri(self, input: Option<String>) -> Self
pub fn set_config_uri(self, input: Option<String>) -> Self
JSON formatted S3 file that defines bias parameters. For more information on this JSON configuration file, see Configure bias parameters.
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 Docker container.
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 Docker container.
sourcepub fn build(self) -> ModelBiasAppSpecification
pub fn build(self) -> ModelBiasAppSpecification
Consumes the builder and constructs a ModelBiasAppSpecification
.
Trait Implementations§
source§impl Clone for ModelBiasAppSpecificationBuilder
impl Clone for ModelBiasAppSpecificationBuilder
source§fn clone(&self) -> ModelBiasAppSpecificationBuilder
fn clone(&self) -> ModelBiasAppSpecificationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ModelBiasAppSpecificationBuilder
impl Default for ModelBiasAppSpecificationBuilder
source§fn default() -> ModelBiasAppSpecificationBuilder
fn default() -> ModelBiasAppSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ModelBiasAppSpecificationBuilder> for ModelBiasAppSpecificationBuilder
impl PartialEq<ModelBiasAppSpecificationBuilder> for ModelBiasAppSpecificationBuilder
source§fn eq(&self, other: &ModelBiasAppSpecificationBuilder) -> bool
fn eq(&self, other: &ModelBiasAppSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.