pub struct Builder { /* private fields */ }
Expand description
A builder for CreateProcessingJobInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 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 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.
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.
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:
-
CreateProcessingJob
-
CreateTrainingJob
-
CreateTransformJob
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:
-
CreateProcessingJob
-
CreateTrainingJob
-
CreateTransformJob
sourcepub fn build(self) -> Result<CreateProcessingJobInput, BuildError>
pub fn build(self) -> Result<CreateProcessingJobInput, BuildError>
Consumes the builder and constructs a CreateProcessingJobInput
.