aws-sdk-sagemaker 1.189.0

AWS SDK for Amazon SageMaker Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DescribeProcessingJobOutput {
    /// <p>The inputs for a processing job.</p>
    pub processing_inputs: ::std::option::Option<::std::vec::Vec<crate::types::ProcessingInput>>,
    /// <p>Output configuration for the processing job.</p>
    pub processing_output_config: ::std::option::Option<crate::types::ProcessingOutputConfig>,
    /// <p>The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.</p>
    pub processing_job_name: ::std::option::Option<::std::string::String>,
    /// <p>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.</p>
    pub processing_resources: ::std::option::Option<crate::types::ProcessingResources>,
    /// <p>The time limit for how long the processing job is allowed to run.</p>
    pub stopping_condition: ::std::option::Option<crate::types::ProcessingStoppingCondition>,
    /// <p>Configures the processing job to run a specified container image.</p>
    pub app_specification: ::std::option::Option<crate::types::AppSpecification>,
    /// <p>The environment variables set in the Docker container.</p>
    pub environment: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>Networking options for a processing job.</p>
    pub network_config: ::std::option::Option<crate::types::NetworkConfig>,
    /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p>
    pub role_arn: ::std::option::Option<::std::string::String>,
    /// <p>The configuration information used to create an experiment.</p>
    pub experiment_config: ::std::option::Option<crate::types::ExperimentConfig>,
    /// <p>The Amazon Resource Name (ARN) of the processing job.</p>
    pub processing_job_arn: ::std::option::Option<::std::string::String>,
    /// <p>Provides the status of a processing job.</p>
    pub processing_job_status: ::std::option::Option<crate::types::ProcessingJobStatus>,
    /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p>
    pub exit_message: ::std::option::Option<::std::string::String>,
    /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p>
    pub failure_reason: ::std::option::Option<::std::string::String>,
    /// <p>The time at which the processing job completed.</p>
    pub processing_end_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The time at which the processing job started.</p>
    pub processing_start_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The time at which the processing job was last modified.</p>
    pub last_modified_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The time at which the processing job was created.</p>
    pub creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p>
    pub monitoring_schedule_arn: ::std::option::Option<::std::string::String>,
    /// <p>The ARN of an AutoML job associated with this processing job.</p>
    pub auto_ml_job_arn: ::std::option::Option<::std::string::String>,
    /// <p>The ARN of a training job associated with this processing job.</p>
    pub training_job_arn: ::std::option::Option<::std::string::String>,
    _request_id: Option<String>,
}
impl DescribeProcessingJobOutput {
    /// <p>The inputs for a processing job.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.processing_inputs.is_none()`.
    pub fn processing_inputs(&self) -> &[crate::types::ProcessingInput] {
        self.processing_inputs.as_deref().unwrap_or_default()
    }
    /// <p>Output configuration for the processing job.</p>
    pub fn processing_output_config(&self) -> ::std::option::Option<&crate::types::ProcessingOutputConfig> {
        self.processing_output_config.as_ref()
    }
    /// <p>The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.</p>
    pub fn processing_job_name(&self) -> ::std::option::Option<&str> {
        self.processing_job_name.as_deref()
    }
    /// <p>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.</p>
    pub fn processing_resources(&self) -> ::std::option::Option<&crate::types::ProcessingResources> {
        self.processing_resources.as_ref()
    }
    /// <p>The time limit for how long the processing job is allowed to run.</p>
    pub fn stopping_condition(&self) -> ::std::option::Option<&crate::types::ProcessingStoppingCondition> {
        self.stopping_condition.as_ref()
    }
    /// <p>Configures the processing job to run a specified container image.</p>
    pub fn app_specification(&self) -> ::std::option::Option<&crate::types::AppSpecification> {
        self.app_specification.as_ref()
    }
    /// <p>The environment variables set in the Docker container.</p>
    pub fn environment(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.environment.as_ref()
    }
    /// <p>Networking options for a processing job.</p>
    pub fn network_config(&self) -> ::std::option::Option<&crate::types::NetworkConfig> {
        self.network_config.as_ref()
    }
    /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p>
    pub fn role_arn(&self) -> ::std::option::Option<&str> {
        self.role_arn.as_deref()
    }
    /// <p>The configuration information used to create an experiment.</p>
    pub fn experiment_config(&self) -> ::std::option::Option<&crate::types::ExperimentConfig> {
        self.experiment_config.as_ref()
    }
    /// <p>The Amazon Resource Name (ARN) of the processing job.</p>
    pub fn processing_job_arn(&self) -> ::std::option::Option<&str> {
        self.processing_job_arn.as_deref()
    }
    /// <p>Provides the status of a processing job.</p>
    pub fn processing_job_status(&self) -> ::std::option::Option<&crate::types::ProcessingJobStatus> {
        self.processing_job_status.as_ref()
    }
    /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p>
    pub fn exit_message(&self) -> ::std::option::Option<&str> {
        self.exit_message.as_deref()
    }
    /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p>
    pub fn failure_reason(&self) -> ::std::option::Option<&str> {
        self.failure_reason.as_deref()
    }
    /// <p>The time at which the processing job completed.</p>
    pub fn processing_end_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.processing_end_time.as_ref()
    }
    /// <p>The time at which the processing job started.</p>
    pub fn processing_start_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.processing_start_time.as_ref()
    }
    /// <p>The time at which the processing job was last modified.</p>
    pub fn last_modified_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.last_modified_time.as_ref()
    }
    /// <p>The time at which the processing job was created.</p>
    pub fn creation_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.creation_time.as_ref()
    }
    /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p>
    pub fn monitoring_schedule_arn(&self) -> ::std::option::Option<&str> {
        self.monitoring_schedule_arn.as_deref()
    }
    /// <p>The ARN of an AutoML job associated with this processing job.</p>
    pub fn auto_ml_job_arn(&self) -> ::std::option::Option<&str> {
        self.auto_ml_job_arn.as_deref()
    }
    /// <p>The ARN of a training job associated with this processing job.</p>
    pub fn training_job_arn(&self) -> ::std::option::Option<&str> {
        self.training_job_arn.as_deref()
    }
}
impl ::aws_types::request_id::RequestId for DescribeProcessingJobOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl DescribeProcessingJobOutput {
    /// Creates a new builder-style object to manufacture [`DescribeProcessingJobOutput`](crate::operation::describe_processing_job::DescribeProcessingJobOutput).
    pub fn builder() -> crate::operation::describe_processing_job::builders::DescribeProcessingJobOutputBuilder {
        crate::operation::describe_processing_job::builders::DescribeProcessingJobOutputBuilder::default()
    }
}

