1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - |
|
3 - | /// <p>Contains details for the backup.</p>
|
2 + | /* StructureGenerator.kt:197 */
|
3 + | /// /* StructureGenerator.kt:197 */<p>Contains details for the backup.</p>
|
4 + | /* RustType.kt:516 */
|
4 5 | #[non_exhaustive]
|
6 + | /* RustType.kt:516 */
|
5 7 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
6 - | pub struct BackupSummary {
|
7 - | /// <p>Name of the table.</p>
|
8 + | pub /* StructureGenerator.kt:201 */ struct BackupSummary {
|
9 + | /// /* StructureGenerator.kt:231 */<p>Name of the table.</p>
|
8 10 | pub table_name: ::std::option::Option<::std::string::String>,
|
9 - | /// <p>Unique identifier for the table.</p>
|
11 + | /// /* StructureGenerator.kt:231 */<p>Unique identifier for the table.</p>
|
10 12 | pub table_id: ::std::option::Option<::std::string::String>,
|
11 - | /// <p>ARN associated with the table.</p>
|
13 + | /// /* StructureGenerator.kt:231 */<p>ARN associated with the table.</p>
|
12 14 | pub table_arn: ::std::option::Option<::std::string::String>,
|
13 - | /// <p>ARN associated with the backup.</p>
|
15 + | /// /* StructureGenerator.kt:231 */<p>ARN associated with the backup.</p>
|
14 16 | pub backup_arn: ::std::option::Option<::std::string::String>,
|
15 - | /// <p>Name of the specified backup.</p>
|
17 + | /// /* StructureGenerator.kt:231 */<p>Name of the specified backup.</p>
|
16 18 | pub backup_name: ::std::option::Option<::std::string::String>,
|
17 - | /// <p>Time at which the backup was created.</p>
|
19 + | /// /* StructureGenerator.kt:231 */<p>Time at which the backup was created.</p>
|
18 20 | pub backup_creation_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
19 - | /// <p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
21 + | /// /* StructureGenerator.kt:231 */<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
20 22 | pub backup_expiry_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
21 - | /// <p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
23 + | /// /* StructureGenerator.kt:231 */<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
22 24 | pub backup_status: ::std::option::Option<crate::types::BackupStatus>,
|
23 - | /// <p>BackupType:</p>
|
25 + | /// /* StructureGenerator.kt:231 */<p>BackupType:</p>
|
24 26 | /// <ul>
|
25 27 | /// <li>
|
26 28 | /// <p><code>USER</code> - You create and manage these using the on-demand backup feature.</p></li>
|
27 29 | /// <li>
|
28 30 | /// <p><code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.</p></li>
|
29 31 | /// <li>
|
30 32 | /// <p><code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p></li>
|
31 33 | /// </ul>
|
32 34 | pub backup_type: ::std::option::Option<crate::types::BackupType>,
|
33 - | /// <p>Size of the backup in bytes.</p>
|
35 + | /// /* StructureGenerator.kt:231 */<p>Size of the backup in bytes.</p>
|
34 36 | pub backup_size_bytes: ::std::option::Option<i64>,
|
37 + | /* StructureGenerator.kt:201 */
|
35 38 | }
|
39 + | /* StructureGenerator.kt:135 */
|
36 40 | impl BackupSummary {
|
37 - | /// <p>Name of the table.</p>
|
41 + | /// /* StructureGenerator.kt:231 */<p>Name of the table.</p>
|
42 + | /* StructureGenerator.kt:166 */
|
38 43 | pub fn table_name(&self) -> ::std::option::Option<&str> {
|
44 + | /* StructureGenerator.kt:169 */
|
39 45 | self.table_name.as_deref()
|
46 + | /* StructureGenerator.kt:166 */
|
40 47 | }
|
41 - | /// <p>Unique identifier for the table.</p>
|
48 + | /// /* StructureGenerator.kt:231 */<p>Unique identifier for the table.</p>
|
49 + | /* StructureGenerator.kt:166 */
|
42 50 | pub fn table_id(&self) -> ::std::option::Option<&str> {
|
51 + | /* StructureGenerator.kt:169 */
|
43 52 | self.table_id.as_deref()
|
53 + | /* StructureGenerator.kt:166 */
|
44 54 | }
|
45 - | /// <p>ARN associated with the table.</p>
|
55 + | /// /* StructureGenerator.kt:231 */<p>ARN associated with the table.</p>
|
56 + | /* StructureGenerator.kt:166 */
|
46 57 | pub fn table_arn(&self) -> ::std::option::Option<&str> {
|
58 + | /* StructureGenerator.kt:169 */
|
47 59 | self.table_arn.as_deref()
|
60 + | /* StructureGenerator.kt:166 */
|
48 61 | }
|
49 - | /// <p>ARN associated with the backup.</p>
|
62 + | /// /* StructureGenerator.kt:231 */<p>ARN associated with the backup.</p>
|
63 + | /* StructureGenerator.kt:166 */
|
50 64 | pub fn backup_arn(&self) -> ::std::option::Option<&str> {
|
65 + | /* StructureGenerator.kt:169 */
|
51 66 | self.backup_arn.as_deref()
|
67 + | /* StructureGenerator.kt:166 */
|
52 68 | }
|
53 - | /// <p>Name of the specified backup.</p>
|
69 + | /// /* StructureGenerator.kt:231 */<p>Name of the specified backup.</p>
|
70 + | /* StructureGenerator.kt:166 */
|
54 71 | pub fn backup_name(&self) -> ::std::option::Option<&str> {
|
72 + | /* StructureGenerator.kt:169 */
|
55 73 | self.backup_name.as_deref()
|
74 + | /* StructureGenerator.kt:166 */
|
56 75 | }
|
57 - | /// <p>Time at which the backup was created.</p>
|
76 + | /// /* StructureGenerator.kt:231 */<p>Time at which the backup was created.</p>
|
77 + | /* StructureGenerator.kt:166 */
|
58 78 | pub fn backup_creation_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
79 + | /* StructureGenerator.kt:170 */
|
59 80 | self.backup_creation_date_time.as_ref()
|
81 + | /* StructureGenerator.kt:166 */
|
60 82 | }
|
61 - | /// <p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
83 + | /// /* StructureGenerator.kt:231 */<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
84 + | /* StructureGenerator.kt:166 */
|
62 85 | pub fn backup_expiry_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
86 + | /* StructureGenerator.kt:170 */
|
63 87 | self.backup_expiry_date_time.as_ref()
|
88 + | /* StructureGenerator.kt:166 */
|
64 89 | }
|
65 - | /// <p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
90 + | /// /* StructureGenerator.kt:231 */<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
91 + | /* StructureGenerator.kt:166 */
|
66 92 | pub fn backup_status(&self) -> ::std::option::Option<&crate::types::BackupStatus> {
|
93 + | /* StructureGenerator.kt:170 */
|
67 94 | self.backup_status.as_ref()
|
95 + | /* StructureGenerator.kt:166 */
|
68 96 | }
|
69 - | /// <p>BackupType:</p>
|
97 + | /// /* StructureGenerator.kt:231 */<p>BackupType:</p>
|
70 98 | /// <ul>
|
71 99 | /// <li>
|
72 100 | /// <p><code>USER</code> - You create and manage these using the on-demand backup feature.</p></li>
|
73 101 | /// <li>
|
74 102 | /// <p><code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.</p></li>
|
75 103 | /// <li>
|
76 104 | /// <p><code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p></li>
|
77 105 | /// </ul>
|
106 + | /* StructureGenerator.kt:166 */
|
78 107 | pub fn backup_type(&self) -> ::std::option::Option<&crate::types::BackupType> {
|
108 + | /* StructureGenerator.kt:170 */
|
79 109 | self.backup_type.as_ref()
|
110 + | /* StructureGenerator.kt:166 */
|
80 111 | }
|
81 - | /// <p>Size of the backup in bytes.</p>
|
112 + | /// /* StructureGenerator.kt:231 */<p>Size of the backup in bytes.</p>
|
113 + | /* StructureGenerator.kt:166 */
|
82 114 | pub fn backup_size_bytes(&self) -> ::std::option::Option<i64> {
|
115 + | /* StructureGenerator.kt:168 */
|
83 116 | self.backup_size_bytes
|
117 + | /* StructureGenerator.kt:166 */
|
84 118 | }
|
119 + | /* StructureGenerator.kt:135 */
|
85 120 | }
|
121 + | /* ClientCodegenVisitor.kt:237 */
|
86 122 | impl BackupSummary {
|
87 - | /// Creates a new builder-style object to manufacture [`BackupSummary`](crate::types::BackupSummary).
|
123 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`BackupSummary`](crate::types::BackupSummary).
|
124 + | /* BuilderGenerator.kt:175 */
|
88 125 | pub fn builder() -> crate::types::builders::BackupSummaryBuilder {
|
126 + | /* BuilderGenerator.kt:176 */
|
89 127 | crate::types::builders::BackupSummaryBuilder::default()
|
128 + | /* BuilderGenerator.kt:175 */
|
90 129 | }
|
130 + | /* ClientCodegenVisitor.kt:237 */
|
91 131 | }
|
92 132 |
|
93 - | /// A builder for [`BackupSummary`](crate::types::BackupSummary).
|
133 + | /// /* BuilderGenerator.kt:342 */A builder for [`BackupSummary`](crate::types::BackupSummary).
|
134 + | /* RustType.kt:516 */
|
94 135 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
136 + | /* RustType.kt:516 */
|
95 137 | #[non_exhaustive]
|
138 + | /* BuilderGenerator.kt:345 */
|
96 139 | pub struct BackupSummaryBuilder {
|
97 - | pub(crate) table_name: ::std::option::Option<::std::string::String>,
|
98 - | pub(crate) table_id: ::std::option::Option<::std::string::String>,
|
99 - | pub(crate) table_arn: ::std::option::Option<::std::string::String>,
|
100 - | pub(crate) backup_arn: ::std::option::Option<::std::string::String>,
|
101 - | pub(crate) backup_name: ::std::option::Option<::std::string::String>,
|
102 - | pub(crate) backup_creation_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
103 - | pub(crate) backup_expiry_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
104 - | pub(crate) backup_status: ::std::option::Option<crate::types::BackupStatus>,
|
105 - | pub(crate) backup_type: ::std::option::Option<crate::types::BackupType>,
|
106 - | pub(crate) backup_size_bytes: ::std::option::Option<i64>,
|
140 + | /* BuilderGenerator.kt:275 */ pub(crate) table_name: ::std::option::Option<::std::string::String>,
|
141 + | /* BuilderGenerator.kt:275 */ pub(crate) table_id: ::std::option::Option<::std::string::String>,
|
142 + | /* BuilderGenerator.kt:275 */ pub(crate) table_arn: ::std::option::Option<::std::string::String>,
|
143 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_arn: ::std::option::Option<::std::string::String>,
|
144 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_name: ::std::option::Option<::std::string::String>,
|
145 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_creation_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
146 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_expiry_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
147 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_status: ::std::option::Option<crate::types::BackupStatus>,
|
148 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_type: ::std::option::Option<crate::types::BackupType>,
|
149 + | /* BuilderGenerator.kt:275 */ pub(crate) backup_size_bytes: ::std::option::Option<i64>,
|
150 + | /* BuilderGenerator.kt:345 */
|
107 151 | }
|
152 + | /* BuilderGenerator.kt:355 */
|
108 153 | impl BackupSummaryBuilder {
|
109 - | /// <p>Name of the table.</p>
|
154 + | /// /* BuilderGenerator.kt:286 */<p>Name of the table.</p>
|
155 + | /* BuilderGenerator.kt:291 */
|
110 156 | pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
157 + | /* BuilderGenerator.kt:292 */
|
111 158 | self.table_name = ::std::option::Option::Some(input.into());
|
159 + | /* BuilderGenerator.kt:293 */
|
112 160 | self
|
161 + | /* BuilderGenerator.kt:291 */
|
113 162 | }
|
114 - | /// <p>Name of the table.</p>
|
163 + | /// /* BuilderGenerator.kt:312 */<p>Name of the table.</p>
|
164 + | /* BuilderGenerator.kt:314 */
|
115 165 | pub fn set_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
166 + | /* BuilderGenerator.kt:315 */
|
116 167 | self.table_name = input;
|
117 168 | self
|
169 + | /* BuilderGenerator.kt:314 */
|
118 170 | }
|
119 - | /// <p>Name of the table.</p>
|
171 + | /// /* BuilderGenerator.kt:334 */<p>Name of the table.</p>
|
172 + | /* BuilderGenerator.kt:336 */
|
120 173 | pub fn get_table_name(&self) -> &::std::option::Option<::std::string::String> {
|
174 + | /* BuilderGenerator.kt:337 */
|
121 175 | &self.table_name
|
176 + | /* BuilderGenerator.kt:336 */
|
122 177 | }
|
123 - | /// <p>Unique identifier for the table.</p>
|
178 + | /// /* BuilderGenerator.kt:286 */<p>Unique identifier for the table.</p>
|
179 + | /* BuilderGenerator.kt:291 */
|
124 180 | pub fn table_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
181 + | /* BuilderGenerator.kt:292 */
|
125 182 | self.table_id = ::std::option::Option::Some(input.into());
|
183 + | /* BuilderGenerator.kt:293 */
|
126 184 | self
|
185 + | /* BuilderGenerator.kt:291 */
|
127 186 | }
|
128 - | /// <p>Unique identifier for the table.</p>
|
187 + | /// /* BuilderGenerator.kt:312 */<p>Unique identifier for the table.</p>
|
188 + | /* BuilderGenerator.kt:314 */
|
129 189 | pub fn set_table_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
190 + | /* BuilderGenerator.kt:315 */
|
130 191 | self.table_id = input;
|
131 192 | self
|
193 + | /* BuilderGenerator.kt:314 */
|
132 194 | }
|
133 - | /// <p>Unique identifier for the table.</p>
|
195 + | /// /* BuilderGenerator.kt:334 */<p>Unique identifier for the table.</p>
|
196 + | /* BuilderGenerator.kt:336 */
|
134 197 | pub fn get_table_id(&self) -> &::std::option::Option<::std::string::String> {
|
198 + | /* BuilderGenerator.kt:337 */
|
135 199 | &self.table_id
|
200 + | /* BuilderGenerator.kt:336 */
|
136 201 | }
|
137 - | /// <p>ARN associated with the table.</p>
|
202 + | /// /* BuilderGenerator.kt:286 */<p>ARN associated with the table.</p>
|
203 + | /* BuilderGenerator.kt:291 */
|
138 204 | pub fn table_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
205 + | /* BuilderGenerator.kt:292 */
|
139 206 | self.table_arn = ::std::option::Option::Some(input.into());
|
207 + | /* BuilderGenerator.kt:293 */
|
140 208 | self
|
209 + | /* BuilderGenerator.kt:291 */
|
141 210 | }
|
142 - | /// <p>ARN associated with the table.</p>
|
211 + | /// /* BuilderGenerator.kt:312 */<p>ARN associated with the table.</p>
|
212 + | /* BuilderGenerator.kt:314 */
|
143 213 | pub fn set_table_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
214 + | /* BuilderGenerator.kt:315 */
|
144 215 | self.table_arn = input;
|
145 216 | self
|
217 + | /* BuilderGenerator.kt:314 */
|
146 218 | }
|
147 - | /// <p>ARN associated with the table.</p>
|
219 + | /// /* BuilderGenerator.kt:334 */<p>ARN associated with the table.</p>
|
220 + | /* BuilderGenerator.kt:336 */
|
148 221 | pub fn get_table_arn(&self) -> &::std::option::Option<::std::string::String> {
|
222 + | /* BuilderGenerator.kt:337 */
|
149 223 | &self.table_arn
|
224 + | /* BuilderGenerator.kt:336 */
|
150 225 | }
|
151 - | /// <p>ARN associated with the backup.</p>
|
226 + | /// /* BuilderGenerator.kt:286 */<p>ARN associated with the backup.</p>
|
227 + | /* BuilderGenerator.kt:291 */
|
152 228 | pub fn backup_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
229 + | /* BuilderGenerator.kt:292 */
|
153 230 | self.backup_arn = ::std::option::Option::Some(input.into());
|
231 + | /* BuilderGenerator.kt:293 */
|
154 232 | self
|
233 + | /* BuilderGenerator.kt:291 */
|
155 234 | }
|
156 - | /// <p>ARN associated with the backup.</p>
|
235 + | /// /* BuilderGenerator.kt:312 */<p>ARN associated with the backup.</p>
|
236 + | /* BuilderGenerator.kt:314 */
|
157 237 | pub fn set_backup_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
238 + | /* BuilderGenerator.kt:315 */
|
158 239 | self.backup_arn = input;
|
159 240 | self
|
241 + | /* BuilderGenerator.kt:314 */
|
160 242 | }
|
161 - | /// <p>ARN associated with the backup.</p>
|
243 + | /// /* BuilderGenerator.kt:334 */<p>ARN associated with the backup.</p>
|
244 + | /* BuilderGenerator.kt:336 */
|
162 245 | pub fn get_backup_arn(&self) -> &::std::option::Option<::std::string::String> {
|
246 + | /* BuilderGenerator.kt:337 */
|
163 247 | &self.backup_arn
|
248 + | /* BuilderGenerator.kt:336 */
|
164 249 | }
|
165 - | /// <p>Name of the specified backup.</p>
|
250 + | /// /* BuilderGenerator.kt:286 */<p>Name of the specified backup.</p>
|
251 + | /* BuilderGenerator.kt:291 */
|
166 252 | pub fn backup_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
253 + | /* BuilderGenerator.kt:292 */
|
167 254 | self.backup_name = ::std::option::Option::Some(input.into());
|
255 + | /* BuilderGenerator.kt:293 */
|
168 256 | self
|
257 + | /* BuilderGenerator.kt:291 */
|
169 258 | }
|
170 - | /// <p>Name of the specified backup.</p>
|
259 + | /// /* BuilderGenerator.kt:312 */<p>Name of the specified backup.</p>
|
260 + | /* BuilderGenerator.kt:314 */
|
171 261 | pub fn set_backup_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
262 + | /* BuilderGenerator.kt:315 */
|
172 263 | self.backup_name = input;
|
173 264 | self
|
265 + | /* BuilderGenerator.kt:314 */
|
174 266 | }
|
175 - | /// <p>Name of the specified backup.</p>
|
267 + | /// /* BuilderGenerator.kt:334 */<p>Name of the specified backup.</p>
|
268 + | /* BuilderGenerator.kt:336 */
|
176 269 | pub fn get_backup_name(&self) -> &::std::option::Option<::std::string::String> {
|
270 + | /* BuilderGenerator.kt:337 */
|
177 271 | &self.backup_name
|
272 + | /* BuilderGenerator.kt:336 */
|
178 273 | }
|
179 - | /// <p>Time at which the backup was created.</p>
|
274 + | /// /* BuilderGenerator.kt:286 */<p>Time at which the backup was created.</p>
|
275 + | /* BuilderGenerator.kt:291 */
|
180 276 | pub fn backup_creation_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
277 + | /* BuilderGenerator.kt:292 */
|
181 278 | self.backup_creation_date_time = ::std::option::Option::Some(input);
|
279 + | /* BuilderGenerator.kt:293 */
|
182 280 | self
|
281 + | /* BuilderGenerator.kt:291 */
|
183 282 | }
|
184 - | /// <p>Time at which the backup was created.</p>
|
283 + | /// /* BuilderGenerator.kt:312 */<p>Time at which the backup was created.</p>
|
284 + | /* BuilderGenerator.kt:314 */
|
185 285 | pub fn set_backup_creation_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
286 + | /* BuilderGenerator.kt:315 */
|
186 287 | self.backup_creation_date_time = input;
|
187 288 | self
|
289 + | /* BuilderGenerator.kt:314 */
|
188 290 | }
|
189 - | /// <p>Time at which the backup was created.</p>
|
291 + | /// /* BuilderGenerator.kt:334 */<p>Time at which the backup was created.</p>
|
292 + | /* BuilderGenerator.kt:336 */
|
190 293 | pub fn get_backup_creation_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
294 + | /* BuilderGenerator.kt:337 */
|
191 295 | &self.backup_creation_date_time
|
296 + | /* BuilderGenerator.kt:336 */
|
192 297 | }
|
193 - | /// <p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
298 + | /// /* BuilderGenerator.kt:286 */<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
299 + | /* BuilderGenerator.kt:291 */
|
194 300 | pub fn backup_expiry_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
301 + | /* BuilderGenerator.kt:292 */
|
195 302 | self.backup_expiry_date_time = ::std::option::Option::Some(input);
|
303 + | /* BuilderGenerator.kt:293 */
|
196 304 | self
|
305 + | /* BuilderGenerator.kt:291 */
|
197 306 | }
|
198 - | /// <p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
307 + | /// /* BuilderGenerator.kt:312 */<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
308 + | /* BuilderGenerator.kt:314 */
|
199 309 | pub fn set_backup_expiry_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
310 + | /* BuilderGenerator.kt:315 */
|
200 311 | self.backup_expiry_date_time = input;
|
201 312 | self
|
313 + | /* BuilderGenerator.kt:314 */
|
202 314 | }
|
203 - | /// <p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
315 + | /// /* BuilderGenerator.kt:334 */<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code> on-demand backup expires automatically 35 days after its creation.</p>
|
316 + | /* BuilderGenerator.kt:336 */
|
204 317 | pub fn get_backup_expiry_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
318 + | /* BuilderGenerator.kt:337 */
|
205 319 | &self.backup_expiry_date_time
|
320 + | /* BuilderGenerator.kt:336 */
|
206 321 | }
|
207 - | /// <p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
322 + | /// /* BuilderGenerator.kt:286 */<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
323 + | /* BuilderGenerator.kt:291 */
|
208 324 | pub fn backup_status(mut self, input: crate::types::BackupStatus) -> Self {
|
325 + | /* BuilderGenerator.kt:292 */
|
209 326 | self.backup_status = ::std::option::Option::Some(input);
|
327 + | /* BuilderGenerator.kt:293 */
|
210 328 | self
|
329 + | /* BuilderGenerator.kt:291 */
|
211 330 | }
|
212 - | /// <p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
331 + | /// /* BuilderGenerator.kt:312 */<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
332 + | /* BuilderGenerator.kt:314 */
|
213 333 | pub fn set_backup_status(mut self, input: ::std::option::Option<crate::types::BackupStatus>) -> Self {
|
334 + | /* BuilderGenerator.kt:315 */
|
214 335 | self.backup_status = input;
|
215 336 | self
|
337 + | /* BuilderGenerator.kt:314 */
|
216 338 | }
|
217 - | /// <p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
339 + | /// /* BuilderGenerator.kt:334 */<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>
|
340 + | /* BuilderGenerator.kt:336 */
|
218 341 | pub fn get_backup_status(&self) -> &::std::option::Option<crate::types::BackupStatus> {
|
342 + | /* BuilderGenerator.kt:337 */
|
219 343 | &self.backup_status
|
344 + | /* BuilderGenerator.kt:336 */
|
220 345 | }
|
221 - | /// <p>BackupType:</p>
|
346 + | /// /* BuilderGenerator.kt:286 */<p>BackupType:</p>
|
222 347 | /// <ul>
|
223 348 | /// <li>
|
224 349 | /// <p><code>USER</code> - You create and manage these using the on-demand backup feature.</p></li>
|
225 350 | /// <li>
|
226 351 | /// <p><code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.</p></li>
|
227 352 | /// <li>
|
228 353 | /// <p><code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p></li>
|
229 354 | /// </ul>
|
355 + | /* BuilderGenerator.kt:291 */
|
230 356 | pub fn backup_type(mut self, input: crate::types::BackupType) -> Self {
|
357 + | /* BuilderGenerator.kt:292 */
|
231 358 | self.backup_type = ::std::option::Option::Some(input);
|
359 + | /* BuilderGenerator.kt:293 */
|
232 360 | self
|
361 + | /* BuilderGenerator.kt:291 */
|
233 362 | }
|
234 - | /// <p>BackupType:</p>
|
363 + | /// /* BuilderGenerator.kt:312 */<p>BackupType:</p>
|
235 364 | /// <ul>
|
236 365 | /// <li>
|
237 366 | /// <p><code>USER</code> - You create and manage these using the on-demand backup feature.</p></li>
|
238 367 | /// <li>
|
239 368 | /// <p><code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.</p></li>
|
240 369 | /// <li>
|
241 370 | /// <p><code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p></li>
|
242 371 | /// </ul>
|
372 + | /* BuilderGenerator.kt:314 */
|
243 373 | pub fn set_backup_type(mut self, input: ::std::option::Option<crate::types::BackupType>) -> Self {
|
374 + | /* BuilderGenerator.kt:315 */
|
244 375 | self.backup_type = input;
|
245 376 | self
|
377 + | /* BuilderGenerator.kt:314 */
|
246 378 | }
|
247 - | /// <p>BackupType:</p>
|
379 + | /// /* BuilderGenerator.kt:334 */<p>BackupType:</p>
|
248 380 | /// <ul>
|
249 381 | /// <li>
|
250 382 | /// <p><code>USER</code> - You create and manage these using the on-demand backup feature.</p></li>
|
251 383 | /// <li>
|
252 384 | /// <p><code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.</p></li>
|
253 385 | /// <li>
|
254 386 | /// <p><code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p></li>
|
255 387 | /// </ul>
|
388 + | /* BuilderGenerator.kt:336 */
|
256 389 | pub fn get_backup_type(&self) -> &::std::option::Option<crate::types::BackupType> {
|
390 + | /* BuilderGenerator.kt:337 */
|
257 391 | &self.backup_type
|
392 + | /* BuilderGenerator.kt:336 */
|
258 393 | }
|
259 - | /// <p>Size of the backup in bytes.</p>
|
394 + | /// /* BuilderGenerator.kt:286 */<p>Size of the backup in bytes.</p>
|
395 + | /* BuilderGenerator.kt:291 */
|
260 396 | pub fn backup_size_bytes(mut self, input: i64) -> Self {
|
397 + | /* BuilderGenerator.kt:292 */
|
261 398 | self.backup_size_bytes = ::std::option::Option::Some(input);
|
399 + | /* BuilderGenerator.kt:293 */
|
262 400 | self
|
401 + | /* BuilderGenerator.kt:291 */
|
263 402 | }
|
264 - | /// <p>Size of the backup in bytes.</p>
|
403 + | /// /* BuilderGenerator.kt:312 */<p>Size of the backup in bytes.</p>
|
404 + | /* BuilderGenerator.kt:314 */
|
265 405 | pub fn set_backup_size_bytes(mut self, input: ::std::option::Option<i64>) -> Self {
|
406 + | /* BuilderGenerator.kt:315 */
|
266 407 | self.backup_size_bytes = input;
|
267 408 | self
|
409 + | /* BuilderGenerator.kt:314 */
|
268 410 | }
|
269 - | /// <p>Size of the backup in bytes.</p>
|
411 + | /// /* BuilderGenerator.kt:334 */<p>Size of the backup in bytes.</p>
|
412 + | /* BuilderGenerator.kt:336 */
|
270 413 | pub fn get_backup_size_bytes(&self) -> &::std::option::Option<i64> {
|
414 + | /* BuilderGenerator.kt:337 */
|
271 415 | &self.backup_size_bytes
|
416 + | /* BuilderGenerator.kt:336 */
|
272 417 | }
|
273 - | /// Consumes the builder and constructs a [`BackupSummary`](crate::types::BackupSummary).
|
418 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`BackupSummary`](crate::types::BackupSummary).
|
419 + | /* BuilderGenerator.kt:253 */
|
274 420 | pub fn build(self) -> crate::types::BackupSummary {
|
421 + | /* BuilderGenerator.kt:477 */
|
275 422 | crate::types::BackupSummary {
|
276 - | table_name: self.table_name,
|
423 + | /* BuilderGenerator.kt:481 */ table_name: self.table_name,
|
424 + | /* BuilderGenerator.kt:481 */
|
277 425 | table_id: self.table_id,
|
426 + | /* BuilderGenerator.kt:481 */
|
278 427 | table_arn: self.table_arn,
|
428 + | /* BuilderGenerator.kt:481 */
|
279 429 | backup_arn: self.backup_arn,
|
430 + | /* BuilderGenerator.kt:481 */
|
280 431 | backup_name: self.backup_name,
|
432 + | /* BuilderGenerator.kt:481 */
|
281 433 | backup_creation_date_time: self.backup_creation_date_time,
|
434 + | /* BuilderGenerator.kt:481 */
|
282 435 | backup_expiry_date_time: self.backup_expiry_date_time,
|
436 + | /* BuilderGenerator.kt:481 */
|
283 437 | backup_status: self.backup_status,
|
438 + | /* BuilderGenerator.kt:481 */
|
284 439 | backup_type: self.backup_type,
|
440 + | /* BuilderGenerator.kt:481 */
|
285 441 | backup_size_bytes: self.backup_size_bytes,
|
442 + | /* BuilderGenerator.kt:477 */
|
286 443 | }
|
444 + | /* BuilderGenerator.kt:253 */
|
287 445 | }
|
446 + | /* BuilderGenerator.kt:355 */
|
288 447 | }
|