1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* StructureGenerator.kt:197 */
|
2 3 | #[allow(missing_docs)] // documentation missing in model
|
4 + | /* RustType.kt:516 */
|
3 5 | #[non_exhaustive]
|
6 + | /* RustType.kt:516 */
|
4 7 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
5 - | pub struct RestoreTableToPointInTimeInput {
|
6 - | /// <p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
8 + | pub /* StructureGenerator.kt:201 */ struct RestoreTableToPointInTimeInput {
|
9 + | /// /* StructureGenerator.kt:231 */<p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
7 10 | pub source_table_arn: ::std::option::Option<::std::string::String>,
|
8 - | /// <p>Name of the source table that is being restored.</p>
|
11 + | /// /* StructureGenerator.kt:231 */<p>Name of the source table that is being restored.</p>
|
9 12 | pub source_table_name: ::std::option::Option<::std::string::String>,
|
10 - | /// <p>The name of the new table to which it must be restored to.</p>
|
13 + | /// /* StructureGenerator.kt:231 */<p>The name of the new table to which it must be restored to.</p>
|
11 14 | pub target_table_name: ::std::option::Option<::std::string::String>,
|
12 - | /// <p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
15 + | /// /* StructureGenerator.kt:231 */<p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
13 16 | pub use_latest_restorable_time: ::std::option::Option<bool>,
|
14 - | /// <p>Time in the past to restore the table to.</p>
|
17 + | /// /* StructureGenerator.kt:231 */<p>Time in the past to restore the table to.</p>
|
15 18 | pub restore_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
16 - | /// <p>The billing mode of the restored table.</p>
|
19 + | /// /* StructureGenerator.kt:231 */<p>The billing mode of the restored table.</p>
|
17 20 | pub billing_mode_override: ::std::option::Option<crate::types::BillingMode>,
|
18 - | /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
21 + | /// /* StructureGenerator.kt:231 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
19 22 | pub global_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>,
|
20 - | /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
23 + | /// /* StructureGenerator.kt:231 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
21 24 | pub local_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>,
|
22 - | /// <p>Provisioned throughput settings for the restored table.</p>
|
25 + | /// /* StructureGenerator.kt:231 */<p>Provisioned throughput settings for the restored table.</p>
|
23 26 | pub provisioned_throughput_override: ::std::option::Option<crate::types::ProvisionedThroughput>,
|
24 - | /// <p>The new server-side encryption settings for the restored table.</p>
|
27 + | /// /* StructureGenerator.kt:231 */<p>The new server-side encryption settings for the restored table.</p>
|
25 28 | pub sse_specification_override: ::std::option::Option<crate::types::SseSpecification>,
|
29 + | /* StructureGenerator.kt:201 */
|
26 30 | }
|
31 + | /* StructureGenerator.kt:135 */
|
27 32 | impl RestoreTableToPointInTimeInput {
|
28 - | /// <p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
33 + | /// /* StructureGenerator.kt:231 */<p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
34 + | /* StructureGenerator.kt:166 */
|
29 35 | pub fn source_table_arn(&self) -> ::std::option::Option<&str> {
|
36 + | /* StructureGenerator.kt:169 */
|
30 37 | self.source_table_arn.as_deref()
|
38 + | /* StructureGenerator.kt:166 */
|
31 39 | }
|
32 - | /// <p>Name of the source table that is being restored.</p>
|
40 + | /// /* StructureGenerator.kt:231 */<p>Name of the source table that is being restored.</p>
|
41 + | /* StructureGenerator.kt:166 */
|
33 42 | pub fn source_table_name(&self) -> ::std::option::Option<&str> {
|
43 + | /* StructureGenerator.kt:169 */
|
34 44 | self.source_table_name.as_deref()
|
45 + | /* StructureGenerator.kt:166 */
|
35 46 | }
|
36 - | /// <p>The name of the new table to which it must be restored to.</p>
|
47 + | /// /* StructureGenerator.kt:231 */<p>The name of the new table to which it must be restored to.</p>
|
48 + | /* StructureGenerator.kt:166 */
|
37 49 | pub fn target_table_name(&self) -> ::std::option::Option<&str> {
|
50 + | /* StructureGenerator.kt:169 */
|
38 51 | self.target_table_name.as_deref()
|
52 + | /* StructureGenerator.kt:166 */
|
39 53 | }
|
40 - | /// <p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
54 + | /// /* StructureGenerator.kt:231 */<p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
55 + | /* StructureGenerator.kt:166 */
|
41 56 | pub fn use_latest_restorable_time(&self) -> ::std::option::Option<bool> {
|
57 + | /* StructureGenerator.kt:168 */
|
42 58 | self.use_latest_restorable_time
|
59 + | /* StructureGenerator.kt:166 */
|
43 60 | }
|
44 - | /// <p>Time in the past to restore the table to.</p>
|
61 + | /// /* StructureGenerator.kt:231 */<p>Time in the past to restore the table to.</p>
|
62 + | /* StructureGenerator.kt:166 */
|
45 63 | pub fn restore_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
64 + | /* StructureGenerator.kt:170 */
|
46 65 | self.restore_date_time.as_ref()
|
66 + | /* StructureGenerator.kt:166 */
|
47 67 | }
|
48 - | /// <p>The billing mode of the restored table.</p>
|
68 + | /// /* StructureGenerator.kt:231 */<p>The billing mode of the restored table.</p>
|
69 + | /* StructureGenerator.kt:166 */
|
49 70 | pub fn billing_mode_override(&self) -> ::std::option::Option<&crate::types::BillingMode> {
|
71 + | /* StructureGenerator.kt:170 */
|
50 72 | self.billing_mode_override.as_ref()
|
73 + | /* StructureGenerator.kt:166 */
|
51 74 | }
|
52 - | /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
53 - | ///
|
54 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.global_secondary_index_override.is_none()`.
|
75 + | /// /* StructureGenerator.kt:231 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
76 + | /// /* StructureGenerator.kt:162 */
|
77 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.global_secondary_index_override.is_none()`.
|
78 + | /* StructureGenerator.kt:166 */
|
55 79 | pub fn global_secondary_index_override(&self) -> &[crate::types::GlobalSecondaryIndex] {
|
56 - | self.global_secondary_index_override.as_deref().unwrap_or_default()
|
57 - | }
|
58 - | /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
59 - | ///
|
60 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.local_secondary_index_override.is_none()`.
|
80 + | /* StructureGenerator.kt:169 */
|
81 + | self.global_secondary_index_override
|
82 + | .as_deref()
|
83 + | /* StructureGenerator.kt:175 */
|
84 + | .unwrap_or_default()
|
85 + | /* StructureGenerator.kt:166 */
|
86 + | }
|
87 + | /// /* StructureGenerator.kt:231 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
88 + | /// /* StructureGenerator.kt:162 */
|
89 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.local_secondary_index_override.is_none()`.
|
90 + | /* StructureGenerator.kt:166 */
|
61 91 | pub fn local_secondary_index_override(&self) -> &[crate::types::LocalSecondaryIndex] {
|
62 - | self.local_secondary_index_override.as_deref().unwrap_or_default()
|
63 - | }
|
64 - | /// <p>Provisioned throughput settings for the restored table.</p>
|
92 + | /* StructureGenerator.kt:169 */
|
93 + | self.local_secondary_index_override
|
94 + | .as_deref()
|
95 + | /* StructureGenerator.kt:175 */
|
96 + | .unwrap_or_default()
|
97 + | /* StructureGenerator.kt:166 */
|
98 + | }
|
99 + | /// /* StructureGenerator.kt:231 */<p>Provisioned throughput settings for the restored table.</p>
|
100 + | /* StructureGenerator.kt:166 */
|
65 101 | pub fn provisioned_throughput_override(&self) -> ::std::option::Option<&crate::types::ProvisionedThroughput> {
|
102 + | /* StructureGenerator.kt:170 */
|
66 103 | self.provisioned_throughput_override.as_ref()
|
104 + | /* StructureGenerator.kt:166 */
|
67 105 | }
|
68 - | /// <p>The new server-side encryption settings for the restored table.</p>
|
106 + | /// /* StructureGenerator.kt:231 */<p>The new server-side encryption settings for the restored table.</p>
|
107 + | /* StructureGenerator.kt:166 */
|
69 108 | pub fn sse_specification_override(&self) -> ::std::option::Option<&crate::types::SseSpecification> {
|
109 + | /* StructureGenerator.kt:170 */
|
70 110 | self.sse_specification_override.as_ref()
|
111 + | /* StructureGenerator.kt:166 */
|
71 112 | }
|
113 + | /* StructureGenerator.kt:135 */
|
72 114 | }
|
115 + | /* ClientCodegenVisitor.kt:237 */
|
73 116 | impl RestoreTableToPointInTimeInput {
|
74 - | /// Creates a new builder-style object to manufacture [`RestoreTableToPointInTimeInput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput).
|
117 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`RestoreTableToPointInTimeInput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput).
|
118 + | /* BuilderGenerator.kt:175 */
|
75 119 | pub fn builder() -> crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeInputBuilder {
|
120 + | /* BuilderGenerator.kt:176 */
|
76 121 | crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeInputBuilder::default()
|
122 + | /* BuilderGenerator.kt:175 */
|
77 123 | }
|
124 + | /* ClientCodegenVisitor.kt:237 */
|
78 125 | }
|
79 126 |
|
80 - | /// A builder for [`RestoreTableToPointInTimeInput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput).
|
127 + | /// /* BuilderGenerator.kt:342 */A builder for [`RestoreTableToPointInTimeInput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput).
|
128 + | /* RustType.kt:516 */
|
81 129 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
130 + | /* RustType.kt:516 */
|
82 131 | #[non_exhaustive]
|
132 + | /* BuilderGenerator.kt:345 */
|
83 133 | pub struct RestoreTableToPointInTimeInputBuilder {
|
84 - | pub(crate) source_table_arn: ::std::option::Option<::std::string::String>,
|
85 - | pub(crate) source_table_name: ::std::option::Option<::std::string::String>,
|
86 - | pub(crate) target_table_name: ::std::option::Option<::std::string::String>,
|
87 - | pub(crate) use_latest_restorable_time: ::std::option::Option<bool>,
|
88 - | pub(crate) restore_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
89 - | pub(crate) billing_mode_override: ::std::option::Option<crate::types::BillingMode>,
|
134 + | /* BuilderGenerator.kt:275 */ pub(crate) source_table_arn: ::std::option::Option<::std::string::String>,
|
135 + | /* BuilderGenerator.kt:275 */ pub(crate) source_table_name: ::std::option::Option<::std::string::String>,
|
136 + | /* BuilderGenerator.kt:275 */ pub(crate) target_table_name: ::std::option::Option<::std::string::String>,
|
137 + | /* BuilderGenerator.kt:275 */ pub(crate) use_latest_restorable_time: ::std::option::Option<bool>,
|
138 + | /* BuilderGenerator.kt:275 */ pub(crate) restore_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
139 + | /* BuilderGenerator.kt:275 */ pub(crate) billing_mode_override: ::std::option::Option<crate::types::BillingMode>,
|
140 + | /* BuilderGenerator.kt:275 */
|
90 141 | pub(crate) global_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>,
|
142 + | /* BuilderGenerator.kt:275 */
|
91 143 | pub(crate) local_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>,
|
92 - | pub(crate) provisioned_throughput_override: ::std::option::Option<crate::types::ProvisionedThroughput>,
|
144 + | /* BuilderGenerator.kt:275 */ pub(crate) provisioned_throughput_override: ::std::option::Option<crate::types::ProvisionedThroughput>,
|
145 + | /* BuilderGenerator.kt:275 */
|
93 146 | pub(crate) sse_specification_override: ::std::option::Option<crate::types::SseSpecification>,
|
147 + | /* BuilderGenerator.kt:345 */
|
94 148 | }
|
149 + | /* BuilderGenerator.kt:355 */
|
95 150 | impl RestoreTableToPointInTimeInputBuilder {
|
96 - | /// <p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
151 + | /// /* BuilderGenerator.kt:286 */<p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
152 + | /* BuilderGenerator.kt:291 */
|
97 153 | pub fn source_table_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
154 + | /* BuilderGenerator.kt:292 */
|
98 155 | self.source_table_arn = ::std::option::Option::Some(input.into());
|
156 + | /* BuilderGenerator.kt:293 */
|
99 157 | self
|
158 + | /* BuilderGenerator.kt:291 */
|
100 159 | }
|
101 - | /// <p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
160 + | /// /* BuilderGenerator.kt:312 */<p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
161 + | /* BuilderGenerator.kt:314 */
|
102 162 | pub fn set_source_table_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
163 + | /* BuilderGenerator.kt:315 */
|
103 164 | self.source_table_arn = input;
|
104 165 | self
|
166 + | /* BuilderGenerator.kt:314 */
|
105 167 | }
|
106 - | /// <p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
168 + | /// /* BuilderGenerator.kt:334 */<p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>
|
169 + | /* BuilderGenerator.kt:336 */
|
107 170 | pub fn get_source_table_arn(&self) -> &::std::option::Option<::std::string::String> {
|
171 + | /* BuilderGenerator.kt:337 */
|
108 172 | &self.source_table_arn
|
173 + | /* BuilderGenerator.kt:336 */
|
109 174 | }
|
110 - | /// <p>Name of the source table that is being restored.</p>
|
175 + | /// /* BuilderGenerator.kt:286 */<p>Name of the source table that is being restored.</p>
|
176 + | /* BuilderGenerator.kt:291 */
|
111 177 | pub fn source_table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
178 + | /* BuilderGenerator.kt:292 */
|
112 179 | self.source_table_name = ::std::option::Option::Some(input.into());
|
180 + | /* BuilderGenerator.kt:293 */
|
113 181 | self
|
182 + | /* BuilderGenerator.kt:291 */
|
114 183 | }
|
115 - | /// <p>Name of the source table that is being restored.</p>
|
184 + | /// /* BuilderGenerator.kt:312 */<p>Name of the source table that is being restored.</p>
|
185 + | /* BuilderGenerator.kt:314 */
|
116 186 | pub fn set_source_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
187 + | /* BuilderGenerator.kt:315 */
|
117 188 | self.source_table_name = input;
|
118 189 | self
|
190 + | /* BuilderGenerator.kt:314 */
|
119 191 | }
|
120 - | /// <p>Name of the source table that is being restored.</p>
|
192 + | /// /* BuilderGenerator.kt:334 */<p>Name of the source table that is being restored.</p>
|
193 + | /* BuilderGenerator.kt:336 */
|
121 194 | pub fn get_source_table_name(&self) -> &::std::option::Option<::std::string::String> {
|
195 + | /* BuilderGenerator.kt:337 */
|
122 196 | &self.source_table_name
|
197 + | /* BuilderGenerator.kt:336 */
|
123 198 | }
|
124 - | /// <p>The name of the new table to which it must be restored to.</p>
|
125 - | /// This field is required.
|
199 + | /// /* BuilderGenerator.kt:286 */<p>The name of the new table to which it must be restored to.</p>
|
200 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
201 + | /* BuilderGenerator.kt:291 */
|
126 202 | pub fn target_table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
203 + | /* BuilderGenerator.kt:292 */
|
127 204 | self.target_table_name = ::std::option::Option::Some(input.into());
|
205 + | /* BuilderGenerator.kt:293 */
|
128 206 | self
|
207 + | /* BuilderGenerator.kt:291 */
|
129 208 | }
|
130 - | /// <p>The name of the new table to which it must be restored to.</p>
|
209 + | /// /* BuilderGenerator.kt:312 */<p>The name of the new table to which it must be restored to.</p>
|
210 + | /* BuilderGenerator.kt:314 */
|
131 211 | pub fn set_target_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
212 + | /* BuilderGenerator.kt:315 */
|
132 213 | self.target_table_name = input;
|
133 214 | self
|
215 + | /* BuilderGenerator.kt:314 */
|
134 216 | }
|
135 - | /// <p>The name of the new table to which it must be restored to.</p>
|
217 + | /// /* BuilderGenerator.kt:334 */<p>The name of the new table to which it must be restored to.</p>
|
218 + | /* BuilderGenerator.kt:336 */
|
136 219 | pub fn get_target_table_name(&self) -> &::std::option::Option<::std::string::String> {
|
220 + | /* BuilderGenerator.kt:337 */
|
137 221 | &self.target_table_name
|
222 + | /* BuilderGenerator.kt:336 */
|
138 223 | }
|
139 - | /// <p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
224 + | /// /* BuilderGenerator.kt:286 */<p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
225 + | /* BuilderGenerator.kt:291 */
|
140 226 | pub fn use_latest_restorable_time(mut self, input: bool) -> Self {
|
227 + | /* BuilderGenerator.kt:292 */
|
141 228 | self.use_latest_restorable_time = ::std::option::Option::Some(input);
|
229 + | /* BuilderGenerator.kt:293 */
|
142 230 | self
|
231 + | /* BuilderGenerator.kt:291 */
|
143 232 | }
|
144 - | /// <p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
233 + | /// /* BuilderGenerator.kt:312 */<p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
234 + | /* BuilderGenerator.kt:314 */
|
145 235 | pub fn set_use_latest_restorable_time(mut self, input: ::std::option::Option<bool>) -> Self {
|
236 + | /* BuilderGenerator.kt:315 */
|
146 237 | self.use_latest_restorable_time = input;
|
147 238 | self
|
239 + | /* BuilderGenerator.kt:314 */
|
148 240 | }
|
149 - | /// <p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
241 + | /// /* BuilderGenerator.kt:334 */<p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p>
|
242 + | /* BuilderGenerator.kt:336 */
|
150 243 | pub fn get_use_latest_restorable_time(&self) -> &::std::option::Option<bool> {
|
244 + | /* BuilderGenerator.kt:337 */
|
151 245 | &self.use_latest_restorable_time
|
246 + | /* BuilderGenerator.kt:336 */
|
152 247 | }
|
153 - | /// <p>Time in the past to restore the table to.</p>
|
248 + | /// /* BuilderGenerator.kt:286 */<p>Time in the past to restore the table to.</p>
|
249 + | /* BuilderGenerator.kt:291 */
|
154 250 | pub fn restore_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
251 + | /* BuilderGenerator.kt:292 */
|
155 252 | self.restore_date_time = ::std::option::Option::Some(input);
|
253 + | /* BuilderGenerator.kt:293 */
|
156 254 | self
|
255 + | /* BuilderGenerator.kt:291 */
|
157 256 | }
|
158 - | /// <p>Time in the past to restore the table to.</p>
|
257 + | /// /* BuilderGenerator.kt:312 */<p>Time in the past to restore the table to.</p>
|
258 + | /* BuilderGenerator.kt:314 */
|
159 259 | pub fn set_restore_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
260 + | /* BuilderGenerator.kt:315 */
|
160 261 | self.restore_date_time = input;
|
161 262 | self
|
263 + | /* BuilderGenerator.kt:314 */
|
162 264 | }
|
163 - | /// <p>Time in the past to restore the table to.</p>
|
265 + | /// /* BuilderGenerator.kt:334 */<p>Time in the past to restore the table to.</p>
|
266 + | /* BuilderGenerator.kt:336 */
|
164 267 | pub fn get_restore_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
268 + | /* BuilderGenerator.kt:337 */
|
165 269 | &self.restore_date_time
|
270 + | /* BuilderGenerator.kt:336 */
|
166 271 | }
|
167 - | /// <p>The billing mode of the restored table.</p>
|
272 + | /// /* BuilderGenerator.kt:286 */<p>The billing mode of the restored table.</p>
|
273 + | /* BuilderGenerator.kt:291 */
|
168 274 | pub fn billing_mode_override(mut self, input: crate::types::BillingMode) -> Self {
|
275 + | /* BuilderGenerator.kt:292 */
|
169 276 | self.billing_mode_override = ::std::option::Option::Some(input);
|
277 + | /* BuilderGenerator.kt:293 */
|
170 278 | self
|
279 + | /* BuilderGenerator.kt:291 */
|
171 280 | }
|
172 - | /// <p>The billing mode of the restored table.</p>
|
281 + | /// /* BuilderGenerator.kt:312 */<p>The billing mode of the restored table.</p>
|
282 + | /* BuilderGenerator.kt:314 */
|
173 283 | pub fn set_billing_mode_override(mut self, input: ::std::option::Option<crate::types::BillingMode>) -> Self {
|
284 + | /* BuilderGenerator.kt:315 */
|
174 285 | self.billing_mode_override = input;
|
175 286 | self
|
287 + | /* BuilderGenerator.kt:314 */
|
176 288 | }
|
177 - | /// <p>The billing mode of the restored table.</p>
|
289 + | /// /* BuilderGenerator.kt:334 */<p>The billing mode of the restored table.</p>
|
290 + | /* BuilderGenerator.kt:336 */
|
178 291 | pub fn get_billing_mode_override(&self) -> &::std::option::Option<crate::types::BillingMode> {
|
292 + | /* BuilderGenerator.kt:337 */
|
179 293 | &self.billing_mode_override
|
294 + | /* BuilderGenerator.kt:336 */
|
180 295 | }
|
181 - | /// Appends an item to `global_secondary_index_override`.
|
296 + | /// /* BuilderGenerator.kt:410 */Appends an item to `global_secondary_index_override`.
|
297 + | /* BuilderGenerator.kt:411 */
|
182 298 | ///
|
183 - | /// To override the contents of this collection use [`set_global_secondary_index_override`](Self::set_global_secondary_index_override).
|
299 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_global_secondary_index_override`](Self::set_global_secondary_index_override).
|
300 + | /* BuilderGenerator.kt:413 */
|
184 301 | ///
|
185 - | /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
302 + | /// /* BuilderGenerator.kt:414 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
303 + | /* BuilderGenerator.kt:418 */
|
186 304 | pub fn global_secondary_index_override(mut self, input: crate::types::GlobalSecondaryIndex) -> Self {
|
305 + | /* BuilderGenerator.kt:419 */
|
187 306 | let mut v = self.global_secondary_index_override.unwrap_or_default();
|
188 307 | v.push(input);
|
189 308 | self.global_secondary_index_override = ::std::option::Option::Some(v);
|
190 309 | self
|
310 + | /* BuilderGenerator.kt:418 */
|
191 311 | }
|
192 - | /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
312 + | /// /* BuilderGenerator.kt:312 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
313 + | /* BuilderGenerator.kt:314 */
|
193 314 | pub fn set_global_secondary_index_override(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>) -> Self {
|
315 + | /* BuilderGenerator.kt:315 */
|
194 316 | self.global_secondary_index_override = input;
|
195 317 | self
|
318 + | /* BuilderGenerator.kt:314 */
|
196 319 | }
|
197 - | /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
320 + | /// /* BuilderGenerator.kt:334 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
321 + | /* BuilderGenerator.kt:336 */
|
198 322 | pub fn get_global_secondary_index_override(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>> {
|
323 + | /* BuilderGenerator.kt:337 */
|
199 324 | &self.global_secondary_index_override
|
325 + | /* BuilderGenerator.kt:336 */
|
200 326 | }
|
201 - | /// Appends an item to `local_secondary_index_override`.
|
327 + | /// /* BuilderGenerator.kt:410 */Appends an item to `local_secondary_index_override`.
|
328 + | /* BuilderGenerator.kt:411 */
|
202 329 | ///
|
203 - | /// To override the contents of this collection use [`set_local_secondary_index_override`](Self::set_local_secondary_index_override).
|
330 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_local_secondary_index_override`](Self::set_local_secondary_index_override).
|
331 + | /* BuilderGenerator.kt:413 */
|
204 332 | ///
|
205 - | /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
333 + | /// /* BuilderGenerator.kt:414 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
334 + | /* BuilderGenerator.kt:418 */
|
206 335 | pub fn local_secondary_index_override(mut self, input: crate::types::LocalSecondaryIndex) -> Self {
|
336 + | /* BuilderGenerator.kt:419 */
|
207 337 | let mut v = self.local_secondary_index_override.unwrap_or_default();
|
208 338 | v.push(input);
|
209 339 | self.local_secondary_index_override = ::std::option::Option::Some(v);
|
210 340 | self
|
341 + | /* BuilderGenerator.kt:418 */
|
211 342 | }
|
212 - | /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
343 + | /// /* BuilderGenerator.kt:312 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
344 + | /* BuilderGenerator.kt:314 */
|
213 345 | pub fn set_local_secondary_index_override(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>) -> Self {
|
346 + | /* BuilderGenerator.kt:315 */
|
214 347 | self.local_secondary_index_override = input;
|
215 348 | self
|
349 + | /* BuilderGenerator.kt:314 */
|
216 350 | }
|
217 - | /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
351 + | /// /* BuilderGenerator.kt:334 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
|
352 + | /* BuilderGenerator.kt:336 */
|
218 353 | pub fn get_local_secondary_index_override(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>> {
|
354 + | /* BuilderGenerator.kt:337 */
|
219 355 | &self.local_secondary_index_override
|
356 + | /* BuilderGenerator.kt:336 */
|
220 357 | }
|
221 - | /// <p>Provisioned throughput settings for the restored table.</p>
|
358 + | /// /* BuilderGenerator.kt:286 */<p>Provisioned throughput settings for the restored table.</p>
|
359 + | /* BuilderGenerator.kt:291 */
|
222 360 | pub fn provisioned_throughput_override(mut self, input: crate::types::ProvisionedThroughput) -> Self {
|
361 + | /* BuilderGenerator.kt:292 */
|
223 362 | self.provisioned_throughput_override = ::std::option::Option::Some(input);
|
363 + | /* BuilderGenerator.kt:293 */
|
224 364 | self
|
365 + | /* BuilderGenerator.kt:291 */
|
225 366 | }
|
226 - | /// <p>Provisioned throughput settings for the restored table.</p>
|
367 + | /// /* BuilderGenerator.kt:312 */<p>Provisioned throughput settings for the restored table.</p>
|
368 + | /* BuilderGenerator.kt:314 */
|
227 369 | pub fn set_provisioned_throughput_override(mut self, input: ::std::option::Option<crate::types::ProvisionedThroughput>) -> Self {
|
370 + | /* BuilderGenerator.kt:315 */
|
228 371 | self.provisioned_throughput_override = input;
|
229 372 | self
|
373 + | /* BuilderGenerator.kt:314 */
|
230 374 | }
|
231 - | /// <p>Provisioned throughput settings for the restored table.</p>
|
375 + | /// /* BuilderGenerator.kt:334 */<p>Provisioned throughput settings for the restored table.</p>
|
376 + | /* BuilderGenerator.kt:336 */
|
232 377 | pub fn get_provisioned_throughput_override(&self) -> &::std::option::Option<crate::types::ProvisionedThroughput> {
|
378 + | /* BuilderGenerator.kt:337 */
|
233 379 | &self.provisioned_throughput_override
|
380 + | /* BuilderGenerator.kt:336 */
|
234 381 | }
|
235 - | /// <p>The new server-side encryption settings for the restored table.</p>
|
382 + | /// /* BuilderGenerator.kt:286 */<p>The new server-side encryption settings for the restored table.</p>
|
383 + | /* BuilderGenerator.kt:291 */
|
236 384 | pub fn sse_specification_override(mut self, input: crate::types::SseSpecification) -> Self {
|
385 + | /* BuilderGenerator.kt:292 */
|
237 386 | self.sse_specification_override = ::std::option::Option::Some(input);
|
387 + | /* BuilderGenerator.kt:293 */
|
238 388 | self
|
389 + | /* BuilderGenerator.kt:291 */
|
239 390 | }
|
240 - | /// <p>The new server-side encryption settings for the restored table.</p>
|
391 + | /// /* BuilderGenerator.kt:312 */<p>The new server-side encryption settings for the restored table.</p>
|
392 + | /* BuilderGenerator.kt:314 */
|
241 393 | pub fn set_sse_specification_override(mut self, input: ::std::option::Option<crate::types::SseSpecification>) -> Self {
|
394 + | /* BuilderGenerator.kt:315 */
|
242 395 | self.sse_specification_override = input;
|
243 396 | self
|
397 + | /* BuilderGenerator.kt:314 */
|
244 398 | }
|
245 - | /// <p>The new server-side encryption settings for the restored table.</p>
|
399 + | /// /* BuilderGenerator.kt:334 */<p>The new server-side encryption settings for the restored table.</p>
|
400 + | /* BuilderGenerator.kt:336 */
|
246 401 | pub fn get_sse_specification_override(&self) -> &::std::option::Option<crate::types::SseSpecification> {
|
402 + | /* BuilderGenerator.kt:337 */
|
247 403 | &self.sse_specification_override
|
404 + | /* BuilderGenerator.kt:336 */
|
248 405 | }
|
249 - | /// Consumes the builder and constructs a [`RestoreTableToPointInTimeInput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput).
|
406 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`RestoreTableToPointInTimeInput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput).
|
407 + | /* BuilderGenerator.kt:253 */
|
250 408 | pub fn build(
|
251 409 | self,
|
252 410 | ) -> ::std::result::Result<
|
253 411 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput,
|
254 412 | ::aws_smithy_types::error::operation::BuildError,
|
255 413 | > {
|
256 - | ::std::result::Result::Ok(crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput {
|
257 - | source_table_arn: self.source_table_arn,
|
258 - | source_table_name: self.source_table_name,
|
259 - | target_table_name: self.target_table_name,
|
260 - | use_latest_restorable_time: self.use_latest_restorable_time,
|
261 - | restore_date_time: self.restore_date_time,
|
262 - | billing_mode_override: self.billing_mode_override,
|
263 - | global_secondary_index_override: self.global_secondary_index_override,
|
264 - | local_secondary_index_override: self.local_secondary_index_override,
|
265 - | provisioned_throughput_override: self.provisioned_throughput_override,
|
266 - | sse_specification_override: self.sse_specification_override,
|
267 - | })
|
268 - | }
|
414 + | /* BuilderGenerator.kt:254 */
|
415 + | ::std::result::Result::Ok(
|
416 + | /* BuilderGenerator.kt:477 */
|
417 + | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeInput {
|
418 + | /* BuilderGenerator.kt:481 */ source_table_arn: self.source_table_arn,
|
419 + | /* BuilderGenerator.kt:481 */
|
420 + | source_table_name: self.source_table_name,
|
421 + | /* BuilderGenerator.kt:481 */
|
422 + | target_table_name: self.target_table_name,
|
423 + | /* BuilderGenerator.kt:481 */
|
424 + | use_latest_restorable_time: self.use_latest_restorable_time,
|
425 + | /* BuilderGenerator.kt:481 */
|
426 + | restore_date_time: self.restore_date_time,
|
427 + | /* BuilderGenerator.kt:481 */
|
428 + | billing_mode_override: self.billing_mode_override,
|
429 + | /* BuilderGenerator.kt:481 */
|
430 + | global_secondary_index_override: self.global_secondary_index_override,
|
431 + | /* BuilderGenerator.kt:481 */
|
432 + | local_secondary_index_override: self.local_secondary_index_override,
|
433 + | /* BuilderGenerator.kt:481 */
|
434 + | provisioned_throughput_override: self.provisioned_throughput_override,
|
435 + | /* BuilderGenerator.kt:481 */
|
436 + | sse_specification_override: self.sse_specification_override,
|
437 + | /* BuilderGenerator.kt:477 */
|
438 + | }, /* BuilderGenerator.kt:254 */
|
439 + | )
|
440 + | /* BuilderGenerator.kt:253 */
|
441 + | }
|
442 + | /* BuilderGenerator.kt:355 */
|
269 443 | }
|