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

A builder for CreateProcessingJobInput.

Implementations§

source§

impl CreateProcessingJobInputBuilder

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.

An array of inputs configuring the data to download into the processing container.

source

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

An array of inputs configuring the data to download into the processing container.

source

pub fn get_processing_inputs(&self) -> &Option<Vec<ProcessingInput>>

An array of inputs configuring the data to download into the processing container.

source

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

Output configuration for the processing job.

source

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

Output configuration for the processing job.

source

pub fn get_processing_output_config(&self) -> &Option<ProcessingOutputConfig>

Output configuration for the processing job.

source

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.

This field is required.
source

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.

source

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.

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.

This field is required.
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 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.

source

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

The time limit for how long the processing job is allowed to run.

source

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

The time limit for how long the processing job is allowed to run.

source

pub fn get_stopping_condition(&self) -> &Option<ProcessingStoppingCondition>

The time limit for how long the processing job is allowed to run.

source

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

Configures the processing job to run a specified Docker container image.

This field is required.
source

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

Configures the processing job to run a specified Docker container image.

source

pub fn get_app_specification(&self) -> &Option<AppSpecification>

Configures the processing job to run a specified Docker 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.

The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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

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.

source

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.

source

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

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.

source

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

(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.

source

pub fn get_tags(&self) -> &Option<Vec<Tag>>

(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.

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:

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:

source

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:

source

pub fn build(self) -> Result<CreateProcessingJobInput, BuildError>

Consumes the builder and constructs a CreateProcessingJobInput.

source§

impl CreateProcessingJobInputBuilder

source

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

source§

fn clone(&self) -> CreateProcessingJobInputBuilder

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 CreateProcessingJobInputBuilder

source§

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

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

impl Default for CreateProcessingJobInputBuilder

source§

fn default() -> CreateProcessingJobInputBuilder

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

impl PartialEq for CreateProcessingJobInputBuilder

source§

fn eq(&self, other: &CreateProcessingJobInputBuilder) -> 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 CreateProcessingJobInputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

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 T
where U: From<T>,

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> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where 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 T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
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