aws_sdk_omics/operation/start_run/_start_run_input.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct StartRunInput {
6 /// <p>The run's workflow ID.</p>
7 pub workflow_id: ::std::option::Option<::std::string::String>,
8 /// <p>The run's workflow type.</p>
9 pub workflow_type: ::std::option::Option<crate::types::WorkflowType>,
10 /// <p>The ID of a run to duplicate.</p>
11 pub run_id: ::std::option::Option<::std::string::String>,
12 /// <p>A service role for the run.</p>
13 pub role_arn: ::std::option::Option<::std::string::String>,
14 /// <p>A name for the run.</p>
15 pub name: ::std::option::Option<::std::string::String>,
16 /// <p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.</p>
17 pub cache_id: ::std::option::Option<::std::string::String>,
18 /// <p>The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
19 pub cache_behavior: ::std::option::Option<crate::types::CacheBehavior>,
20 /// <p>The run's group ID.</p>
21 pub run_group_id: ::std::option::Option<::std::string::String>,
22 /// <p>A priority for the run.</p>
23 pub priority: ::std::option::Option<i32>,
24 /// <p>Parameters for the run.</p>
25 pub parameters: ::std::option::Option<::aws_smithy_types::Document>,
26 /// <p>A storage capacity for the run in gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).</p>
27 pub storage_capacity: ::std::option::Option<i32>,
28 /// <p>An output URI for the run.</p>
29 pub output_uri: ::std::option::Option<::std::string::String>,
30 /// <p>A log level for the run.</p>
31 pub log_level: ::std::option::Option<crate::types::RunLogLevel>,
32 /// <p>Tags for the run.</p>
33 pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
34 /// <p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>
35 pub request_id: ::std::option::Option<::std::string::String>,
36 /// <p>The retention mode for the run. The default value is RETAIN.</p>
37 /// <p>HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to <code>REMOVE</code>, HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p>
38 /// <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a> in the <i>AWS HealthOmics User Guide</i>.</p>
39 pub retention_mode: ::std::option::Option<crate::types::RunRetentionMode>,
40 /// <p>The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.</p>
41 pub storage_type: ::std::option::Option<crate::types::StorageType>,
42 /// <p>The ID of the workflow owner.</p>
43 pub workflow_owner_id: ::std::option::Option<::std::string::String>,
44}
45impl StartRunInput {
46 /// <p>The run's workflow ID.</p>
47 pub fn workflow_id(&self) -> ::std::option::Option<&str> {
48 self.workflow_id.as_deref()
49 }
50 /// <p>The run's workflow type.</p>
51 pub fn workflow_type(&self) -> ::std::option::Option<&crate::types::WorkflowType> {
52 self.workflow_type.as_ref()
53 }
54 /// <p>The ID of a run to duplicate.</p>
55 pub fn run_id(&self) -> ::std::option::Option<&str> {
56 self.run_id.as_deref()
57 }
58 /// <p>A service role for the run.</p>
59 pub fn role_arn(&self) -> ::std::option::Option<&str> {
60 self.role_arn.as_deref()
61 }
62 /// <p>A name for the run.</p>
63 pub fn name(&self) -> ::std::option::Option<&str> {
64 self.name.as_deref()
65 }
66 /// <p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.</p>
67 pub fn cache_id(&self) -> ::std::option::Option<&str> {
68 self.cache_id.as_deref()
69 }
70 /// <p>The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
71 pub fn cache_behavior(&self) -> ::std::option::Option<&crate::types::CacheBehavior> {
72 self.cache_behavior.as_ref()
73 }
74 /// <p>The run's group ID.</p>
75 pub fn run_group_id(&self) -> ::std::option::Option<&str> {
76 self.run_group_id.as_deref()
77 }
78 /// <p>A priority for the run.</p>
79 pub fn priority(&self) -> ::std::option::Option<i32> {
80 self.priority
81 }
82 /// <p>Parameters for the run.</p>
83 pub fn parameters(&self) -> ::std::option::Option<&::aws_smithy_types::Document> {
84 self.parameters.as_ref()
85 }
86 /// <p>A storage capacity for the run in gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).</p>
87 pub fn storage_capacity(&self) -> ::std::option::Option<i32> {
88 self.storage_capacity
89 }
90 /// <p>An output URI for the run.</p>
91 pub fn output_uri(&self) -> ::std::option::Option<&str> {
92 self.output_uri.as_deref()
93 }
94 /// <p>A log level for the run.</p>
95 pub fn log_level(&self) -> ::std::option::Option<&crate::types::RunLogLevel> {
96 self.log_level.as_ref()
97 }
98 /// <p>Tags for the run.</p>
99 pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
100 self.tags.as_ref()
101 }
102 /// <p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>
103 pub fn request_id(&self) -> ::std::option::Option<&str> {
104 self.request_id.as_deref()
105 }
106 /// <p>The retention mode for the run. The default value is RETAIN.</p>
107 /// <p>HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to <code>REMOVE</code>, HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p>
108 /// <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a> in the <i>AWS HealthOmics User Guide</i>.</p>
109 pub fn retention_mode(&self) -> ::std::option::Option<&crate::types::RunRetentionMode> {
110 self.retention_mode.as_ref()
111 }
112 /// <p>The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.</p>
113 pub fn storage_type(&self) -> ::std::option::Option<&crate::types::StorageType> {
114 self.storage_type.as_ref()
115 }
116 /// <p>The ID of the workflow owner.</p>
117 pub fn workflow_owner_id(&self) -> ::std::option::Option<&str> {
118 self.workflow_owner_id.as_deref()
119 }
120}
121impl StartRunInput {
122 /// Creates a new builder-style object to manufacture [`StartRunInput`](crate::operation::start_run::StartRunInput).
123 pub fn builder() -> crate::operation::start_run::builders::StartRunInputBuilder {
124 crate::operation::start_run::builders::StartRunInputBuilder::default()
125 }
126}
127
128/// A builder for [`StartRunInput`](crate::operation::start_run::StartRunInput).
129#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
130#[non_exhaustive]
131pub struct StartRunInputBuilder {
132 pub(crate) workflow_id: ::std::option::Option<::std::string::String>,
133 pub(crate) workflow_type: ::std::option::Option<crate::types::WorkflowType>,
134 pub(crate) run_id: ::std::option::Option<::std::string::String>,
135 pub(crate) role_arn: ::std::option::Option<::std::string::String>,
136 pub(crate) name: ::std::option::Option<::std::string::String>,
137 pub(crate) cache_id: ::std::option::Option<::std::string::String>,
138 pub(crate) cache_behavior: ::std::option::Option<crate::types::CacheBehavior>,
139 pub(crate) run_group_id: ::std::option::Option<::std::string::String>,
140 pub(crate) priority: ::std::option::Option<i32>,
141 pub(crate) parameters: ::std::option::Option<::aws_smithy_types::Document>,
142 pub(crate) storage_capacity: ::std::option::Option<i32>,
143 pub(crate) output_uri: ::std::option::Option<::std::string::String>,
144 pub(crate) log_level: ::std::option::Option<crate::types::RunLogLevel>,
145 pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
146 pub(crate) request_id: ::std::option::Option<::std::string::String>,
147 pub(crate) retention_mode: ::std::option::Option<crate::types::RunRetentionMode>,
148 pub(crate) storage_type: ::std::option::Option<crate::types::StorageType>,
149 pub(crate) workflow_owner_id: ::std::option::Option<::std::string::String>,
150}
151impl StartRunInputBuilder {
152 /// <p>The run's workflow ID.</p>
153 pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
154 self.workflow_id = ::std::option::Option::Some(input.into());
155 self
156 }
157 /// <p>The run's workflow ID.</p>
158 pub fn set_workflow_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
159 self.workflow_id = input;
160 self
161 }
162 /// <p>The run's workflow ID.</p>
163 pub fn get_workflow_id(&self) -> &::std::option::Option<::std::string::String> {
164 &self.workflow_id
165 }
166 /// <p>The run's workflow type.</p>
167 pub fn workflow_type(mut self, input: crate::types::WorkflowType) -> Self {
168 self.workflow_type = ::std::option::Option::Some(input);
169 self
170 }
171 /// <p>The run's workflow type.</p>
172 pub fn set_workflow_type(mut self, input: ::std::option::Option<crate::types::WorkflowType>) -> Self {
173 self.workflow_type = input;
174 self
175 }
176 /// <p>The run's workflow type.</p>
177 pub fn get_workflow_type(&self) -> &::std::option::Option<crate::types::WorkflowType> {
178 &self.workflow_type
179 }
180 /// <p>The ID of a run to duplicate.</p>
181 pub fn run_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
182 self.run_id = ::std::option::Option::Some(input.into());
183 self
184 }
185 /// <p>The ID of a run to duplicate.</p>
186 pub fn set_run_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
187 self.run_id = input;
188 self
189 }
190 /// <p>The ID of a run to duplicate.</p>
191 pub fn get_run_id(&self) -> &::std::option::Option<::std::string::String> {
192 &self.run_id
193 }
194 /// <p>A service role for the run.</p>
195 /// This field is required.
196 pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
197 self.role_arn = ::std::option::Option::Some(input.into());
198 self
199 }
200 /// <p>A service role for the run.</p>
201 pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
202 self.role_arn = input;
203 self
204 }
205 /// <p>A service role for the run.</p>
206 pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
207 &self.role_arn
208 }
209 /// <p>A name for the run.</p>
210 pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
211 self.name = ::std::option::Option::Some(input.into());
212 self
213 }
214 /// <p>A name for the run.</p>
215 pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
216 self.name = input;
217 self
218 }
219 /// <p>A name for the run.</p>
220 pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
221 &self.name
222 }
223 /// <p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.</p>
224 pub fn cache_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
225 self.cache_id = ::std::option::Option::Some(input.into());
226 self
227 }
228 /// <p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.</p>
229 pub fn set_cache_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
230 self.cache_id = input;
231 self
232 }
233 /// <p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.</p>
234 pub fn get_cache_id(&self) -> &::std::option::Option<::std::string::String> {
235 &self.cache_id
236 }
237 /// <p>The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
238 pub fn cache_behavior(mut self, input: crate::types::CacheBehavior) -> Self {
239 self.cache_behavior = ::std::option::Option::Some(input);
240 self
241 }
242 /// <p>The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
243 pub fn set_cache_behavior(mut self, input: ::std::option::Option<crate::types::CacheBehavior>) -> Self {
244 self.cache_behavior = input;
245 self
246 }
247 /// <p>The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
248 pub fn get_cache_behavior(&self) -> &::std::option::Option<crate::types::CacheBehavior> {
249 &self.cache_behavior
250 }
251 /// <p>The run's group ID.</p>
252 pub fn run_group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
253 self.run_group_id = ::std::option::Option::Some(input.into());
254 self
255 }
256 /// <p>The run's group ID.</p>
257 pub fn set_run_group_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
258 self.run_group_id = input;
259 self
260 }
261 /// <p>The run's group ID.</p>
262 pub fn get_run_group_id(&self) -> &::std::option::Option<::std::string::String> {
263 &self.run_group_id
264 }
265 /// <p>A priority for the run.</p>
266 pub fn priority(mut self, input: i32) -> Self {
267 self.priority = ::std::option::Option::Some(input);
268 self
269 }
270 /// <p>A priority for the run.</p>
271 pub fn set_priority(mut self, input: ::std::option::Option<i32>) -> Self {
272 self.priority = input;
273 self
274 }
275 /// <p>A priority for the run.</p>
276 pub fn get_priority(&self) -> &::std::option::Option<i32> {
277 &self.priority
278 }
279 /// <p>Parameters for the run.</p>
280 pub fn parameters(mut self, input: ::aws_smithy_types::Document) -> Self {
281 self.parameters = ::std::option::Option::Some(input);
282 self
283 }
284 /// <p>Parameters for the run.</p>
285 pub fn set_parameters(mut self, input: ::std::option::Option<::aws_smithy_types::Document>) -> Self {
286 self.parameters = input;
287 self
288 }
289 /// <p>Parameters for the run.</p>
290 pub fn get_parameters(&self) -> &::std::option::Option<::aws_smithy_types::Document> {
291 &self.parameters
292 }
293 /// <p>A storage capacity for the run in gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).</p>
294 pub fn storage_capacity(mut self, input: i32) -> Self {
295 self.storage_capacity = ::std::option::Option::Some(input);
296 self
297 }
298 /// <p>A storage capacity for the run in gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).</p>
299 pub fn set_storage_capacity(mut self, input: ::std::option::Option<i32>) -> Self {
300 self.storage_capacity = input;
301 self
302 }
303 /// <p>A storage capacity for the run in gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).</p>
304 pub fn get_storage_capacity(&self) -> &::std::option::Option<i32> {
305 &self.storage_capacity
306 }
307 /// <p>An output URI for the run.</p>
308 pub fn output_uri(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
309 self.output_uri = ::std::option::Option::Some(input.into());
310 self
311 }
312 /// <p>An output URI for the run.</p>
313 pub fn set_output_uri(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
314 self.output_uri = input;
315 self
316 }
317 /// <p>An output URI for the run.</p>
318 pub fn get_output_uri(&self) -> &::std::option::Option<::std::string::String> {
319 &self.output_uri
320 }
321 /// <p>A log level for the run.</p>
322 pub fn log_level(mut self, input: crate::types::RunLogLevel) -> Self {
323 self.log_level = ::std::option::Option::Some(input);
324 self
325 }
326 /// <p>A log level for the run.</p>
327 pub fn set_log_level(mut self, input: ::std::option::Option<crate::types::RunLogLevel>) -> Self {
328 self.log_level = input;
329 self
330 }
331 /// <p>A log level for the run.</p>
332 pub fn get_log_level(&self) -> &::std::option::Option<crate::types::RunLogLevel> {
333 &self.log_level
334 }
335 /// Adds a key-value pair to `tags`.
336 ///
337 /// To override the contents of this collection use [`set_tags`](Self::set_tags).
338 ///
339 /// <p>Tags for the run.</p>
340 pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
341 let mut hash_map = self.tags.unwrap_or_default();
342 hash_map.insert(k.into(), v.into());
343 self.tags = ::std::option::Option::Some(hash_map);
344 self
345 }
346 /// <p>Tags for the run.</p>
347 pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
348 self.tags = input;
349 self
350 }
351 /// <p>Tags for the run.</p>
352 pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
353 &self.tags
354 }
355 /// <p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>
356 /// This field is required.
357 pub fn request_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
358 self.request_id = ::std::option::Option::Some(input.into());
359 self
360 }
361 /// <p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>
362 pub fn set_request_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
363 self.request_id = input;
364 self
365 }
366 /// <p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>
367 pub fn get_request_id(&self) -> &::std::option::Option<::std::string::String> {
368 &self.request_id
369 }
370 /// <p>The retention mode for the run. The default value is RETAIN.</p>
371 /// <p>HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to <code>REMOVE</code>, HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p>
372 /// <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a> in the <i>AWS HealthOmics User Guide</i>.</p>
373 pub fn retention_mode(mut self, input: crate::types::RunRetentionMode) -> Self {
374 self.retention_mode = ::std::option::Option::Some(input);
375 self
376 }
377 /// <p>The retention mode for the run. The default value is RETAIN.</p>
378 /// <p>HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to <code>REMOVE</code>, HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p>
379 /// <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a> in the <i>AWS HealthOmics User Guide</i>.</p>
380 pub fn set_retention_mode(mut self, input: ::std::option::Option<crate::types::RunRetentionMode>) -> Self {
381 self.retention_mode = input;
382 self
383 }
384 /// <p>The retention mode for the run. The default value is RETAIN.</p>
385 /// <p>HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to <code>REMOVE</code>, HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p>
386 /// <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a> in the <i>AWS HealthOmics User Guide</i>.</p>
387 pub fn get_retention_mode(&self) -> &::std::option::Option<crate::types::RunRetentionMode> {
388 &self.retention_mode
389 }
390 /// <p>The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.</p>
391 pub fn storage_type(mut self, input: crate::types::StorageType) -> Self {
392 self.storage_type = ::std::option::Option::Some(input);
393 self
394 }
395 /// <p>The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.</p>
396 pub fn set_storage_type(mut self, input: ::std::option::Option<crate::types::StorageType>) -> Self {
397 self.storage_type = input;
398 self
399 }
400 /// <p>The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.</p>
401 pub fn get_storage_type(&self) -> &::std::option::Option<crate::types::StorageType> {
402 &self.storage_type
403 }
404 /// <p>The ID of the workflow owner.</p>
405 pub fn workflow_owner_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
406 self.workflow_owner_id = ::std::option::Option::Some(input.into());
407 self
408 }
409 /// <p>The ID of the workflow owner.</p>
410 pub fn set_workflow_owner_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
411 self.workflow_owner_id = input;
412 self
413 }
414 /// <p>The ID of the workflow owner.</p>
415 pub fn get_workflow_owner_id(&self) -> &::std::option::Option<::std::string::String> {
416 &self.workflow_owner_id
417 }
418 /// Consumes the builder and constructs a [`StartRunInput`](crate::operation::start_run::StartRunInput).
419 pub fn build(self) -> ::std::result::Result<crate::operation::start_run::StartRunInput, ::aws_smithy_types::error::operation::BuildError> {
420 ::std::result::Result::Ok(crate::operation::start_run::StartRunInput {
421 workflow_id: self.workflow_id,
422 workflow_type: self.workflow_type,
423 run_id: self.run_id,
424 role_arn: self.role_arn,
425 name: self.name,
426 cache_id: self.cache_id,
427 cache_behavior: self.cache_behavior,
428 run_group_id: self.run_group_id,
429 priority: self.priority,
430 parameters: self.parameters,
431 storage_capacity: self.storage_capacity,
432 output_uri: self.output_uri,
433 log_level: self.log_level,
434 tags: self.tags,
435 request_id: self.request_id,
436 retention_mode: self.retention_mode,
437 storage_type: self.storage_type,
438 workflow_owner_id: self.workflow_owner_id,
439 })
440 }
441}