1#[allow(missing_docs)] #[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
5pub struct GetJobOutput {
6 pub job_id: ::std::string::String,
8 pub name: ::std::string::String,
10 pub lifecycle_status: crate::types::JobLifecycleStatus,
12 pub lifecycle_status_message: ::std::string::String,
14 pub priority: i32,
16 pub created_at: ::aws_smithy_types::DateTime,
18 pub created_by: ::std::string::String,
20 pub updated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
22 pub updated_by: ::std::option::Option<::std::string::String>,
24 pub started_at: ::std::option::Option<::aws_smithy_types::DateTime>,
26 pub ended_at: ::std::option::Option<::aws_smithy_types::DateTime>,
28 pub task_run_status: ::std::option::Option<crate::types::TaskRunStatus>,
30 pub target_task_run_status: ::std::option::Option<crate::types::JobTargetTaskRunStatus>,
32 pub task_run_status_counts: ::std::option::Option<::std::collections::HashMap<crate::types::TaskRunStatus, i32>>,
34 pub task_failure_retry_count: ::std::option::Option<i32>,
36 pub storage_profile_id: ::std::option::Option<::std::string::String>,
38 pub max_failed_tasks_count: ::std::option::Option<i32>,
40 pub max_retries_per_task: ::std::option::Option<i32>,
42 pub parameters: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::JobParameter>>,
44 pub attachments: ::std::option::Option<crate::types::Attachments>,
46 pub description: ::std::option::Option<::std::string::String>,
50 pub max_worker_count: ::std::option::Option<i32>,
53 pub source_job_id: ::std::option::Option<::std::string::String>,
55 _request_id: Option<String>,
56}
57impl GetJobOutput {
58 pub fn job_id(&self) -> &str {
60 use std::ops::Deref;
61 self.job_id.deref()
62 }
63 pub fn name(&self) -> &str {
65 use std::ops::Deref;
66 self.name.deref()
67 }
68 pub fn lifecycle_status(&self) -> &crate::types::JobLifecycleStatus {
70 &self.lifecycle_status
71 }
72 pub fn lifecycle_status_message(&self) -> &str {
74 use std::ops::Deref;
75 self.lifecycle_status_message.deref()
76 }
77 pub fn priority(&self) -> i32 {
79 self.priority
80 }
81 pub fn created_at(&self) -> &::aws_smithy_types::DateTime {
83 &self.created_at
84 }
85 pub fn created_by(&self) -> &str {
87 use std::ops::Deref;
88 self.created_by.deref()
89 }
90 pub fn updated_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
92 self.updated_at.as_ref()
93 }
94 pub fn updated_by(&self) -> ::std::option::Option<&str> {
96 self.updated_by.as_deref()
97 }
98 pub fn started_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
100 self.started_at.as_ref()
101 }
102 pub fn ended_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
104 self.ended_at.as_ref()
105 }
106 pub fn task_run_status(&self) -> ::std::option::Option<&crate::types::TaskRunStatus> {
108 self.task_run_status.as_ref()
109 }
110 pub fn target_task_run_status(&self) -> ::std::option::Option<&crate::types::JobTargetTaskRunStatus> {
112 self.target_task_run_status.as_ref()
113 }
114 pub fn task_run_status_counts(&self) -> ::std::option::Option<&::std::collections::HashMap<crate::types::TaskRunStatus, i32>> {
116 self.task_run_status_counts.as_ref()
117 }
118 pub fn task_failure_retry_count(&self) -> ::std::option::Option<i32> {
120 self.task_failure_retry_count
121 }
122 pub fn storage_profile_id(&self) -> ::std::option::Option<&str> {
124 self.storage_profile_id.as_deref()
125 }
126 pub fn max_failed_tasks_count(&self) -> ::std::option::Option<i32> {
128 self.max_failed_tasks_count
129 }
130 pub fn max_retries_per_task(&self) -> ::std::option::Option<i32> {
132 self.max_retries_per_task
133 }
134 pub fn parameters(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::JobParameter>> {
136 self.parameters.as_ref()
137 }
138 pub fn attachments(&self) -> ::std::option::Option<&crate::types::Attachments> {
140 self.attachments.as_ref()
141 }
142 pub fn description(&self) -> ::std::option::Option<&str> {
146 self.description.as_deref()
147 }
148 pub fn max_worker_count(&self) -> ::std::option::Option<i32> {
151 self.max_worker_count
152 }
153 pub fn source_job_id(&self) -> ::std::option::Option<&str> {
155 self.source_job_id.as_deref()
156 }
157}
158impl ::std::fmt::Debug for GetJobOutput {
159 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
160 let mut formatter = f.debug_struct("GetJobOutput");
161 formatter.field("job_id", &self.job_id);
162 formatter.field("name", &self.name);
163 formatter.field("lifecycle_status", &self.lifecycle_status);
164 formatter.field("lifecycle_status_message", &self.lifecycle_status_message);
165 formatter.field("priority", &self.priority);
166 formatter.field("created_at", &self.created_at);
167 formatter.field("created_by", &self.created_by);
168 formatter.field("updated_at", &self.updated_at);
169 formatter.field("updated_by", &self.updated_by);
170 formatter.field("started_at", &self.started_at);
171 formatter.field("ended_at", &self.ended_at);
172 formatter.field("task_run_status", &self.task_run_status);
173 formatter.field("target_task_run_status", &self.target_task_run_status);
174 formatter.field("task_run_status_counts", &self.task_run_status_counts);
175 formatter.field("task_failure_retry_count", &self.task_failure_retry_count);
176 formatter.field("storage_profile_id", &self.storage_profile_id);
177 formatter.field("max_failed_tasks_count", &self.max_failed_tasks_count);
178 formatter.field("max_retries_per_task", &self.max_retries_per_task);
179 formatter.field("parameters", &"*** Sensitive Data Redacted ***");
180 formatter.field("attachments", &self.attachments);
181 formatter.field("description", &"*** Sensitive Data Redacted ***");
182 formatter.field("max_worker_count", &self.max_worker_count);
183 formatter.field("source_job_id", &self.source_job_id);
184 formatter.field("_request_id", &self._request_id);
185 formatter.finish()
186 }
187}
188impl ::aws_types::request_id::RequestId for GetJobOutput {
189 fn request_id(&self) -> Option<&str> {
190 self._request_id.as_deref()
191 }
192}
193impl GetJobOutput {
194 pub fn builder() -> crate::operation::get_job::builders::GetJobOutputBuilder {
196 crate::operation::get_job::builders::GetJobOutputBuilder::default()
197 }
198}
199
200#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
202#[non_exhaustive]
203pub struct GetJobOutputBuilder {
204 pub(crate) job_id: ::std::option::Option<::std::string::String>,
205 pub(crate) name: ::std::option::Option<::std::string::String>,
206 pub(crate) lifecycle_status: ::std::option::Option<crate::types::JobLifecycleStatus>,
207 pub(crate) lifecycle_status_message: ::std::option::Option<::std::string::String>,
208 pub(crate) priority: ::std::option::Option<i32>,
209 pub(crate) created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
210 pub(crate) created_by: ::std::option::Option<::std::string::String>,
211 pub(crate) updated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
212 pub(crate) updated_by: ::std::option::Option<::std::string::String>,
213 pub(crate) started_at: ::std::option::Option<::aws_smithy_types::DateTime>,
214 pub(crate) ended_at: ::std::option::Option<::aws_smithy_types::DateTime>,
215 pub(crate) task_run_status: ::std::option::Option<crate::types::TaskRunStatus>,
216 pub(crate) target_task_run_status: ::std::option::Option<crate::types::JobTargetTaskRunStatus>,
217 pub(crate) task_run_status_counts: ::std::option::Option<::std::collections::HashMap<crate::types::TaskRunStatus, i32>>,
218 pub(crate) task_failure_retry_count: ::std::option::Option<i32>,
219 pub(crate) storage_profile_id: ::std::option::Option<::std::string::String>,
220 pub(crate) max_failed_tasks_count: ::std::option::Option<i32>,
221 pub(crate) max_retries_per_task: ::std::option::Option<i32>,
222 pub(crate) parameters: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::JobParameter>>,
223 pub(crate) attachments: ::std::option::Option<crate::types::Attachments>,
224 pub(crate) description: ::std::option::Option<::std::string::String>,
225 pub(crate) max_worker_count: ::std::option::Option<i32>,
226 pub(crate) source_job_id: ::std::option::Option<::std::string::String>,
227 _request_id: Option<String>,
228}
229impl GetJobOutputBuilder {
230 pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
233 self.job_id = ::std::option::Option::Some(input.into());
234 self
235 }
236 pub fn set_job_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
238 self.job_id = input;
239 self
240 }
241 pub fn get_job_id(&self) -> &::std::option::Option<::std::string::String> {
243 &self.job_id
244 }
245 pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
248 self.name = ::std::option::Option::Some(input.into());
249 self
250 }
251 pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
253 self.name = input;
254 self
255 }
256 pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
258 &self.name
259 }
260 pub fn lifecycle_status(mut self, input: crate::types::JobLifecycleStatus) -> Self {
263 self.lifecycle_status = ::std::option::Option::Some(input);
264 self
265 }
266 pub fn set_lifecycle_status(mut self, input: ::std::option::Option<crate::types::JobLifecycleStatus>) -> Self {
268 self.lifecycle_status = input;
269 self
270 }
271 pub fn get_lifecycle_status(&self) -> &::std::option::Option<crate::types::JobLifecycleStatus> {
273 &self.lifecycle_status
274 }
275 pub fn lifecycle_status_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
278 self.lifecycle_status_message = ::std::option::Option::Some(input.into());
279 self
280 }
281 pub fn set_lifecycle_status_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
283 self.lifecycle_status_message = input;
284 self
285 }
286 pub fn get_lifecycle_status_message(&self) -> &::std::option::Option<::std::string::String> {
288 &self.lifecycle_status_message
289 }
290 pub fn priority(mut self, input: i32) -> Self {
293 self.priority = ::std::option::Option::Some(input);
294 self
295 }
296 pub fn set_priority(mut self, input: ::std::option::Option<i32>) -> Self {
298 self.priority = input;
299 self
300 }
301 pub fn get_priority(&self) -> &::std::option::Option<i32> {
303 &self.priority
304 }
305 pub fn created_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
308 self.created_at = ::std::option::Option::Some(input);
309 self
310 }
311 pub fn set_created_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
313 self.created_at = input;
314 self
315 }
316 pub fn get_created_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
318 &self.created_at
319 }
320 pub fn created_by(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
323 self.created_by = ::std::option::Option::Some(input.into());
324 self
325 }
326 pub fn set_created_by(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
328 self.created_by = input;
329 self
330 }
331 pub fn get_created_by(&self) -> &::std::option::Option<::std::string::String> {
333 &self.created_by
334 }
335 pub fn updated_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
337 self.updated_at = ::std::option::Option::Some(input);
338 self
339 }
340 pub fn set_updated_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
342 self.updated_at = input;
343 self
344 }
345 pub fn get_updated_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
347 &self.updated_at
348 }
349 pub fn updated_by(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
351 self.updated_by = ::std::option::Option::Some(input.into());
352 self
353 }
354 pub fn set_updated_by(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
356 self.updated_by = input;
357 self
358 }
359 pub fn get_updated_by(&self) -> &::std::option::Option<::std::string::String> {
361 &self.updated_by
362 }
363 pub fn started_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
365 self.started_at = ::std::option::Option::Some(input);
366 self
367 }
368 pub fn set_started_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
370 self.started_at = input;
371 self
372 }
373 pub fn get_started_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
375 &self.started_at
376 }
377 pub fn ended_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
379 self.ended_at = ::std::option::Option::Some(input);
380 self
381 }
382 pub fn set_ended_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
384 self.ended_at = input;
385 self
386 }
387 pub fn get_ended_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
389 &self.ended_at
390 }
391 pub fn task_run_status(mut self, input: crate::types::TaskRunStatus) -> Self {
393 self.task_run_status = ::std::option::Option::Some(input);
394 self
395 }
396 pub fn set_task_run_status(mut self, input: ::std::option::Option<crate::types::TaskRunStatus>) -> Self {
398 self.task_run_status = input;
399 self
400 }
401 pub fn get_task_run_status(&self) -> &::std::option::Option<crate::types::TaskRunStatus> {
403 &self.task_run_status
404 }
405 pub fn target_task_run_status(mut self, input: crate::types::JobTargetTaskRunStatus) -> Self {
407 self.target_task_run_status = ::std::option::Option::Some(input);
408 self
409 }
410 pub fn set_target_task_run_status(mut self, input: ::std::option::Option<crate::types::JobTargetTaskRunStatus>) -> Self {
412 self.target_task_run_status = input;
413 self
414 }
415 pub fn get_target_task_run_status(&self) -> &::std::option::Option<crate::types::JobTargetTaskRunStatus> {
417 &self.target_task_run_status
418 }
419 pub fn task_run_status_counts(mut self, k: crate::types::TaskRunStatus, v: i32) -> Self {
425 let mut hash_map = self.task_run_status_counts.unwrap_or_default();
426 hash_map.insert(k, v);
427 self.task_run_status_counts = ::std::option::Option::Some(hash_map);
428 self
429 }
430 pub fn set_task_run_status_counts(mut self, input: ::std::option::Option<::std::collections::HashMap<crate::types::TaskRunStatus, i32>>) -> Self {
432 self.task_run_status_counts = input;
433 self
434 }
435 pub fn get_task_run_status_counts(&self) -> &::std::option::Option<::std::collections::HashMap<crate::types::TaskRunStatus, i32>> {
437 &self.task_run_status_counts
438 }
439 pub fn task_failure_retry_count(mut self, input: i32) -> Self {
441 self.task_failure_retry_count = ::std::option::Option::Some(input);
442 self
443 }
444 pub fn set_task_failure_retry_count(mut self, input: ::std::option::Option<i32>) -> Self {
446 self.task_failure_retry_count = input;
447 self
448 }
449 pub fn get_task_failure_retry_count(&self) -> &::std::option::Option<i32> {
451 &self.task_failure_retry_count
452 }
453 pub fn storage_profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
455 self.storage_profile_id = ::std::option::Option::Some(input.into());
456 self
457 }
458 pub fn set_storage_profile_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
460 self.storage_profile_id = input;
461 self
462 }
463 pub fn get_storage_profile_id(&self) -> &::std::option::Option<::std::string::String> {
465 &self.storage_profile_id
466 }
467 pub fn max_failed_tasks_count(mut self, input: i32) -> Self {
469 self.max_failed_tasks_count = ::std::option::Option::Some(input);
470 self
471 }
472 pub fn set_max_failed_tasks_count(mut self, input: ::std::option::Option<i32>) -> Self {
474 self.max_failed_tasks_count = input;
475 self
476 }
477 pub fn get_max_failed_tasks_count(&self) -> &::std::option::Option<i32> {
479 &self.max_failed_tasks_count
480 }
481 pub fn max_retries_per_task(mut self, input: i32) -> Self {
483 self.max_retries_per_task = ::std::option::Option::Some(input);
484 self
485 }
486 pub fn set_max_retries_per_task(mut self, input: ::std::option::Option<i32>) -> Self {
488 self.max_retries_per_task = input;
489 self
490 }
491 pub fn get_max_retries_per_task(&self) -> &::std::option::Option<i32> {
493 &self.max_retries_per_task
494 }
495 pub fn parameters(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::JobParameter) -> Self {
501 let mut hash_map = self.parameters.unwrap_or_default();
502 hash_map.insert(k.into(), v);
503 self.parameters = ::std::option::Option::Some(hash_map);
504 self
505 }
506 pub fn set_parameters(
508 mut self,
509 input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::JobParameter>>,
510 ) -> Self {
511 self.parameters = input;
512 self
513 }
514 pub fn get_parameters(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::JobParameter>> {
516 &self.parameters
517 }
518 pub fn attachments(mut self, input: crate::types::Attachments) -> Self {
520 self.attachments = ::std::option::Option::Some(input);
521 self
522 }
523 pub fn set_attachments(mut self, input: ::std::option::Option<crate::types::Attachments>) -> Self {
525 self.attachments = input;
526 self
527 }
528 pub fn get_attachments(&self) -> &::std::option::Option<crate::types::Attachments> {
530 &self.attachments
531 }
532 pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
536 self.description = ::std::option::Option::Some(input.into());
537 self
538 }
539 pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
543 self.description = input;
544 self
545 }
546 pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
550 &self.description
551 }
552 pub fn max_worker_count(mut self, input: i32) -> Self {
555 self.max_worker_count = ::std::option::Option::Some(input);
556 self
557 }
558 pub fn set_max_worker_count(mut self, input: ::std::option::Option<i32>) -> Self {
561 self.max_worker_count = input;
562 self
563 }
564 pub fn get_max_worker_count(&self) -> &::std::option::Option<i32> {
567 &self.max_worker_count
568 }
569 pub fn source_job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
571 self.source_job_id = ::std::option::Option::Some(input.into());
572 self
573 }
574 pub fn set_source_job_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
576 self.source_job_id = input;
577 self
578 }
579 pub fn get_source_job_id(&self) -> &::std::option::Option<::std::string::String> {
581 &self.source_job_id
582 }
583 pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
584 self._request_id = Some(request_id.into());
585 self
586 }
587
588 pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
589 self._request_id = request_id;
590 self
591 }
592 pub fn build(self) -> ::std::result::Result<crate::operation::get_job::GetJobOutput, ::aws_smithy_types::error::operation::BuildError> {
602 ::std::result::Result::Ok(crate::operation::get_job::GetJobOutput {
603 job_id: self.job_id.ok_or_else(|| {
604 ::aws_smithy_types::error::operation::BuildError::missing_field(
605 "job_id",
606 "job_id was not specified but it is required when building GetJobOutput",
607 )
608 })?,
609 name: self.name.ok_or_else(|| {
610 ::aws_smithy_types::error::operation::BuildError::missing_field(
611 "name",
612 "name was not specified but it is required when building GetJobOutput",
613 )
614 })?,
615 lifecycle_status: self.lifecycle_status.ok_or_else(|| {
616 ::aws_smithy_types::error::operation::BuildError::missing_field(
617 "lifecycle_status",
618 "lifecycle_status was not specified but it is required when building GetJobOutput",
619 )
620 })?,
621 lifecycle_status_message: self.lifecycle_status_message.ok_or_else(|| {
622 ::aws_smithy_types::error::operation::BuildError::missing_field(
623 "lifecycle_status_message",
624 "lifecycle_status_message was not specified but it is required when building GetJobOutput",
625 )
626 })?,
627 priority: self.priority.ok_or_else(|| {
628 ::aws_smithy_types::error::operation::BuildError::missing_field(
629 "priority",
630 "priority was not specified but it is required when building GetJobOutput",
631 )
632 })?,
633 created_at: self.created_at.ok_or_else(|| {
634 ::aws_smithy_types::error::operation::BuildError::missing_field(
635 "created_at",
636 "created_at was not specified but it is required when building GetJobOutput",
637 )
638 })?,
639 created_by: self.created_by.ok_or_else(|| {
640 ::aws_smithy_types::error::operation::BuildError::missing_field(
641 "created_by",
642 "created_by was not specified but it is required when building GetJobOutput",
643 )
644 })?,
645 updated_at: self.updated_at,
646 updated_by: self.updated_by,
647 started_at: self.started_at,
648 ended_at: self.ended_at,
649 task_run_status: self.task_run_status,
650 target_task_run_status: self.target_task_run_status,
651 task_run_status_counts: self.task_run_status_counts,
652 task_failure_retry_count: self.task_failure_retry_count,
653 storage_profile_id: self.storage_profile_id,
654 max_failed_tasks_count: self.max_failed_tasks_count,
655 max_retries_per_task: self.max_retries_per_task,
656 parameters: self.parameters,
657 attachments: self.attachments,
658 description: self.description,
659 max_worker_count: self.max_worker_count,
660 source_job_id: self.source_job_id,
661 _request_id: self._request_id,
662 })
663 }
664}
665impl ::std::fmt::Debug for GetJobOutputBuilder {
666 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
667 let mut formatter = f.debug_struct("GetJobOutputBuilder");
668 formatter.field("job_id", &self.job_id);
669 formatter.field("name", &self.name);
670 formatter.field("lifecycle_status", &self.lifecycle_status);
671 formatter.field("lifecycle_status_message", &self.lifecycle_status_message);
672 formatter.field("priority", &self.priority);
673 formatter.field("created_at", &self.created_at);
674 formatter.field("created_by", &self.created_by);
675 formatter.field("updated_at", &self.updated_at);
676 formatter.field("updated_by", &self.updated_by);
677 formatter.field("started_at", &self.started_at);
678 formatter.field("ended_at", &self.ended_at);
679 formatter.field("task_run_status", &self.task_run_status);
680 formatter.field("target_task_run_status", &self.target_task_run_status);
681 formatter.field("task_run_status_counts", &self.task_run_status_counts);
682 formatter.field("task_failure_retry_count", &self.task_failure_retry_count);
683 formatter.field("storage_profile_id", &self.storage_profile_id);
684 formatter.field("max_failed_tasks_count", &self.max_failed_tasks_count);
685 formatter.field("max_retries_per_task", &self.max_retries_per_task);
686 formatter.field("parameters", &"*** Sensitive Data Redacted ***");
687 formatter.field("attachments", &self.attachments);
688 formatter.field("description", &"*** Sensitive Data Redacted ***");
689 formatter.field("max_worker_count", &self.max_worker_count);
690 formatter.field("source_job_id", &self.source_job_id);
691 formatter.field("_request_id", &self._request_id);
692 formatter.finish()
693 }
694}