Struct aws_sdk_sagemaker::operation::create_model_bias_job_definition::builders::CreateModelBiasJobDefinitionInputBuilder
source · #[non_exhaustive]pub struct CreateModelBiasJobDefinitionInputBuilder { /* private fields */ }
Expand description
A builder for CreateModelBiasJobDefinitionInput
.
Implementations§
source§impl CreateModelBiasJobDefinitionInputBuilder
impl CreateModelBiasJobDefinitionInputBuilder
sourcepub fn job_definition_name(self, input: impl Into<String>) -> Self
pub fn job_definition_name(self, input: impl Into<String>) -> Self
The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
This field is required.sourcepub fn set_job_definition_name(self, input: Option<String>) -> Self
pub fn set_job_definition_name(self, input: Option<String>) -> Self
The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
sourcepub fn get_job_definition_name(&self) -> &Option<String>
pub fn get_job_definition_name(&self) -> &Option<String>
The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
sourcepub fn model_bias_baseline_config(self, input: ModelBiasBaselineConfig) -> Self
pub fn model_bias_baseline_config(self, input: ModelBiasBaselineConfig) -> Self
The baseline configuration for a model bias job.
sourcepub fn set_model_bias_baseline_config(
self,
input: Option<ModelBiasBaselineConfig>
) -> Self
pub fn set_model_bias_baseline_config( self, input: Option<ModelBiasBaselineConfig> ) -> Self
The baseline configuration for a model bias job.
sourcepub fn get_model_bias_baseline_config(&self) -> &Option<ModelBiasBaselineConfig>
pub fn get_model_bias_baseline_config(&self) -> &Option<ModelBiasBaselineConfig>
The baseline configuration for a model bias job.
sourcepub fn model_bias_app_specification(
self,
input: ModelBiasAppSpecification
) -> Self
pub fn model_bias_app_specification( self, input: ModelBiasAppSpecification ) -> Self
Configures the model bias job to run a specified Docker container image.
This field is required.sourcepub fn set_model_bias_app_specification(
self,
input: Option<ModelBiasAppSpecification>
) -> Self
pub fn set_model_bias_app_specification( self, input: Option<ModelBiasAppSpecification> ) -> Self
Configures the model bias job to run a specified Docker container image.
sourcepub fn get_model_bias_app_specification(
&self
) -> &Option<ModelBiasAppSpecification>
pub fn get_model_bias_app_specification( &self ) -> &Option<ModelBiasAppSpecification>
Configures the model bias job to run a specified Docker container image.
sourcepub fn model_bias_job_input(self, input: ModelBiasJobInput) -> Self
pub fn model_bias_job_input(self, input: ModelBiasJobInput) -> Self
Inputs for the model bias job.
This field is required.sourcepub fn set_model_bias_job_input(self, input: Option<ModelBiasJobInput>) -> Self
pub fn set_model_bias_job_input(self, input: Option<ModelBiasJobInput>) -> Self
Inputs for the model bias job.
sourcepub fn get_model_bias_job_input(&self) -> &Option<ModelBiasJobInput>
pub fn get_model_bias_job_input(&self) -> &Option<ModelBiasJobInput>
Inputs for the model bias job.
sourcepub fn model_bias_job_output_config(self, input: MonitoringOutputConfig) -> Self
pub fn model_bias_job_output_config(self, input: MonitoringOutputConfig) -> Self
The output configuration for monitoring jobs.
This field is required.sourcepub fn set_model_bias_job_output_config(
self,
input: Option<MonitoringOutputConfig>
) -> Self
pub fn set_model_bias_job_output_config( self, input: Option<MonitoringOutputConfig> ) -> Self
The output configuration for monitoring jobs.
sourcepub fn get_model_bias_job_output_config(
&self
) -> &Option<MonitoringOutputConfig>
pub fn get_model_bias_job_output_config( &self ) -> &Option<MonitoringOutputConfig>
The output configuration for monitoring jobs.
sourcepub fn job_resources(self, input: MonitoringResources) -> Self
pub fn job_resources(self, input: MonitoringResources) -> Self
Identifies the resources to deploy for a monitoring job.
This field is required.sourcepub fn set_job_resources(self, input: Option<MonitoringResources>) -> Self
pub fn set_job_resources(self, input: Option<MonitoringResources>) -> Self
Identifies the resources to deploy for a monitoring job.
sourcepub fn get_job_resources(&self) -> &Option<MonitoringResources>
pub fn get_job_resources(&self) -> &Option<MonitoringResources>
Identifies the resources to deploy for a monitoring job.
sourcepub fn network_config(self, input: MonitoringNetworkConfig) -> Self
pub fn network_config(self, input: MonitoringNetworkConfig) -> Self
Networking options for a model bias job.
sourcepub fn set_network_config(self, input: Option<MonitoringNetworkConfig>) -> Self
pub fn set_network_config(self, input: Option<MonitoringNetworkConfig>) -> Self
Networking options for a model bias job.
sourcepub fn get_network_config(&self) -> &Option<MonitoringNetworkConfig>
pub fn get_network_config(&self) -> &Option<MonitoringNetworkConfig>
Networking options for a model bias job.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
sourcepub fn stopping_condition(self, input: MonitoringStoppingCondition) -> Self
pub fn stopping_condition(self, input: MonitoringStoppingCondition) -> Self
A time limit for how long the monitoring job is allowed to run before stopping.
sourcepub fn set_stopping_condition(
self,
input: Option<MonitoringStoppingCondition>
) -> Self
pub fn set_stopping_condition( self, input: Option<MonitoringStoppingCondition> ) -> Self
A time limit for how long the monitoring job is allowed to run before stopping.
sourcepub fn get_stopping_condition(&self) -> &Option<MonitoringStoppingCondition>
pub fn get_stopping_condition(&self) -> &Option<MonitoringStoppingCondition>
A time limit for how long the monitoring job is allowed to run before stopping.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
sourcepub fn build(self) -> Result<CreateModelBiasJobDefinitionInput, BuildError>
pub fn build(self) -> Result<CreateModelBiasJobDefinitionInput, BuildError>
Consumes the builder and constructs a CreateModelBiasJobDefinitionInput
.
source§impl CreateModelBiasJobDefinitionInputBuilder
impl CreateModelBiasJobDefinitionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateModelBiasJobDefinitionOutput, SdkError<CreateModelBiasJobDefinitionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateModelBiasJobDefinitionOutput, SdkError<CreateModelBiasJobDefinitionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateModelBiasJobDefinitionInputBuilder
impl Clone for CreateModelBiasJobDefinitionInputBuilder
source§fn clone(&self) -> CreateModelBiasJobDefinitionInputBuilder
fn clone(&self) -> CreateModelBiasJobDefinitionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateModelBiasJobDefinitionInputBuilder
impl Default for CreateModelBiasJobDefinitionInputBuilder
source§fn default() -> CreateModelBiasJobDefinitionInputBuilder
fn default() -> CreateModelBiasJobDefinitionInputBuilder
source§impl PartialEq for CreateModelBiasJobDefinitionInputBuilder
impl PartialEq for CreateModelBiasJobDefinitionInputBuilder
source§fn eq(&self, other: &CreateModelBiasJobDefinitionInputBuilder) -> bool
fn eq(&self, other: &CreateModelBiasJobDefinitionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.