Struct aws_sdk_sagemaker::operation::create_processing_job::builders::CreateProcessingJobInputBuilder
source · #[non_exhaustive]pub struct CreateProcessingJobInputBuilder { /* private fields */ }
Expand description
A builder for CreateProcessingJobInput
.
Implementations§
source§impl CreateProcessingJobInputBuilder
impl CreateProcessingJobInputBuilder
sourcepub fn processing_inputs(self, input: ProcessingInput) -> Self
pub fn processing_inputs(self, input: ProcessingInput) -> Self
Appends an item to processing_inputs
.
To override the contents of this collection use set_processing_inputs
.
An array of inputs configuring the data to download into the processing container.
sourcepub fn set_processing_inputs(self, input: Option<Vec<ProcessingInput>>) -> Self
pub fn set_processing_inputs(self, input: Option<Vec<ProcessingInput>>) -> Self
An array of inputs configuring the data to download into the processing container.
sourcepub fn get_processing_inputs(&self) -> &Option<Vec<ProcessingInput>>
pub fn get_processing_inputs(&self) -> &Option<Vec<ProcessingInput>>
An array of inputs configuring the data to download into the processing container.
sourcepub fn processing_output_config(self, input: ProcessingOutputConfig) -> Self
pub fn processing_output_config(self, input: ProcessingOutputConfig) -> Self
Output configuration for the processing job.
sourcepub fn set_processing_output_config(
self,
input: Option<ProcessingOutputConfig>
) -> Self
pub fn set_processing_output_config( self, input: Option<ProcessingOutputConfig> ) -> Self
Output configuration for the processing job.
sourcepub fn get_processing_output_config(&self) -> &Option<ProcessingOutputConfig>
pub fn get_processing_output_config(&self) -> &Option<ProcessingOutputConfig>
Output configuration for the processing job.
sourcepub fn processing_job_name(self, input: impl Into<String>) -> Self
pub fn processing_job_name(self, input: impl Into<String>) -> Self
The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
sourcepub fn set_processing_job_name(self, input: Option<String>) -> Self
pub fn set_processing_job_name(self, input: Option<String>) -> Self
The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
sourcepub fn get_processing_job_name(&self) -> &Option<String>
pub fn get_processing_job_name(&self) -> &Option<String>
The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
sourcepub fn processing_resources(self, input: ProcessingResources) -> Self
pub fn processing_resources(self, input: ProcessingResources) -> Self
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
sourcepub fn set_processing_resources(
self,
input: Option<ProcessingResources>
) -> Self
pub fn set_processing_resources( self, input: Option<ProcessingResources> ) -> Self
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
sourcepub fn get_processing_resources(&self) -> &Option<ProcessingResources>
pub fn get_processing_resources(&self) -> &Option<ProcessingResources>
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
sourcepub fn stopping_condition(self, input: ProcessingStoppingCondition) -> Self
pub fn stopping_condition(self, input: ProcessingStoppingCondition) -> Self
The time limit for how long the processing job is allowed to run.
sourcepub fn set_stopping_condition(
self,
input: Option<ProcessingStoppingCondition>
) -> Self
pub fn set_stopping_condition( self, input: Option<ProcessingStoppingCondition> ) -> Self
The time limit for how long the processing job is allowed to run.
sourcepub fn get_stopping_condition(&self) -> &Option<ProcessingStoppingCondition>
pub fn get_stopping_condition(&self) -> &Option<ProcessingStoppingCondition>
The time limit for how long the processing job is allowed to run.
sourcepub fn app_specification(self, input: AppSpecification) -> Self
pub fn app_specification(self, input: AppSpecification) -> Self
Configures the processing job to run a specified Docker container image.
sourcepub fn set_app_specification(self, input: Option<AppSpecification>) -> Self
pub fn set_app_specification(self, input: Option<AppSpecification>) -> Self
Configures the processing job to run a specified Docker container image.
sourcepub fn get_app_specification(&self) -> &Option<AppSpecification>
pub fn get_app_specification(&self) -> &Option<AppSpecification>
Configures the processing job to run a specified Docker container image.
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
.
The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.
sourcepub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self
The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.
sourcepub fn get_environment(&self) -> &Option<HashMap<String, String>>
pub fn get_environment(&self) -> &Option<HashMap<String, String>>
The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.
sourcepub fn network_config(self, input: NetworkConfig) -> Self
pub fn network_config(self, input: NetworkConfig) -> Self
Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.
sourcepub fn set_network_config(self, input: Option<NetworkConfig>) -> Self
pub fn set_network_config(self, input: Option<NetworkConfig>) -> Self
Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.
sourcepub fn get_network_config(&self) -> &Option<NetworkConfig>
pub fn get_network_config(&self) -> &Option<NetworkConfig>
Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.
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.
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.
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 experiment_config(self, input: ExperimentConfig) -> Self
pub fn experiment_config(self, input: ExperimentConfig) -> Self
Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:
sourcepub fn set_experiment_config(self, input: Option<ExperimentConfig>) -> Self
pub fn set_experiment_config(self, input: Option<ExperimentConfig>) -> Self
Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:
sourcepub fn get_experiment_config(&self) -> &Option<ExperimentConfig>
pub fn get_experiment_config(&self) -> &Option<ExperimentConfig>
Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:
sourcepub fn build(self) -> Result<CreateProcessingJobInput, BuildError>
pub fn build(self) -> Result<CreateProcessingJobInput, BuildError>
Consumes the builder and constructs a CreateProcessingJobInput
.
source§impl CreateProcessingJobInputBuilder
impl CreateProcessingJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateProcessingJobOutput, SdkError<CreateProcessingJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateProcessingJobOutput, SdkError<CreateProcessingJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateProcessingJobInputBuilder
impl Clone for CreateProcessingJobInputBuilder
source§fn clone(&self) -> CreateProcessingJobInputBuilder
fn clone(&self) -> CreateProcessingJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateProcessingJobInputBuilder
impl Default for CreateProcessingJobInputBuilder
source§fn default() -> CreateProcessingJobInputBuilder
fn default() -> CreateProcessingJobInputBuilder
source§impl PartialEq<CreateProcessingJobInputBuilder> for CreateProcessingJobInputBuilder
impl PartialEq<CreateProcessingJobInputBuilder> for CreateProcessingJobInputBuilder
source§fn eq(&self, other: &CreateProcessingJobInputBuilder) -> bool
fn eq(&self, other: &CreateProcessingJobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.