#[non_exhaustive]
pub struct ProcessingJobBuilder { /* private fields */ }
Expand description

A builder for ProcessingJob.

Implementations§

source§

impl ProcessingJobBuilder

source

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.

List of input configurations for the processing job.

source

pub fn set_processing_inputs(self, input: Option<Vec<ProcessingInput>>) -> Self

List of input configurations for the processing job.

source

pub fn processing_output_config(self, input: ProcessingOutputConfig) -> Self

Configuration for uploading output from the processing container.

source

pub fn set_processing_output_config( self, input: Option<ProcessingOutputConfig> ) -> Self

Configuration for uploading output from the processing container.

source

pub fn processing_job_name(self, input: impl Into<String>) -> Self

The name of the processing job.

source

pub fn set_processing_job_name(self, input: Option<String>) -> Self

The name of the processing job.

source

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.

source

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.

source

pub fn stopping_condition(self, input: ProcessingStoppingCondition) -> Self

Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. After the condition is met, the processing job is stopped.

source

pub fn set_stopping_condition( self, input: Option<ProcessingStoppingCondition> ) -> Self

Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. After the condition is met, the processing job is stopped.

source

pub fn app_specification(self, input: AppSpecification) -> Self

Configuration to run a processing job in a specified container image.

source

pub fn set_app_specification(self, input: Option<AppSpecification>) -> Self

Configuration to run a processing job in a specified container image.

source

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.

source

pub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self

Sets the environment variables in the Docker container.

source

pub fn network_config(self, input: NetworkConfig) -> Self

Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.

source

pub fn set_network_config(self, input: Option<NetworkConfig>) -> Self

Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.

source

pub fn role_arn(self, input: impl Into<String>) -> Self

The ARN of the role used to create the processing job.

source

pub fn set_role_arn(self, input: Option<String>) -> Self

The ARN of the role used to create the processing job.

source

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

source

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

source

pub fn processing_job_arn(self, input: impl Into<String>) -> Self

The ARN of the processing job.

source

pub fn set_processing_job_arn(self, input: Option<String>) -> Self

The ARN of the processing job.

source

pub fn processing_job_status(self, input: ProcessingJobStatus) -> Self

The status of the processing job.

source

pub fn set_processing_job_status( self, input: Option<ProcessingJobStatus> ) -> Self

The status of the processing job.

source

pub fn exit_message(self, input: impl Into<String>) -> Self

A string, up to one KB in size, that contains metadata from the processing container when the processing job exits.

source

pub fn set_exit_message(self, input: Option<String>) -> Self

A string, up to one KB in size, that contains metadata from the processing container when the processing job exits.

source

pub fn failure_reason(self, input: impl Into<String>) -> Self

A string, up to one KB in size, that contains the reason a processing job failed, if it failed.

source

pub fn set_failure_reason(self, input: Option<String>) -> Self

A string, up to one KB in size, that contains the reason a processing job failed, if it failed.

source

pub fn processing_end_time(self, input: DateTime) -> Self

The time that the processing job ended.

source

pub fn set_processing_end_time(self, input: Option<DateTime>) -> Self

The time that the processing job ended.

source

pub fn processing_start_time(self, input: DateTime) -> Self

The time that the processing job started.

source

pub fn set_processing_start_time(self, input: Option<DateTime>) -> Self

The time that the processing job started.

source

pub fn last_modified_time(self, input: DateTime) -> Self

The time the processing job was last modified.

source

pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self

The time the processing job was last modified.

source

pub fn creation_time(self, input: DateTime) -> Self

The time the processing job was created.

source

pub fn set_creation_time(self, input: Option<DateTime>) -> Self

The time the processing job was created.

source

pub fn monitoring_schedule_arn(self, input: impl Into<String>) -> Self

The ARN of a monitoring schedule for an endpoint associated with this processing job.

source

pub fn set_monitoring_schedule_arn(self, input: Option<String>) -> Self

The ARN of a monitoring schedule for an endpoint associated with this processing job.

source

pub fn auto_ml_job_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the AutoML job associated with this processing job.

source

pub fn set_auto_ml_job_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the AutoML job associated with this processing job.

source

pub fn training_job_arn(self, input: impl Into<String>) -> Self

The ARN of the training job associated with this processing job.

source

pub fn set_training_job_arn(self, input: Option<String>) -> Self

The ARN of the training job associated with this processing job.

source

pub fn tags(self, input: Tag) -> Self

Appends an item to tags.

To override the contents of this collection use set_tags.

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.

source

pub fn set_tags(self, input: Option<Vec<Tag>>) -> Self

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.

source

pub fn build(self) -> ProcessingJob

Consumes the builder and constructs a ProcessingJob.

Trait Implementations§

source§

impl Clone for ProcessingJobBuilder

source§

fn clone(&self) -> ProcessingJobBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProcessingJobBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProcessingJobBuilder

source§

fn default() -> ProcessingJobBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<ProcessingJobBuilder> for ProcessingJobBuilder

source§

fn eq(&self, other: &ProcessingJobBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ProcessingJobBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more