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 ExportTableToPointInTimeInput {
|
6 - | /// <p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
8 + | pub /* StructureGenerator.kt:201 */ struct ExportTableToPointInTimeInput {
|
9 + | /// /* StructureGenerator.kt:231 */<p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
7 10 | pub table_arn: ::std::option::Option<::std::string::String>,
|
8 - | /// <p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
11 + | /// /* StructureGenerator.kt:231 */<p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
9 12 | pub export_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
10 - | /// <p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
13 + | /// /* StructureGenerator.kt:231 */<p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
11 14 | /// <p>A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.</p>
|
12 15 | /// <p>If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an <code>IdempotentParameterMismatch</code> exception.</p>
|
13 16 | pub client_token: ::std::option::Option<::std::string::String>,
|
14 - | /// <p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
17 + | /// /* StructureGenerator.kt:231 */<p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
15 18 | pub s3_bucket: ::std::option::Option<::std::string::String>,
|
16 - | /// <p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
19 + | /// /* StructureGenerator.kt:231 */<p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
17 20 | pub s3_bucket_owner: ::std::option::Option<::std::string::String>,
|
18 - | /// <p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
21 + | /// /* StructureGenerator.kt:231 */<p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
19 22 | pub s3_prefix: ::std::option::Option<::std::string::String>,
|
20 - | /// <p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
23 + | /// /* StructureGenerator.kt:231 */<p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
21 24 | /// <ul>
|
22 25 | /// <li>
|
23 26 | /// <p><code>AES256</code> - server-side encryption with Amazon S3 managed keys</p></li>
|
24 27 | /// <li>
|
25 28 | /// <p><code>KMS</code> - server-side encryption with AWS KMS managed keys</p></li>
|
26 29 | /// </ul>
|
27 30 | pub s3_sse_algorithm: ::std::option::Option<crate::types::S3SseAlgorithm>,
|
28 - | /// <p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
31 + | /// /* StructureGenerator.kt:231 */<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
29 32 | pub s3_sse_kms_key_id: ::std::option::Option<::std::string::String>,
|
30 - | /// <p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
33 + | /// /* StructureGenerator.kt:231 */<p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
31 34 | pub export_format: ::std::option::Option<crate::types::ExportFormat>,
|
35 + | /* StructureGenerator.kt:201 */
|
32 36 | }
|
37 + | /* StructureGenerator.kt:135 */
|
33 38 | impl ExportTableToPointInTimeInput {
|
34 - | /// <p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
39 + | /// /* StructureGenerator.kt:231 */<p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
40 + | /* StructureGenerator.kt:166 */
|
35 41 | pub fn table_arn(&self) -> ::std::option::Option<&str> {
|
42 + | /* StructureGenerator.kt:169 */
|
36 43 | self.table_arn.as_deref()
|
44 + | /* StructureGenerator.kt:166 */
|
37 45 | }
|
38 - | /// <p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
46 + | /// /* StructureGenerator.kt:231 */<p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
47 + | /* StructureGenerator.kt:166 */
|
39 48 | pub fn export_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
49 + | /* StructureGenerator.kt:170 */
|
40 50 | self.export_time.as_ref()
|
51 + | /* StructureGenerator.kt:166 */
|
41 52 | }
|
42 - | /// <p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
53 + | /// /* StructureGenerator.kt:231 */<p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
43 54 | /// <p>A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.</p>
|
44 55 | /// <p>If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an <code>IdempotentParameterMismatch</code> exception.</p>
|
56 + | /* StructureGenerator.kt:166 */
|
45 57 | pub fn client_token(&self) -> ::std::option::Option<&str> {
|
58 + | /* StructureGenerator.kt:169 */
|
46 59 | self.client_token.as_deref()
|
60 + | /* StructureGenerator.kt:166 */
|
47 61 | }
|
48 - | /// <p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
62 + | /// /* StructureGenerator.kt:231 */<p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
63 + | /* StructureGenerator.kt:166 */
|
49 64 | pub fn s3_bucket(&self) -> ::std::option::Option<&str> {
|
65 + | /* StructureGenerator.kt:169 */
|
50 66 | self.s3_bucket.as_deref()
|
67 + | /* StructureGenerator.kt:166 */
|
51 68 | }
|
52 - | /// <p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
69 + | /// /* StructureGenerator.kt:231 */<p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
70 + | /* StructureGenerator.kt:166 */
|
53 71 | pub fn s3_bucket_owner(&self) -> ::std::option::Option<&str> {
|
72 + | /* StructureGenerator.kt:169 */
|
54 73 | self.s3_bucket_owner.as_deref()
|
74 + | /* StructureGenerator.kt:166 */
|
55 75 | }
|
56 - | /// <p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
76 + | /// /* StructureGenerator.kt:231 */<p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
77 + | /* StructureGenerator.kt:166 */
|
57 78 | pub fn s3_prefix(&self) -> ::std::option::Option<&str> {
|
79 + | /* StructureGenerator.kt:169 */
|
58 80 | self.s3_prefix.as_deref()
|
81 + | /* StructureGenerator.kt:166 */
|
59 82 | }
|
60 - | /// <p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
83 + | /// /* StructureGenerator.kt:231 */<p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
61 84 | /// <ul>
|
62 85 | /// <li>
|
63 86 | /// <p><code>AES256</code> - server-side encryption with Amazon S3 managed keys</p></li>
|
64 87 | /// <li>
|
65 88 | /// <p><code>KMS</code> - server-side encryption with AWS KMS managed keys</p></li>
|
66 89 | /// </ul>
|
90 + | /* StructureGenerator.kt:166 */
|
67 91 | pub fn s3_sse_algorithm(&self) -> ::std::option::Option<&crate::types::S3SseAlgorithm> {
|
92 + | /* StructureGenerator.kt:170 */
|
68 93 | self.s3_sse_algorithm.as_ref()
|
94 + | /* StructureGenerator.kt:166 */
|
69 95 | }
|
70 - | /// <p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
96 + | /// /* StructureGenerator.kt:231 */<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
97 + | /* StructureGenerator.kt:166 */
|
71 98 | pub fn s3_sse_kms_key_id(&self) -> ::std::option::Option<&str> {
|
99 + | /* StructureGenerator.kt:169 */
|
72 100 | self.s3_sse_kms_key_id.as_deref()
|
101 + | /* StructureGenerator.kt:166 */
|
73 102 | }
|
74 - | /// <p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
103 + | /// /* StructureGenerator.kt:231 */<p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
104 + | /* StructureGenerator.kt:166 */
|
75 105 | pub fn export_format(&self) -> ::std::option::Option<&crate::types::ExportFormat> {
|
106 + | /* StructureGenerator.kt:170 */
|
76 107 | self.export_format.as_ref()
|
108 + | /* StructureGenerator.kt:166 */
|
77 109 | }
|
110 + | /* StructureGenerator.kt:135 */
|
78 111 | }
|
112 + | /* ClientCodegenVisitor.kt:237 */
|
79 113 | impl ExportTableToPointInTimeInput {
|
80 - | /// Creates a new builder-style object to manufacture [`ExportTableToPointInTimeInput`](crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput).
|
114 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`ExportTableToPointInTimeInput`](crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput).
|
115 + | /* BuilderGenerator.kt:175 */
|
81 116 | pub fn builder() -> crate::operation::export_table_to_point_in_time::builders::ExportTableToPointInTimeInputBuilder {
|
117 + | /* BuilderGenerator.kt:176 */
|
82 118 | crate::operation::export_table_to_point_in_time::builders::ExportTableToPointInTimeInputBuilder::default()
|
119 + | /* BuilderGenerator.kt:175 */
|
83 120 | }
|
121 + | /* ClientCodegenVisitor.kt:237 */
|
84 122 | }
|
85 123 |
|
86 - | /// A builder for [`ExportTableToPointInTimeInput`](crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput).
|
124 + | /// /* BuilderGenerator.kt:342 */A builder for [`ExportTableToPointInTimeInput`](crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput).
|
125 + | /* RustType.kt:516 */
|
87 126 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
127 + | /* RustType.kt:516 */
|
88 128 | #[non_exhaustive]
|
129 + | /* BuilderGenerator.kt:345 */
|
89 130 | pub struct ExportTableToPointInTimeInputBuilder {
|
90 - | pub(crate) table_arn: ::std::option::Option<::std::string::String>,
|
91 - | pub(crate) export_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
92 - | pub(crate) client_token: ::std::option::Option<::std::string::String>,
|
93 - | pub(crate) s3_bucket: ::std::option::Option<::std::string::String>,
|
94 - | pub(crate) s3_bucket_owner: ::std::option::Option<::std::string::String>,
|
95 - | pub(crate) s3_prefix: ::std::option::Option<::std::string::String>,
|
96 - | pub(crate) s3_sse_algorithm: ::std::option::Option<crate::types::S3SseAlgorithm>,
|
97 - | pub(crate) s3_sse_kms_key_id: ::std::option::Option<::std::string::String>,
|
131 + | /* BuilderGenerator.kt:275 */ pub(crate) table_arn: ::std::option::Option<::std::string::String>,
|
132 + | /* BuilderGenerator.kt:275 */ pub(crate) export_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
133 + | /* BuilderGenerator.kt:275 */ pub(crate) client_token: ::std::option::Option<::std::string::String>,
|
134 + | /* BuilderGenerator.kt:275 */ pub(crate) s3_bucket: ::std::option::Option<::std::string::String>,
|
135 + | /* BuilderGenerator.kt:275 */ pub(crate) s3_bucket_owner: ::std::option::Option<::std::string::String>,
|
136 + | /* BuilderGenerator.kt:275 */ pub(crate) s3_prefix: ::std::option::Option<::std::string::String>,
|
137 + | /* BuilderGenerator.kt:275 */ pub(crate) s3_sse_algorithm: ::std::option::Option<crate::types::S3SseAlgorithm>,
|
138 + | /* BuilderGenerator.kt:275 */ pub(crate) s3_sse_kms_key_id: ::std::option::Option<::std::string::String>,
|
139 + | /* BuilderGenerator.kt:275 */
|
98 140 | pub(crate) export_format: ::std::option::Option<crate::types::ExportFormat>,
|
141 + | /* BuilderGenerator.kt:345 */
|
99 142 | }
|
143 + | /* BuilderGenerator.kt:355 */
|
100 144 | impl ExportTableToPointInTimeInputBuilder {
|
101 - | /// <p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
102 - | /// This field is required.
|
145 + | /// /* BuilderGenerator.kt:286 */<p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
146 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
147 + | /* BuilderGenerator.kt:291 */
|
103 148 | pub fn table_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
149 + | /* BuilderGenerator.kt:292 */
|
104 150 | self.table_arn = ::std::option::Option::Some(input.into());
|
151 + | /* BuilderGenerator.kt:293 */
|
105 152 | self
|
153 + | /* BuilderGenerator.kt:291 */
|
106 154 | }
|
107 - | /// <p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
155 + | /// /* BuilderGenerator.kt:312 */<p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
156 + | /* BuilderGenerator.kt:314 */
|
108 157 | pub fn set_table_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
158 + | /* BuilderGenerator.kt:315 */
|
109 159 | self.table_arn = input;
|
110 160 | self
|
161 + | /* BuilderGenerator.kt:314 */
|
111 162 | }
|
112 - | /// <p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
163 + | /// /* BuilderGenerator.kt:334 */<p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
164 + | /* BuilderGenerator.kt:336 */
|
113 165 | pub fn get_table_arn(&self) -> &::std::option::Option<::std::string::String> {
|
166 + | /* BuilderGenerator.kt:337 */
|
114 167 | &self.table_arn
|
168 + | /* BuilderGenerator.kt:336 */
|
115 169 | }
|
116 - | /// <p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
170 + | /// /* BuilderGenerator.kt:286 */<p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
171 + | /* BuilderGenerator.kt:291 */
|
117 172 | pub fn export_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
173 + | /* BuilderGenerator.kt:292 */
|
118 174 | self.export_time = ::std::option::Option::Some(input);
|
175 + | /* BuilderGenerator.kt:293 */
|
119 176 | self
|
177 + | /* BuilderGenerator.kt:291 */
|
120 178 | }
|
121 - | /// <p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
179 + | /// /* BuilderGenerator.kt:312 */<p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
180 + | /* BuilderGenerator.kt:314 */
|
122 181 | pub fn set_export_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
182 + | /* BuilderGenerator.kt:315 */
|
123 183 | self.export_time = input;
|
124 184 | self
|
185 + | /* BuilderGenerator.kt:314 */
|
125 186 | }
|
126 - | /// <p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
187 + | /// /* BuilderGenerator.kt:334 */<p>Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.</p>
|
188 + | /* BuilderGenerator.kt:336 */
|
127 189 | pub fn get_export_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
190 + | /* BuilderGenerator.kt:337 */
|
128 191 | &self.export_time
|
192 + | /* BuilderGenerator.kt:336 */
|
129 193 | }
|
130 - | /// <p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
194 + | /// /* BuilderGenerator.kt:286 */<p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
131 195 | /// <p>A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.</p>
|
132 196 | /// <p>If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an <code>IdempotentParameterMismatch</code> exception.</p>
|
197 + | /* BuilderGenerator.kt:291 */
|
133 198 | pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
199 + | /* BuilderGenerator.kt:292 */
|
134 200 | self.client_token = ::std::option::Option::Some(input.into());
|
201 + | /* BuilderGenerator.kt:293 */
|
135 202 | self
|
203 + | /* BuilderGenerator.kt:291 */
|
136 204 | }
|
137 - | /// <p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
205 + | /// /* BuilderGenerator.kt:312 */<p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
138 206 | /// <p>A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.</p>
|
139 207 | /// <p>If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an <code>IdempotentParameterMismatch</code> exception.</p>
|
208 + | /* BuilderGenerator.kt:314 */
|
140 209 | pub fn set_client_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
210 + | /* BuilderGenerator.kt:315 */
|
141 211 | self.client_token = input;
|
142 212 | self
|
213 + | /* BuilderGenerator.kt:314 */
|
143 214 | }
|
144 - | /// <p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
215 + | /// /* BuilderGenerator.kt:334 */<p>Providing a <code>ClientToken</code> makes the call to <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p>
|
145 216 | /// <p>A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.</p>
|
146 217 | /// <p>If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an <code>IdempotentParameterMismatch</code> exception.</p>
|
218 + | /* BuilderGenerator.kt:336 */
|
147 219 | pub fn get_client_token(&self) -> &::std::option::Option<::std::string::String> {
|
220 + | /* BuilderGenerator.kt:337 */
|
148 221 | &self.client_token
|
222 + | /* BuilderGenerator.kt:336 */
|
149 223 | }
|
150 - | /// <p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
151 - | /// This field is required.
|
224 + | /// /* BuilderGenerator.kt:286 */<p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
225 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
226 + | /* BuilderGenerator.kt:291 */
|
152 227 | pub fn s3_bucket(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
228 + | /* BuilderGenerator.kt:292 */
|
153 229 | self.s3_bucket = ::std::option::Option::Some(input.into());
|
230 + | /* BuilderGenerator.kt:293 */
|
154 231 | self
|
232 + | /* BuilderGenerator.kt:291 */
|
155 233 | }
|
156 - | /// <p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
234 + | /// /* BuilderGenerator.kt:312 */<p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
235 + | /* BuilderGenerator.kt:314 */
|
157 236 | pub fn set_s3_bucket(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
237 + | /* BuilderGenerator.kt:315 */
|
158 238 | self.s3_bucket = input;
|
159 239 | self
|
240 + | /* BuilderGenerator.kt:314 */
|
160 241 | }
|
161 - | /// <p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
242 + | /// /* BuilderGenerator.kt:334 */<p>The name of the Amazon S3 bucket to export the snapshot to.</p>
|
243 + | /* BuilderGenerator.kt:336 */
|
162 244 | pub fn get_s3_bucket(&self) -> &::std::option::Option<::std::string::String> {
|
245 + | /* BuilderGenerator.kt:337 */
|
163 246 | &self.s3_bucket
|
247 + | /* BuilderGenerator.kt:336 */
|
164 248 | }
|
165 - | /// <p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
249 + | /// /* BuilderGenerator.kt:286 */<p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
250 + | /* BuilderGenerator.kt:291 */
|
166 251 | pub fn s3_bucket_owner(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
252 + | /* BuilderGenerator.kt:292 */
|
167 253 | self.s3_bucket_owner = ::std::option::Option::Some(input.into());
|
254 + | /* BuilderGenerator.kt:293 */
|
168 255 | self
|
256 + | /* BuilderGenerator.kt:291 */
|
169 257 | }
|
170 - | /// <p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
258 + | /// /* BuilderGenerator.kt:312 */<p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
259 + | /* BuilderGenerator.kt:314 */
|
171 260 | pub fn set_s3_bucket_owner(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
261 + | /* BuilderGenerator.kt:315 */
|
172 262 | self.s3_bucket_owner = input;
|
173 263 | self
|
264 + | /* BuilderGenerator.kt:314 */
|
174 265 | }
|
175 - | /// <p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
266 + | /// /* BuilderGenerator.kt:334 */<p>The ID of the AWS account that owns the bucket the export will be stored in.</p>
|
267 + | /* BuilderGenerator.kt:336 */
|
176 268 | pub fn get_s3_bucket_owner(&self) -> &::std::option::Option<::std::string::String> {
|
269 + | /* BuilderGenerator.kt:337 */
|
177 270 | &self.s3_bucket_owner
|
271 + | /* BuilderGenerator.kt:336 */
|
178 272 | }
|
179 - | /// <p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
273 + | /// /* BuilderGenerator.kt:286 */<p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
274 + | /* BuilderGenerator.kt:291 */
|
180 275 | pub fn s3_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
276 + | /* BuilderGenerator.kt:292 */
|
181 277 | self.s3_prefix = ::std::option::Option::Some(input.into());
|
278 + | /* BuilderGenerator.kt:293 */
|
182 279 | self
|
280 + | /* BuilderGenerator.kt:291 */
|
183 281 | }
|
184 - | /// <p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
282 + | /// /* BuilderGenerator.kt:312 */<p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
283 + | /* BuilderGenerator.kt:314 */
|
185 284 | pub fn set_s3_prefix(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
285 + | /* BuilderGenerator.kt:315 */
|
186 286 | self.s3_prefix = input;
|
187 287 | self
|
288 + | /* BuilderGenerator.kt:314 */
|
188 289 | }
|
189 - | /// <p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
290 + | /// /* BuilderGenerator.kt:334 */<p>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.</p>
|
291 + | /* BuilderGenerator.kt:336 */
|
190 292 | pub fn get_s3_prefix(&self) -> &::std::option::Option<::std::string::String> {
|
293 + | /* BuilderGenerator.kt:337 */
|
191 294 | &self.s3_prefix
|
295 + | /* BuilderGenerator.kt:336 */
|
192 296 | }
|
193 - | /// <p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
297 + | /// /* BuilderGenerator.kt:286 */<p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
194 298 | /// <ul>
|
195 299 | /// <li>
|
196 300 | /// <p><code>AES256</code> - server-side encryption with Amazon S3 managed keys</p></li>
|
197 301 | /// <li>
|
198 302 | /// <p><code>KMS</code> - server-side encryption with AWS KMS managed keys</p></li>
|
199 303 | /// </ul>
|
304 + | /* BuilderGenerator.kt:291 */
|
200 305 | pub fn s3_sse_algorithm(mut self, input: crate::types::S3SseAlgorithm) -> Self {
|
306 + | /* BuilderGenerator.kt:292 */
|
201 307 | self.s3_sse_algorithm = ::std::option::Option::Some(input);
|
308 + | /* BuilderGenerator.kt:293 */
|
202 309 | self
|
310 + | /* BuilderGenerator.kt:291 */
|
203 311 | }
|
204 - | /// <p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
312 + | /// /* BuilderGenerator.kt:312 */<p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
205 313 | /// <ul>
|
206 314 | /// <li>
|
207 315 | /// <p><code>AES256</code> - server-side encryption with Amazon S3 managed keys</p></li>
|
208 316 | /// <li>
|
209 317 | /// <p><code>KMS</code> - server-side encryption with AWS KMS managed keys</p></li>
|
210 318 | /// </ul>
|
319 + | /* BuilderGenerator.kt:314 */
|
211 320 | pub fn set_s3_sse_algorithm(mut self, input: ::std::option::Option<crate::types::S3SseAlgorithm>) -> Self {
|
321 + | /* BuilderGenerator.kt:315 */
|
212 322 | self.s3_sse_algorithm = input;
|
213 323 | self
|
324 + | /* BuilderGenerator.kt:314 */
|
214 325 | }
|
215 - | /// <p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
326 + | /// /* BuilderGenerator.kt:334 */<p>Type of encryption used on the bucket where export data will be stored. Valid values for <code>S3SseAlgorithm</code> are:</p>
|
216 327 | /// <ul>
|
217 328 | /// <li>
|
218 329 | /// <p><code>AES256</code> - server-side encryption with Amazon S3 managed keys</p></li>
|
219 330 | /// <li>
|
220 331 | /// <p><code>KMS</code> - server-side encryption with AWS KMS managed keys</p></li>
|
221 332 | /// </ul>
|
333 + | /* BuilderGenerator.kt:336 */
|
222 334 | pub fn get_s3_sse_algorithm(&self) -> &::std::option::Option<crate::types::S3SseAlgorithm> {
|
335 + | /* BuilderGenerator.kt:337 */
|
223 336 | &self.s3_sse_algorithm
|
337 + | /* BuilderGenerator.kt:336 */
|
224 338 | }
|
225 - | /// <p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
339 + | /// /* BuilderGenerator.kt:286 */<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
340 + | /* BuilderGenerator.kt:291 */
|
226 341 | pub fn s3_sse_kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
342 + | /* BuilderGenerator.kt:292 */
|
227 343 | self.s3_sse_kms_key_id = ::std::option::Option::Some(input.into());
|
344 + | /* BuilderGenerator.kt:293 */
|
228 345 | self
|
346 + | /* BuilderGenerator.kt:291 */
|
229 347 | }
|
230 - | /// <p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
348 + | /// /* BuilderGenerator.kt:312 */<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
349 + | /* BuilderGenerator.kt:314 */
|
231 350 | pub fn set_s3_sse_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
351 + | /* BuilderGenerator.kt:315 */
|
232 352 | self.s3_sse_kms_key_id = input;
|
233 353 | self
|
354 + | /* BuilderGenerator.kt:314 */
|
234 355 | }
|
235 - | /// <p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
356 + | /// /* BuilderGenerator.kt:334 */<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).</p>
|
357 + | /* BuilderGenerator.kt:336 */
|
236 358 | pub fn get_s3_sse_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
|
359 + | /* BuilderGenerator.kt:337 */
|
237 360 | &self.s3_sse_kms_key_id
|
361 + | /* BuilderGenerator.kt:336 */
|
238 362 | }
|
239 - | /// <p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
363 + | /// /* BuilderGenerator.kt:286 */<p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
364 + | /* BuilderGenerator.kt:291 */
|
240 365 | pub fn export_format(mut self, input: crate::types::ExportFormat) -> Self {
|
366 + | /* BuilderGenerator.kt:292 */
|
241 367 | self.export_format = ::std::option::Option::Some(input);
|
368 + | /* BuilderGenerator.kt:293 */
|
242 369 | self
|
370 + | /* BuilderGenerator.kt:291 */
|
243 371 | }
|
244 - | /// <p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
372 + | /// /* BuilderGenerator.kt:312 */<p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
373 + | /* BuilderGenerator.kt:314 */
|
245 374 | pub fn set_export_format(mut self, input: ::std::option::Option<crate::types::ExportFormat>) -> Self {
|
375 + | /* BuilderGenerator.kt:315 */
|
246 376 | self.export_format = input;
|
247 377 | self
|
378 + | /* BuilderGenerator.kt:314 */
|
248 379 | }
|
249 - | /// <p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
380 + | /// /* BuilderGenerator.kt:334 */<p>The format for the exported data. Valid values for <code>ExportFormat</code> are <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>
|
381 + | /* BuilderGenerator.kt:336 */
|
250 382 | pub fn get_export_format(&self) -> &::std::option::Option<crate::types::ExportFormat> {
|
383 + | /* BuilderGenerator.kt:337 */
|
251 384 | &self.export_format
|
385 + | /* BuilderGenerator.kt:336 */
|
252 386 | }
|
253 - | /// Consumes the builder and constructs a [`ExportTableToPointInTimeInput`](crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput).
|
387 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`ExportTableToPointInTimeInput`](crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput).
|
388 + | /* BuilderGenerator.kt:253 */
|
254 389 | pub fn build(
|
255 390 | self,
|
256 391 | ) -> ::std::result::Result<
|
257 392 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput,
|
258 393 | ::aws_smithy_types::error::operation::BuildError,
|
259 394 | > {
|
260 - | ::std::result::Result::Ok(crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput {
|
261 - | table_arn: self.table_arn,
|
262 - | export_time: self.export_time,
|
263 - | client_token: self.client_token,
|
264 - | s3_bucket: self.s3_bucket,
|
265 - | s3_bucket_owner: self.s3_bucket_owner,
|
266 - | s3_prefix: self.s3_prefix,
|
267 - | s3_sse_algorithm: self.s3_sse_algorithm,
|
268 - | s3_sse_kms_key_id: self.s3_sse_kms_key_id,
|
269 - | export_format: self.export_format,
|
270 - | })
|
271 - | }
|
395 + | /* BuilderGenerator.kt:254 */
|
396 + | ::std::result::Result::Ok(
|
397 + | /* BuilderGenerator.kt:477 */
|
398 + | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeInput {
|
399 + | /* BuilderGenerator.kt:481 */ table_arn: self.table_arn,
|
400 + | /* BuilderGenerator.kt:481 */
|
401 + | export_time: self.export_time,
|
402 + | /* BuilderGenerator.kt:481 */
|
403 + | client_token: self.client_token,
|
404 + | /* BuilderGenerator.kt:481 */
|
405 + | s3_bucket: self.s3_bucket,
|
406 + | /* BuilderGenerator.kt:481 */
|
407 + | s3_bucket_owner: self.s3_bucket_owner,
|
408 + | /* BuilderGenerator.kt:481 */
|
409 + | s3_prefix: self.s3_prefix,
|
410 + | /* BuilderGenerator.kt:481 */
|
411 + | s3_sse_algorithm: self.s3_sse_algorithm,
|
412 + | /* BuilderGenerator.kt:481 */
|
413 + | s3_sse_kms_key_id: self.s3_sse_kms_key_id,
|
414 + | /* BuilderGenerator.kt:481 */
|
415 + | export_format: self.export_format,
|
416 + | /* BuilderGenerator.kt:477 */
|
417 + | }, /* BuilderGenerator.kt:254 */
|
418 + | )
|
419 + | /* BuilderGenerator.kt:253 */
|
420 + | }
|
421 + | /* BuilderGenerator.kt:355 */
|
272 422 | }
|