#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateProcessingJobInput
Implementations
sourceimpl 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
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more