aws-sdk-eks 1.128.0

AWS SDK for Amazon Elastic Kubernetes 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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>An object representing a managed capability in an Amazon EKS cluster. This includes all configuration, status, and health information for the capability.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct Capability {
    /// <p>The unique name of the capability within the cluster.</p>
    pub capability_name: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Resource Name (ARN) of the capability.</p>
    pub arn: ::std::option::Option<::std::string::String>,
    /// <p>The name of the Amazon EKS cluster that contains this capability.</p>
    pub cluster_name: ::std::option::Option<::std::string::String>,
    /// <p>The type of capability. Valid values are <code>ACK</code>, <code>ARGOCD</code>, or <code>KRO</code>.</p>
    pub r#type: ::std::option::Option<crate::types::CapabilityType>,
    /// <p>The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.</p>
    pub role_arn: ::std::option::Option<::std::string::String>,
    /// <p>The current status of the capability. Valid values include:</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATING</code> – The capability is being created.</p></li>
    /// <li>
    /// <p><code>ACTIVE</code> – The capability is running and available.</p></li>
    /// <li>
    /// <p><code>UPDATING</code> – The capability is being updated.</p></li>
    /// <li>
    /// <p><code>DELETING</code> – The capability is being deleted.</p></li>
    /// <li>
    /// <p><code>CREATE_FAILED</code> – The capability creation failed.</p></li>
    /// <li>
    /// <p><code>UPDATE_FAILED</code> – The capability update failed.</p></li>
    /// <li>
    /// <p><code>DELETE_FAILED</code> – The capability deletion failed.</p></li>
    /// </ul>
    pub status: ::std::option::Option<crate::types::CapabilityStatus>,
    /// <p>The version of the capability software that is currently running.</p>
    pub version: ::std::option::Option<::std::string::String>,
    /// <p>The configuration settings for the capability. The structure varies depending on the capability type.</p>
    pub configuration: ::std::option::Option<crate::types::CapabilityConfigurationResponse>,
    /// <p>The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.</p>
    /// <p>The following basic restrictions apply to tags:</p>
    /// <ul>
    /// <li>
    /// <p>Maximum number of tags per resource – 50</p></li>
    /// <li>
    /// <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p></li>
    /// <li>
    /// <p>Maximum key length – 128 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>Maximum value length – 256 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p></li>
    /// <li>
    /// <p>Tag keys and values are case-sensitive.</p></li>
    /// <li>
    /// <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.</p></li>
    /// </ul>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>Health information for the capability, including any issues that may be affecting its operation.</p>
    pub health: ::std::option::Option<crate::types::CapabilityHealth>,
    /// <p>The Unix epoch timestamp in seconds for when the capability was created.</p>
    pub created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The Unix epoch timestamp in seconds for when the capability was last modified.</p>
    pub modified_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The delete propagation policy for the capability. Currently, the only supported value is <code>RETAIN</code>, which keeps all resources managed by the capability when the capability is deleted.</p>
    pub delete_propagation_policy: ::std::option::Option<crate::types::CapabilityDeletePropagationPolicy>,
}
impl Capability {
    /// <p>The unique name of the capability within the cluster.</p>
    pub fn capability_name(&self) -> ::std::option::Option<&str> {
        self.capability_name.as_deref()
    }
    /// <p>The Amazon Resource Name (ARN) of the capability.</p>
    pub fn arn(&self) -> ::std::option::Option<&str> {
        self.arn.as_deref()
    }
    /// <p>The name of the Amazon EKS cluster that contains this capability.</p>
    pub fn cluster_name(&self) -> ::std::option::Option<&str> {
        self.cluster_name.as_deref()
    }
    /// <p>The type of capability. Valid values are <code>ACK</code>, <code>ARGOCD</code>, or <code>KRO</code>.</p>
    pub fn r#type(&self) -> ::std::option::Option<&crate::types::CapabilityType> {
        self.r#type.as_ref()
    }
    /// <p>The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.</p>
    pub fn role_arn(&self) -> ::std::option::Option<&str> {
        self.role_arn.as_deref()
    }
    /// <p>The current status of the capability. Valid values include:</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATING</code> – The capability is being created.</p></li>
    /// <li>
    /// <p><code>ACTIVE</code> – The capability is running and available.</p></li>
    /// <li>
    /// <p><code>UPDATING</code> – The capability is being updated.</p></li>
    /// <li>
    /// <p><code>DELETING</code> – The capability is being deleted.</p></li>
    /// <li>
    /// <p><code>CREATE_FAILED</code> – The capability creation failed.</p></li>
    /// <li>
    /// <p><code>UPDATE_FAILED</code> – The capability update failed.</p></li>
    /// <li>
    /// <p><code>DELETE_FAILED</code> – The capability deletion failed.</p></li>
    /// </ul>
    pub fn status(&self) -> ::std::option::Option<&crate::types::CapabilityStatus> {
        self.status.as_ref()
    }
    /// <p>The version of the capability software that is currently running.</p>
    pub fn version(&self) -> ::std::option::Option<&str> {
        self.version.as_deref()
    }
    /// <p>The configuration settings for the capability. The structure varies depending on the capability type.</p>
    pub fn configuration(&self) -> ::std::option::Option<&crate::types::CapabilityConfigurationResponse> {
        self.configuration.as_ref()
    }
    /// <p>The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.</p>
    /// <p>The following basic restrictions apply to tags:</p>
    /// <ul>
    /// <li>
    /// <p>Maximum number of tags per resource – 50</p></li>
    /// <li>
    /// <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p></li>
    /// <li>
    /// <p>Maximum key length – 128 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>Maximum value length – 256 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p></li>
    /// <li>
    /// <p>Tag keys and values are case-sensitive.</p></li>
    /// <li>
    /// <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.</p></li>
    /// </ul>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>Health information for the capability, including any issues that may be affecting its operation.</p>
    pub fn health(&self) -> ::std::option::Option<&crate::types::CapabilityHealth> {
        self.health.as_ref()
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was created.</p>
    pub fn created_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.created_at.as_ref()
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was last modified.</p>
    pub fn modified_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.modified_at.as_ref()
    }
    /// <p>The delete propagation policy for the capability. Currently, the only supported value is <code>RETAIN</code>, which keeps all resources managed by the capability when the capability is deleted.</p>
    pub fn delete_propagation_policy(&self) -> ::std::option::Option<&crate::types::CapabilityDeletePropagationPolicy> {
        self.delete_propagation_policy.as_ref()
    }
}
impl Capability {
    /// Creates a new builder-style object to manufacture [`Capability`](crate::types::Capability).
    pub fn builder() -> crate::types::builders::CapabilityBuilder {
        crate::types::builders::CapabilityBuilder::default()
    }
}

