Struct aws_sdk_sagemaker::model::processing_job::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ProcessingJob
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
.
List of input configurations for the processing job.
sourcepub fn set_processing_inputs(self, input: Option<Vec<ProcessingInput>>) -> Self
pub fn set_processing_inputs(self, input: Option<Vec<ProcessingInput>>) -> Self
List of input configurations for the processing job.
sourcepub fn processing_output_config(self, input: ProcessingOutputConfig) -> Self
pub fn processing_output_config(self, input: ProcessingOutputConfig) -> Self
Configuration for uploading output from the processing container.
sourcepub fn set_processing_output_config(
self,
input: Option<ProcessingOutputConfig>
) -> Self
pub fn set_processing_output_config(
self,
input: Option<ProcessingOutputConfig>
) -> Self
Configuration for uploading output from the processing container.
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.
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.
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
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.
sourcepub fn set_stopping_condition(
self,
input: Option<ProcessingStoppingCondition>
) -> Self
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.
sourcepub fn app_specification(self, input: AppSpecification) -> Self
pub fn app_specification(self, input: AppSpecification) -> Self
Configuration to run a processing job in a specified container image.
sourcepub fn set_app_specification(self, input: Option<AppSpecification>) -> Self
pub fn set_app_specification(self, input: Option<AppSpecification>) -> Self
Configuration to run a processing job in a specified 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
.
Sets the environment variables in the Docker container.
sourcepub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self
Sets the environment variables in the Docker container.
sourcepub fn network_config(self, input: NetworkConfig) -> Self
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.
sourcepub fn set_network_config(self, input: Option<NetworkConfig>) -> Self
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.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role used to create the processing job.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role used to create the processing job.
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 processing_job_arn(self, input: impl Into<String>) -> Self
pub fn processing_job_arn(self, input: impl Into<String>) -> Self
The ARN of the processing job.
sourcepub fn set_processing_job_arn(self, input: Option<String>) -> Self
pub fn set_processing_job_arn(self, input: Option<String>) -> Self
The ARN of the processing job.
sourcepub fn processing_job_status(self, input: ProcessingJobStatus) -> Self
pub fn processing_job_status(self, input: ProcessingJobStatus) -> Self
The status of the processing job.
sourcepub fn set_processing_job_status(
self,
input: Option<ProcessingJobStatus>
) -> Self
pub fn set_processing_job_status(
self,
input: Option<ProcessingJobStatus>
) -> Self
The status of the processing job.
sourcepub fn exit_message(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_exit_message(self, input: Option<String>) -> Self
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.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
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.
sourcepub fn processing_end_time(self, input: DateTime) -> Self
pub fn processing_end_time(self, input: DateTime) -> Self
The time that the processing job ended.
sourcepub fn set_processing_end_time(self, input: Option<DateTime>) -> Self
pub fn set_processing_end_time(self, input: Option<DateTime>) -> Self
The time that the processing job ended.
sourcepub fn processing_start_time(self, input: DateTime) -> Self
pub fn processing_start_time(self, input: DateTime) -> Self
The time that the processing job started.
sourcepub fn set_processing_start_time(self, input: Option<DateTime>) -> Self
pub fn set_processing_start_time(self, input: Option<DateTime>) -> Self
The time that the processing job started.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The time the processing job was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The time the processing job was last modified.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the processing job was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the processing job was created.
sourcepub fn monitoring_schedule_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_monitoring_schedule_arn(self, input: Option<String>) -> Self
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.
sourcepub fn auto_ml_job_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_auto_ml_job_arn(self, input: Option<String>) -> Self
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.
sourcepub fn training_job_arn(self, input: impl Into<String>) -> Self
pub fn training_job_arn(self, input: impl Into<String>) -> Self
The ARN of the training job associated with this processing job.
sourcepub fn set_training_job_arn(self, input: Option<String>) -> Self
pub fn set_training_job_arn(self, input: Option<String>) -> Self
The ARN of the training job associated with this processing job.
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.
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 build(self) -> ProcessingJob
pub fn build(self) -> ProcessingJob
Consumes the builder and constructs a ProcessingJob
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