/// A builder for [`DescribeProcessingJobOutput`](crate::operation::describe_processing_job::DescribeProcessingJobOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DescribeProcessingJobOutputBuilder {
    pub(crate) processing_inputs: ::std::option::Option<::std::vec::Vec<crate::types::ProcessingInput>>,
    pub(crate) processing_output_config: ::std::option::Option<crate::types::ProcessingOutputConfig>,
    pub(crate) processing_job_name: ::std::option::Option<::std::string::String>,
    pub(crate) processing_resources: ::std::option::Option<crate::types::ProcessingResources>,
    pub(crate) stopping_condition: ::std::option::Option<crate::types::ProcessingStoppingCondition>,
    pub(crate) app_specification: ::std::option::Option<crate::types::AppSpecification>,
    pub(crate) environment: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) network_config: ::std::option::Option<crate::types::NetworkConfig>,
    pub(crate) role_arn: ::std::option::Option<::std::string::String>,
    pub(crate) experiment_config: ::std::option::Option<crate::types::ExperimentConfig>,
    pub(crate) processing_job_arn: ::std::option::Option<::std::string::String>,
    pub(crate) processing_job_status: ::std::option::Option<crate::types::ProcessingJobStatus>,
    pub(crate) exit_message: ::std::option::Option<::std::string::String>,
    pub(crate) failure_reason: ::std::option::Option<::std::string::String>,
    pub(crate) processing_end_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) processing_start_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) last_modified_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) monitoring_schedule_arn: ::std::option::Option<::std::string::String>,
    pub(crate) auto_ml_job_arn: ::std::option::Option<::std::string::String>,
    pub(crate) training_job_arn: ::std::option::Option<::std::string::String>,
    _request_id: Option<String>,
}
impl DescribeProcessingJobOutputBuilder {
    /// Appends an item to `processing_inputs`.
    ///
    /// To override the contents of this collection use [`set_processing_inputs`](Self::set_processing_inputs).
    ///
    /// <p>The inputs for a processing job.</p>
    pub fn processing_inputs(mut self, input: crate::types::ProcessingInput) -> Self {
        let mut v = self.processing_inputs.unwrap_or_default();
        v.push(input);
        self.processing_inputs = ::std::option::Option::Some(v);
        self
    }
    /// <p>The inputs for a processing job.</p>
    pub fn set_processing_inputs(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::ProcessingInput>>) -> Self {
        self.processing_inputs = input;
        self
    }
    /// <p>The inputs for a processing job.</p>
    pub fn get_processing_inputs(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::ProcessingInput>> {
        &self.processing_inputs
    }
    /// <p>Output configuration for the processing job.</p>
    pub fn processing_output_config(mut self, input: crate::types::ProcessingOutputConfig) -> Self {
        self.processing_output_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>Output configuration for the processing job.</p>
    pub fn set_processing_output_config(mut self, input: ::std::option::Option<crate::types::ProcessingOutputConfig>) -> Self {
        self.processing_output_config = input;
        self
    }
    /// <p>Output configuration for the processing job.</p>
    pub fn get_processing_output_config(&self) -> &::std::option::Option<crate::types::ProcessingOutputConfig> {
        &self.processing_output_config
    }
    /// <p>The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.</p>
    /// This field is required.
    pub fn processing_job_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.processing_job_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.</p>
    pub fn set_processing_job_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.processing_job_name = input;
        self
    }
    /// <p>The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.</p>
    pub fn get_processing_job_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.processing_job_name
    }
    /// <p>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.</p>
    /// This field is required.
    pub fn processing_resources(mut self, input: crate::types::ProcessingResources) -> Self {
        self.processing_resources = ::std::option::Option::Some(input);
        self
    }
    /// <p>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.</p>
    pub fn set_processing_resources(mut self, input: ::std::option::Option<crate::types::ProcessingResources>) -> Self {
        self.processing_resources = input;
        self
    }
    /// <p>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.</p>
    pub fn get_processing_resources(&self) -> &::std::option::Option<crate::types::ProcessingResources> {
        &self.processing_resources
    }
    /// <p>The time limit for how long the processing job is allowed to run.</p>
    pub fn stopping_condition(mut self, input: crate::types::ProcessingStoppingCondition) -> Self {
        self.stopping_condition = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time limit for how long the processing job is allowed to run.</p>
    pub fn set_stopping_condition(mut self, input: ::std::option::Option<crate::types::ProcessingStoppingCondition>) -> Self {
        self.stopping_condition = input;
        self
    }
    /// <p>The time limit for how long the processing job is allowed to run.</p>
    pub fn get_stopping_condition(&self) -> &::std::option::Option<crate::types::ProcessingStoppingCondition> {
        &self.stopping_condition
    }
    /// <p>Configures the processing job to run a specified container image.</p>
    /// This field is required.
    pub fn app_specification(mut self, input: crate::types::AppSpecification) -> Self {
        self.app_specification = ::std::option::Option::Some(input);
        self
    }
    /// <p>Configures the processing job to run a specified container image.</p>
    pub fn set_app_specification(mut self, input: ::std::option::Option<crate::types::AppSpecification>) -> Self {
        self.app_specification = input;
        self
    }
    /// <p>Configures the processing job to run a specified container image.</p>
    pub fn get_app_specification(&self) -> &::std::option::Option<crate::types::AppSpecification> {
        &self.app_specification
    }
    /// Adds a key-value pair to `environment`.
    ///
    /// To override the contents of this collection use [`set_environment`](Self::set_environment).
    ///
    /// <p>The environment variables set in the Docker container.</p>
    pub fn environment(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.environment.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.environment = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The environment variables set in the Docker container.</p>
    pub fn set_environment(
        mut self,
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    ) -> Self {
        self.environment = input;
        self
    }
    /// <p>The environment variables set in the Docker container.</p>
    pub fn get_environment(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.environment
    }
    /// <p>Networking options for a processing job.</p>
    pub fn network_config(mut self, input: crate::types::NetworkConfig) -> Self {
        self.network_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>Networking options for a processing job.</p>
    pub fn set_network_config(mut self, input: ::std::option::Option<crate::types::NetworkConfig>) -> Self {
        self.network_config = input;
        self
    }
    /// <p>Networking options for a processing job.</p>
    pub fn get_network_config(&self) -> &::std::option::Option<crate::types::NetworkConfig> {
        &self.network_config
    }
    /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p>
    pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.role_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p>
    pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.role_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p>
    pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.role_arn
    }
    /// <p>The configuration information used to create an experiment.</p>
    pub fn experiment_config(mut self, input: crate::types::ExperimentConfig) -> Self {
        self.experiment_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration information used to create an experiment.</p>
    pub fn set_experiment_config(mut self, input: ::std::option::Option<crate::types::ExperimentConfig>) -> Self {
        self.experiment_config = input;
        self
    }
    /// <p>The configuration information used to create an experiment.</p>
    pub fn get_experiment_config(&self) -> &::std::option::Option<crate::types::ExperimentConfig> {
        &self.experiment_config
    }
    /// <p>The Amazon Resource Name (ARN) of the processing job.</p>
    /// This field is required.
    pub fn processing_job_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.processing_job_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the processing job.</p>
    pub fn set_processing_job_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.processing_job_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the processing job.</p>
    pub fn get_processing_job_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.processing_job_arn
    }
    /// <p>Provides the status of a processing job.</p>
    /// This field is required.
    pub fn processing_job_status(mut self, input: crate::types::ProcessingJobStatus) -> Self {
        self.processing_job_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>Provides the status of a processing job.</p>
    pub fn set_processing_job_status(mut self, input: ::std::option::Option<crate::types::ProcessingJobStatus>) -> Self {
        self.processing_job_status = input;
        self
    }
    /// <p>Provides the status of a processing job.</p>
    pub fn get_processing_job_status(&self) -> &::std::option::Option<crate::types::ProcessingJobStatus> {
        &self.processing_job_status
    }
    /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p>
    pub fn exit_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.exit_message = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p>
    pub fn set_exit_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.exit_message = input;
        self
    }
    /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p>
    pub fn get_exit_message(&self) -> &::std::option::Option<::std::string::String> {
        &self.exit_message
    }
    /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p>
    pub fn failure_reason(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.failure_reason = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p>
    pub fn set_failure_reason(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.failure_reason = input;
        self
    }
    /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p>
    pub fn get_failure_reason(&self) -> &::std::option::Option<::std::string::String> {
        &self.failure_reason
    }
    /// <p>The time at which the processing job completed.</p>
    pub fn processing_end_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.processing_end_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time at which the processing job completed.</p>
    pub fn set_processing_end_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.processing_end_time = input;
        self
    }
    /// <p>The time at which the processing job completed.</p>
    pub fn get_processing_end_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.processing_end_time
    }
    /// <p>The time at which the processing job started.</p>
    pub fn processing_start_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.processing_start_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time at which the processing job started.</p>
    pub fn set_processing_start_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.processing_start_time = input;
        self
    }
    /// <p>The time at which the processing job started.</p>
    pub fn get_processing_start_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.processing_start_time
    }
    /// <p>The time at which the processing job was last modified.</p>
    pub fn last_modified_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.last_modified_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time at which the processing job was last modified.</p>
    pub fn set_last_modified_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.last_modified_time = input;
        self
    }
    /// <p>The time at which the processing job was last modified.</p>
    pub fn get_last_modified_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.last_modified_time
    }
    /// <p>The time at which the processing job was created.</p>
    /// This field is required.
    pub fn creation_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.creation_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time at which the processing job was created.</p>
    pub fn set_creation_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.creation_time = input;
        self
    }
    /// <p>The time at which the processing job was created.</p>
    pub fn get_creation_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.creation_time
    }
    /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p>
    pub fn monitoring_schedule_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.monitoring_schedule_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p>
    pub fn set_monitoring_schedule_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.monitoring_schedule_arn = input;
        self
    }
    /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p>
    pub fn get_monitoring_schedule_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.monitoring_schedule_arn
    }
    /// <p>The ARN of an AutoML job associated with this processing job.</p>
    pub fn auto_ml_job_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.auto_ml_job_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ARN of an AutoML job associated with this processing job.</p>
    pub fn set_auto_ml_job_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.auto_ml_job_arn = input;
        self
    }
    /// <p>The ARN of an AutoML job associated with this processing job.</p>
    pub fn get_auto_ml_job_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.auto_ml_job_arn
    }
    /// <p>The ARN of a training job associated with this processing job.</p>
    pub fn training_job_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.training_job_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ARN of a training job associated with this processing job.</p>
    pub fn set_training_job_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.training_job_arn = input;
        self
    }
    /// <p>The ARN of a training job associated with this processing job.</p>
    pub fn get_training_job_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.training_job_arn
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`DescribeProcessingJobOutput`](crate::operation::describe_processing_job::DescribeProcessingJobOutput).
    pub fn build(self) -> crate::operation::describe_processing_job::DescribeProcessingJobOutput {
        crate::operation::describe_processing_job::DescribeProcessingJobOutput {
            processing_inputs: self.processing_inputs,
            processing_output_config: self.processing_output_config,
            processing_job_name: self.processing_job_name,
            processing_resources: self.processing_resources,
            stopping_condition: self.stopping_condition,
            app_specification: self.app_specification,
            environment: self.environment,
            network_config: self.network_config,
            role_arn: self.role_arn,
            experiment_config: self.experiment_config,
            processing_job_arn: self.processing_job_arn,
            processing_job_status: self.processing_job_status,
            exit_message: self.exit_message,
            failure_reason: self.failure_reason,
            processing_end_time: self.processing_end_time,
            processing_start_time: self.processing_start_time,
            last_modified_time: self.last_modified_time,
            creation_time: self.creation_time,
            monitoring_schedule_arn: self.monitoring_schedule_arn,
            auto_ml_job_arn: self.auto_ml_job_arn,
            training_job_arn: self.training_job_arn,
            _request_id: self._request_id,
        }
    }
}