/// A builder for [`Capability`](crate::types::Capability).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct CapabilityBuilder {
    pub(crate) capability_name: ::std::option::Option<::std::string::String>,
    pub(crate) arn: ::std::option::Option<::std::string::String>,
    pub(crate) cluster_name: ::std::option::Option<::std::string::String>,
    pub(crate) r#type: ::std::option::Option<crate::types::CapabilityType>,
    pub(crate) role_arn: ::std::option::Option<::std::string::String>,
    pub(crate) status: ::std::option::Option<crate::types::CapabilityStatus>,
    pub(crate) version: ::std::option::Option<::std::string::String>,
    pub(crate) configuration: ::std::option::Option<crate::types::CapabilityConfigurationResponse>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) health: ::std::option::Option<crate::types::CapabilityHealth>,
    pub(crate) created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) modified_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) delete_propagation_policy: ::std::option::Option<crate::types::CapabilityDeletePropagationPolicy>,
}
impl CapabilityBuilder {
    /// <p>The unique name of the capability within the cluster.</p>
    pub fn capability_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.capability_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique name of the capability within the cluster.</p>
    pub fn set_capability_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.capability_name = input;
        self
    }
    /// <p>The unique name of the capability within the cluster.</p>
    pub fn get_capability_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.capability_name
    }
    /// <p>The Amazon Resource Name (ARN) of the capability.</p>
    pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the capability.</p>
    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the capability.</p>
    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.arn
    }
    /// <p>The name of the Amazon EKS cluster that contains this capability.</p>
    pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.cluster_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the Amazon EKS cluster that contains this capability.</p>
    pub fn set_cluster_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.cluster_name = input;
        self
    }
    /// <p>The name of the Amazon EKS cluster that contains this capability.</p>
    pub fn get_cluster_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.cluster_name
    }
    /// <p>The type of capability. Valid values are <code>ACK</code>, <code>ARGOCD</code>, or <code>KRO</code>.</p>
    pub fn r#type(mut self, input: crate::types::CapabilityType) -> Self {
        self.r#type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The type of capability. Valid values are <code>ACK</code>, <code>ARGOCD</code>, or <code>KRO</code>.</p>
    pub fn set_type(mut self, input: ::std::option::Option<crate::types::CapabilityType>) -> Self {
        self.r#type = input;
        self
    }
    /// <p>The type of capability. Valid values are <code>ACK</code>, <code>ARGOCD</code>, or <code>KRO</code>.</p>
    pub fn get_type(&self) -> &::std::option::Option<crate::types::CapabilityType> {
        &self.r#type
    }
    /// <p>The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.</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 the IAM role that the capability uses to interact with Amazon Web Services services.</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 the IAM role that the capability uses to interact with Amazon Web Services services.</p>
    pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.role_arn
    }
    /// <p>The current status of the capability. Valid values include:</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATING</code> – The capability is being created.</p></li>
    /// <li>
    /// <p><code>ACTIVE</code> – The capability is running and available.</p></li>
    /// <li>
    /// <p><code>UPDATING</code> – The capability is being updated.</p></li>
    /// <li>
    /// <p><code>DELETING</code> – The capability is being deleted.</p></li>
    /// <li>
    /// <p><code>CREATE_FAILED</code> – The capability creation failed.</p></li>
    /// <li>
    /// <p><code>UPDATE_FAILED</code> – The capability update failed.</p></li>
    /// <li>
    /// <p><code>DELETE_FAILED</code> – The capability deletion failed.</p></li>
    /// </ul>
    pub fn status(mut self, input: crate::types::CapabilityStatus) -> Self {
        self.status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The current status of the capability. Valid values include:</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATING</code> – The capability is being created.</p></li>
    /// <li>
    /// <p><code>ACTIVE</code> – The capability is running and available.</p></li>
    /// <li>
    /// <p><code>UPDATING</code> – The capability is being updated.</p></li>
    /// <li>
    /// <p><code>DELETING</code> – The capability is being deleted.</p></li>
    /// <li>
    /// <p><code>CREATE_FAILED</code> – The capability creation failed.</p></li>
    /// <li>
    /// <p><code>UPDATE_FAILED</code> – The capability update failed.</p></li>
    /// <li>
    /// <p><code>DELETE_FAILED</code> – The capability deletion failed.</p></li>
    /// </ul>
    pub fn set_status(mut self, input: ::std::option::Option<crate::types::CapabilityStatus>) -> Self {
        self.status = input;
        self
    }
    /// <p>The current status of the capability. Valid values include:</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATING</code> – The capability is being created.</p></li>
    /// <li>
    /// <p><code>ACTIVE</code> – The capability is running and available.</p></li>
    /// <li>
    /// <p><code>UPDATING</code> – The capability is being updated.</p></li>
    /// <li>
    /// <p><code>DELETING</code> – The capability is being deleted.</p></li>
    /// <li>
    /// <p><code>CREATE_FAILED</code> – The capability creation failed.</p></li>
    /// <li>
    /// <p><code>UPDATE_FAILED</code> – The capability update failed.</p></li>
    /// <li>
    /// <p><code>DELETE_FAILED</code> – The capability deletion failed.</p></li>
    /// </ul>
    pub fn get_status(&self) -> &::std::option::Option<crate::types::CapabilityStatus> {
        &self.status
    }
    /// <p>The version of the capability software that is currently running.</p>
    pub fn version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.version = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The version of the capability software that is currently running.</p>
    pub fn set_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.version = input;
        self
    }
    /// <p>The version of the capability software that is currently running.</p>
    pub fn get_version(&self) -> &::std::option::Option<::std::string::String> {
        &self.version
    }
    /// <p>The configuration settings for the capability. The structure varies depending on the capability type.</p>
    pub fn configuration(mut self, input: crate::types::CapabilityConfigurationResponse) -> Self {
        self.configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration settings for the capability. The structure varies depending on the capability type.</p>
    pub fn set_configuration(mut self, input: ::std::option::Option<crate::types::CapabilityConfigurationResponse>) -> Self {
        self.configuration = input;
        self
    }
    /// <p>The configuration settings for the capability. The structure varies depending on the capability type.</p>
    pub fn get_configuration(&self) -> &::std::option::Option<crate::types::CapabilityConfigurationResponse> {
        &self.configuration
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.</p>
    /// <p>The following basic restrictions apply to tags:</p>
    /// <ul>
    /// <li>
    /// <p>Maximum number of tags per resource – 50</p></li>
    /// <li>
    /// <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p></li>
    /// <li>
    /// <p>Maximum key length – 128 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>Maximum value length – 256 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p></li>
    /// <li>
    /// <p>Tag keys and values are case-sensitive.</p></li>
    /// <li>
    /// <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.</p></li>
    /// </ul>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.</p>
    /// <p>The following basic restrictions apply to tags:</p>
    /// <ul>
    /// <li>
    /// <p>Maximum number of tags per resource – 50</p></li>
    /// <li>
    /// <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p></li>
    /// <li>
    /// <p>Maximum key length – 128 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>Maximum value length – 256 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p></li>
    /// <li>
    /// <p>Tag keys and values are case-sensitive.</p></li>
    /// <li>
    /// <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.</p></li>
    /// </ul>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.</p>
    /// <p>The following basic restrictions apply to tags:</p>
    /// <ul>
    /// <li>
    /// <p>Maximum number of tags per resource – 50</p></li>
    /// <li>
    /// <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p></li>
    /// <li>
    /// <p>Maximum key length – 128 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>Maximum value length – 256 Unicode characters in UTF-8</p></li>
    /// <li>
    /// <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p></li>
    /// <li>
    /// <p>Tag keys and values are case-sensitive.</p></li>
    /// <li>
    /// <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.</p></li>
    /// </ul>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>Health information for the capability, including any issues that may be affecting its operation.</p>
    pub fn health(mut self, input: crate::types::CapabilityHealth) -> Self {
        self.health = ::std::option::Option::Some(input);
        self
    }
    /// <p>Health information for the capability, including any issues that may be affecting its operation.</p>
    pub fn set_health(mut self, input: ::std::option::Option<crate::types::CapabilityHealth>) -> Self {
        self.health = input;
        self
    }
    /// <p>Health information for the capability, including any issues that may be affecting its operation.</p>
    pub fn get_health(&self) -> &::std::option::Option<crate::types::CapabilityHealth> {
        &self.health
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was created.</p>
    pub fn created_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was created.</p>
    pub fn set_created_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_at = input;
        self
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was created.</p>
    pub fn get_created_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_at
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was last modified.</p>
    pub fn modified_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.modified_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was last modified.</p>
    pub fn set_modified_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.modified_at = input;
        self
    }
    /// <p>The Unix epoch timestamp in seconds for when the capability was last modified.</p>
    pub fn get_modified_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.modified_at
    }
    /// <p>The delete propagation policy for the capability. Currently, the only supported value is <code>RETAIN</code>, which keeps all resources managed by the capability when the capability is deleted.</p>
    pub fn delete_propagation_policy(mut self, input: crate::types::CapabilityDeletePropagationPolicy) -> Self {
        self.delete_propagation_policy = ::std::option::Option::Some(input);
        self
    }
    /// <p>The delete propagation policy for the capability. Currently, the only supported value is <code>RETAIN</code>, which keeps all resources managed by the capability when the capability is deleted.</p>
    pub fn set_delete_propagation_policy(mut self, input: ::std::option::Option<crate::types::CapabilityDeletePropagationPolicy>) -> Self {
        self.delete_propagation_policy = input;
        self
    }
    /// <p>The delete propagation policy for the capability. Currently, the only supported value is <code>RETAIN</code>, which keeps all resources managed by the capability when the capability is deleted.</p>
    pub fn get_delete_propagation_policy(&self) -> &::std::option::Option<crate::types::CapabilityDeletePropagationPolicy> {
        &self.delete_propagation_policy
    }
    /// Consumes the builder and constructs a [`Capability`](crate::types::Capability).
    pub fn build(self) -> crate::types::Capability {
        crate::types::Capability {
            capability_name: self.capability_name,
            arn: self.arn,
            cluster_name: self.cluster_name,
            r#type: self.r#type,
            role_arn: self.role_arn,
            status: self.status,
            version: self.version,
            configuration: self.configuration,
            tags: self.tags,
            health: self.health,
            created_at: self.created_at,
            modified_at: self.modified_at,
            delete_propagation_policy: self.delete_propagation_policy,
        }
    }
}