aws-sdk-databasemigration 1.112.0

AWS SDK for AWS Database Migration Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>Describes an endpoint of a database instance in response to operations such as the following:</p>
/// <ul>
/// <li>
/// <p><code>CreateEndpoint</code></p></li>
/// <li>
/// <p><code>DescribeEndpoint</code></p></li>
/// <li>
/// <p><code>ModifyEndpoint</code></p></li>
/// </ul>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct Endpoint {
    /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.</p>
    pub endpoint_identifier: ::std::option::Option<::std::string::String>,
    /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
    pub endpoint_type: ::std::option::Option<crate::types::ReplicationEndpointTypeValue>,
    /// <p>The database engine name. Valid values, depending on the EndpointType, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"redshift"</code>, <code>"redshift-serverless"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"documentdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, and <code>"babelfish"</code>.</p>
    pub engine_name: ::std::option::Option<::std::string::String>,
    /// <p>The expanded name for the engine name. For example, if the <code>EngineName</code> parameter is "aurora", this value would be "Amazon Aurora MySQL".</p>
    pub engine_display_name: ::std::option::Option<::std::string::String>,
    /// <p>The user name used to connect to the endpoint.</p>
    pub username: ::std::option::Option<::std::string::String>,
    /// <p>The name of the server at the endpoint.</p>
    pub server_name: ::std::option::Option<::std::string::String>,
    /// <p>The port value used to access the endpoint.</p>
    pub port: ::std::option::Option<i32>,
    /// <p>The name of the database at the endpoint.</p>
    pub database_name: ::std::option::Option<::std::string::String>,
    /// <p>Additional connection attributes used to connect to the endpoint.</p>
    pub extra_connection_attributes: ::std::option::Option<::std::string::String>,
    /// <p>The status of the endpoint.</p>
    pub status: ::std::option::Option<::std::string::String>,
    /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
    /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
    /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
    pub kms_key_id: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>
    pub endpoint_arn: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Resource Name (ARN) used for SSL connection to the endpoint.</p>
    pub certificate_arn: ::std::option::Option<::std::string::String>,
    /// <p>The SSL mode used to connect to the endpoint. The default value is <code>none</code>.</p>
    pub ssl_mode: ::std::option::Option<crate::types::DmsSslModeValue>,
    /// <p>The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the <code>iam:PassRole</code> action.</p>
    pub service_access_role_arn: ::std::option::Option<::std::string::String>,
    /// <p>The external table definition.</p>
    pub external_table_definition: ::std::option::Option<::std::string::String>,
    /// <p>Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.</p>
    pub external_id: ::std::option::Option<::std::string::String>,
    /// <p>Indicates whether the endpoint is read-only. When set to <code>true</code>, this endpoint is managed by DMS as part of a zero-ETL integration and cannot be modified or deleted directly. You can only modify or delete read-only endpoints through their associated zero-ETL integration.</p>
    pub is_read_only: ::std::option::Option<bool>,
    /// <p>The settings for the DynamoDB target endpoint. For more information, see the <code>DynamoDBSettings</code> structure.</p>
    pub dynamo_db_settings: ::std::option::Option<crate::types::DynamoDbSettings>,
    /// <p>The settings for the S3 target endpoint. For more information, see the <code>S3Settings</code> structure.</p>
    pub s3_settings: ::std::option::Option<crate::types::S3Settings>,
    /// <p>The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.</p>
    pub dms_transfer_settings: ::std::option::Option<crate::types::DmsTransferSettings>,
    /// <p>The settings for the MongoDB source endpoint. For more information, see the <code>MongoDbSettings</code> structure.</p>
    pub mongo_db_settings: ::std::option::Option<crate::types::MongoDbSettings>,
    /// <p>The settings for the Amazon Kinesis target endpoint. For more information, see the <code>KinesisSettings</code> structure.</p>
    pub kinesis_settings: ::std::option::Option<crate::types::KinesisSettings>,
    /// <p>The settings for the Apache Kafka target endpoint. For more information, see the <code>KafkaSettings</code> structure.</p>
    pub kafka_settings: ::std::option::Option<crate::types::KafkaSettings>,
    /// <p>The settings for the OpenSearch source endpoint. For more information, see the <code>ElasticsearchSettings</code> structure.</p>
    pub elasticsearch_settings: ::std::option::Option<crate::types::ElasticsearchSettings>,
    /// <p>The settings for the Amazon Neptune target endpoint. For more information, see the <code>NeptuneSettings</code> structure.</p>
    pub neptune_settings: ::std::option::Option<crate::types::NeptuneSettings>,
    /// <p>Settings for the Amazon Redshift endpoint.</p>
    pub redshift_settings: ::std::option::Option<crate::types::RedshiftSettings>,
    /// <p>The settings for the PostgreSQL source and target endpoint. For more information, see the <code>PostgreSQLSettings</code> structure.</p>
    pub postgre_sql_settings: ::std::option::Option<crate::types::PostgreSqlSettings>,
    /// <p>The settings for the MySQL source and target endpoint. For more information, see the <code>MySQLSettings</code> structure.</p>
    pub my_sql_settings: ::std::option::Option<crate::types::MySqlSettings>,
    /// <p>The settings for the Oracle source and target endpoint. For more information, see the <code>OracleSettings</code> structure.</p>
    pub oracle_settings: ::std::option::Option<crate::types::OracleSettings>,
    /// <p>The settings for the SAP ASE source and target endpoint. For more information, see the <code>SybaseSettings</code> structure.</p>
    pub sybase_settings: ::std::option::Option<crate::types::SybaseSettings>,
    /// <p>The settings for the Microsoft SQL Server source and target endpoint. For more information, see the <code>MicrosoftSQLServerSettings</code> structure.</p>
    pub microsoft_sql_server_settings: ::std::option::Option<crate::types::MicrosoftSqlServerSettings>,
    /// <p>The settings for the IBM Db2 LUW source endpoint. For more information, see the <code>IBMDb2Settings</code> structure.</p>
    pub ibm_db2_settings: ::std::option::Option<crate::types::IbmDb2Settings>,
    /// <p>Provides information that defines a DocumentDB endpoint.</p>
    pub doc_db_settings: ::std::option::Option<crate::types::DocDbSettings>,
    /// <p>The settings for the Redis target endpoint. For more information, see the <code>RedisSettings</code> structure.</p>
    pub redis_settings: ::std::option::Option<crate::types::RedisSettings>,
    /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
    pub gcp_my_sql_settings: ::std::option::Option<crate::types::GcpMySqlSettings>,
    /// <p>The settings for the Amazon Timestream target endpoint. For more information, see the <code>TimestreamSettings</code> structure.</p>
    pub timestream_settings: ::std::option::Option<crate::types::TimestreamSettings>,
    /// <p>Settings in JSON format for the target Lakehouse endpoint. This parameter applies to endpoints that are automatically created by DMS for a Lakehouse data warehouse as part of a zero-ETL integration.</p>
    pub lakehouse_settings: ::std::option::Option<crate::types::LakehouseSettings>,
}
impl Endpoint {
    /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.</p>
    pub fn endpoint_identifier(&self) -> ::std::option::Option<&str> {
        self.endpoint_identifier.as_deref()
    }
    /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
    pub fn endpoint_type(&self) -> ::std::option::Option<&crate::types::ReplicationEndpointTypeValue> {
        self.endpoint_type.as_ref()
    }
    /// <p>The database engine name. Valid values, depending on the EndpointType, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"redshift"</code>, <code>"redshift-serverless"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"documentdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, and <code>"babelfish"</code>.</p>
    pub fn engine_name(&self) -> ::std::option::Option<&str> {
        self.engine_name.as_deref()
    }
    /// <p>The expanded name for the engine name. For example, if the <code>EngineName</code> parameter is "aurora", this value would be "Amazon Aurora MySQL".</p>
    pub fn engine_display_name(&self) -> ::std::option::Option<&str> {
        self.engine_display_name.as_deref()
    }
    /// <p>The user name used to connect to the endpoint.</p>
    pub fn username(&self) -> ::std::option::Option<&str> {
        self.username.as_deref()
    }
    /// <p>The name of the server at the endpoint.</p>
    pub fn server_name(&self) -> ::std::option::Option<&str> {
        self.server_name.as_deref()
    }
    /// <p>The port value used to access the endpoint.</p>
    pub fn port(&self) -> ::std::option::Option<i32> {
        self.port
    }
    /// <p>The name of the database at the endpoint.</p>
    pub fn database_name(&self) -> ::std::option::Option<&str> {
        self.database_name.as_deref()
    }
    /// <p>Additional connection attributes used to connect to the endpoint.</p>
    pub fn extra_connection_attributes(&self) -> ::std::option::Option<&str> {
        self.extra_connection_attributes.as_deref()
    }
    /// <p>The status of the endpoint.</p>
    pub fn status(&self) -> ::std::option::Option<&str> {
        self.status.as_deref()
    }
    /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
    /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
    /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
    pub fn kms_key_id(&self) -> ::std::option::Option<&str> {
        self.kms_key_id.as_deref()
    }
    /// <p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>
    pub fn endpoint_arn(&self) -> ::std::option::Option<&str> {
        self.endpoint_arn.as_deref()
    }
    /// <p>The Amazon Resource Name (ARN) used for SSL connection to the endpoint.</p>
    pub fn certificate_arn(&self) -> ::std::option::Option<&str> {
        self.certificate_arn.as_deref()
    }
    /// <p>The SSL mode used to connect to the endpoint. The default value is <code>none</code>.</p>
    pub fn ssl_mode(&self) -> ::std::option::Option<&crate::types::DmsSslModeValue> {
        self.ssl_mode.as_ref()
    }
    /// <p>The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the <code>iam:PassRole</code> action.</p>
    pub fn service_access_role_arn(&self) -> ::std::option::Option<&str> {
        self.service_access_role_arn.as_deref()
    }
    /// <p>The external table definition.</p>
    pub fn external_table_definition(&self) -> ::std::option::Option<&str> {
        self.external_table_definition.as_deref()
    }
    /// <p>Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.</p>
    pub fn external_id(&self) -> ::std::option::Option<&str> {
        self.external_id.as_deref()
    }
    /// <p>Indicates whether the endpoint is read-only. When set to <code>true</code>, this endpoint is managed by DMS as part of a zero-ETL integration and cannot be modified or deleted directly. You can only modify or delete read-only endpoints through their associated zero-ETL integration.</p>
    pub fn is_read_only(&self) -> ::std::option::Option<bool> {
        self.is_read_only
    }
    /// <p>The settings for the DynamoDB target endpoint. For more information, see the <code>DynamoDBSettings</code> structure.</p>
    pub fn dynamo_db_settings(&self) -> ::std::option::Option<&crate::types::DynamoDbSettings> {
        self.dynamo_db_settings.as_ref()
    }
    /// <p>The settings for the S3 target endpoint. For more information, see the <code>S3Settings</code> structure.</p>
    pub fn s3_settings(&self) -> ::std::option::Option<&crate::types::S3Settings> {
        self.s3_settings.as_ref()
    }
    /// <p>The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.</p>
    pub fn dms_transfer_settings(&self) -> ::std::option::Option<&crate::types::DmsTransferSettings> {
        self.dms_transfer_settings.as_ref()
    }
    /// <p>The settings for the MongoDB source endpoint. For more information, see the <code>MongoDbSettings</code> structure.</p>
    pub fn mongo_db_settings(&self) -> ::std::option::Option<&crate::types::MongoDbSettings> {
        self.mongo_db_settings.as_ref()
    }
    /// <p>The settings for the Amazon Kinesis target endpoint. For more information, see the <code>KinesisSettings</code> structure.</p>
    pub fn kinesis_settings(&self) -> ::std::option::Option<&crate::types::KinesisSettings> {
        self.kinesis_settings.as_ref()
    }
    /// <p>The settings for the Apache Kafka target endpoint. For more information, see the <code>KafkaSettings</code> structure.</p>
    pub fn kafka_settings(&self) -> ::std::option::Option<&crate::types::KafkaSettings> {
        self.kafka_settings.as_ref()
    }
    /// <p>The settings for the OpenSearch source endpoint. For more information, see the <code>ElasticsearchSettings</code> structure.</p>
    pub fn elasticsearch_settings(&self) -> ::std::option::Option<&crate::types::ElasticsearchSettings> {
        self.elasticsearch_settings.as_ref()
    }
    /// <p>The settings for the Amazon Neptune target endpoint. For more information, see the <code>NeptuneSettings</code> structure.</p>
    pub fn neptune_settings(&self) -> ::std::option::Option<&crate::types::NeptuneSettings> {
        self.neptune_settings.as_ref()
    }
    /// <p>Settings for the Amazon Redshift endpoint.</p>
    pub fn redshift_settings(&self) -> ::std::option::Option<&crate::types::RedshiftSettings> {
        self.redshift_settings.as_ref()
    }
    /// <p>The settings for the PostgreSQL source and target endpoint. For more information, see the <code>PostgreSQLSettings</code> structure.</p>
    pub fn postgre_sql_settings(&self) -> ::std::option::Option<&crate::types::PostgreSqlSettings> {
        self.postgre_sql_settings.as_ref()
    }
    /// <p>The settings for the MySQL source and target endpoint. For more information, see the <code>MySQLSettings</code> structure.</p>
    pub fn my_sql_settings(&self) -> ::std::option::Option<&crate::types::MySqlSettings> {
        self.my_sql_settings.as_ref()
    }
    /// <p>The settings for the Oracle source and target endpoint. For more information, see the <code>OracleSettings</code> structure.</p>
    pub fn oracle_settings(&self) -> ::std::option::Option<&crate::types::OracleSettings> {
        self.oracle_settings.as_ref()
    }
    /// <p>The settings for the SAP ASE source and target endpoint. For more information, see the <code>SybaseSettings</code> structure.</p>
    pub fn sybase_settings(&self) -> ::std::option::Option<&crate::types::SybaseSettings> {
        self.sybase_settings.as_ref()
    }
    /// <p>The settings for the Microsoft SQL Server source and target endpoint. For more information, see the <code>MicrosoftSQLServerSettings</code> structure.</p>
    pub fn microsoft_sql_server_settings(&self) -> ::std::option::Option<&crate::types::MicrosoftSqlServerSettings> {
        self.microsoft_sql_server_settings.as_ref()
    }
    /// <p>The settings for the IBM Db2 LUW source endpoint. For more information, see the <code>IBMDb2Settings</code> structure.</p>
    pub fn ibm_db2_settings(&self) -> ::std::option::Option<&crate::types::IbmDb2Settings> {
        self.ibm_db2_settings.as_ref()
    }
    /// <p>Provides information that defines a DocumentDB endpoint.</p>
    pub fn doc_db_settings(&self) -> ::std::option::Option<&crate::types::DocDbSettings> {
        self.doc_db_settings.as_ref()
    }
    /// <p>The settings for the Redis target endpoint. For more information, see the <code>RedisSettings</code> structure.</p>
    pub fn redis_settings(&self) -> ::std::option::Option<&crate::types::RedisSettings> {
        self.redis_settings.as_ref()
    }
    /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
    pub fn gcp_my_sql_settings(&self) -> ::std::option::Option<&crate::types::GcpMySqlSettings> {
        self.gcp_my_sql_settings.as_ref()
    }
    /// <p>The settings for the Amazon Timestream target endpoint. For more information, see the <code>TimestreamSettings</code> structure.</p>
    pub fn timestream_settings(&self) -> ::std::option::Option<&crate::types::TimestreamSettings> {
        self.timestream_settings.as_ref()
    }
    /// <p>Settings in JSON format for the target Lakehouse endpoint. This parameter applies to endpoints that are automatically created by DMS for a Lakehouse data warehouse as part of a zero-ETL integration.</p>
    pub fn lakehouse_settings(&self) -> ::std::option::Option<&crate::types::LakehouseSettings> {
        self.lakehouse_settings.as_ref()
    }
}
impl Endpoint {
    /// Creates a new builder-style object to manufacture [`Endpoint`](crate::types::Endpoint).
    pub fn builder() -> crate::types::builders::EndpointBuilder {
        crate::types::builders::EndpointBuilder::default()
    }
}

/// A builder for [`Endpoint`](crate::types::Endpoint).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct EndpointBuilder {
    pub(crate) endpoint_identifier: ::std::option::Option<::std::string::String>,
    pub(crate) endpoint_type: ::std::option::Option<crate::types::ReplicationEndpointTypeValue>,
    pub(crate) engine_name: ::std::option::Option<::std::string::String>,
    pub(crate) engine_display_name: ::std::option::Option<::std::string::String>,
    pub(crate) username: ::std::option::Option<::std::string::String>,
    pub(crate) server_name: ::std::option::Option<::std::string::String>,
    pub(crate) port: ::std::option::Option<i32>,
    pub(crate) database_name: ::std::option::Option<::std::string::String>,
    pub(crate) extra_connection_attributes: ::std::option::Option<::std::string::String>,
    pub(crate) status: ::std::option::Option<::std::string::String>,
    pub(crate) kms_key_id: ::std::option::Option<::std::string::String>,
    pub(crate) endpoint_arn: ::std::option::Option<::std::string::String>,
    pub(crate) certificate_arn: ::std::option::Option<::std::string::String>,
    pub(crate) ssl_mode: ::std::option::Option<crate::types::DmsSslModeValue>,
    pub(crate) service_access_role_arn: ::std::option::Option<::std::string::String>,
    pub(crate) external_table_definition: ::std::option::Option<::std::string::String>,
    pub(crate) external_id: ::std::option::Option<::std::string::String>,
    pub(crate) is_read_only: ::std::option::Option<bool>,
    pub(crate) dynamo_db_settings: ::std::option::Option<crate::types::DynamoDbSettings>,
    pub(crate) s3_settings: ::std::option::Option<crate::types::S3Settings>,
    pub(crate) dms_transfer_settings: ::std::option::Option<crate::types::DmsTransferSettings>,
    pub(crate) mongo_db_settings: ::std::option::Option<crate::types::MongoDbSettings>,
    pub(crate) kinesis_settings: ::std::option::Option<crate::types::KinesisSettings>,
    pub(crate) kafka_settings: ::std::option::Option<crate::types::KafkaSettings>,
    pub(crate) elasticsearch_settings: ::std::option::Option<crate::types::ElasticsearchSettings>,
    pub(crate) neptune_settings: ::std::option::Option<crate::types::NeptuneSettings>,
    pub(crate) redshift_settings: ::std::option::Option<crate::types::RedshiftSettings>,
    pub(crate) postgre_sql_settings: ::std::option::Option<crate::types::PostgreSqlSettings>,
    pub(crate) my_sql_settings: ::std::option::Option<crate::types::MySqlSettings>,
    pub(crate) oracle_settings: ::std::option::Option<crate::types::OracleSettings>,
    pub(crate) sybase_settings: ::std::option::Option<crate::types::SybaseSettings>,
    pub(crate) microsoft_sql_server_settings: ::std::option::Option<crate::types::MicrosoftSqlServerSettings>,
    pub(crate) ibm_db2_settings: ::std::option::Option<crate::types::IbmDb2Settings>,
    pub(crate) doc_db_settings: ::std::option::Option<crate::types::DocDbSettings>,
    pub(crate) redis_settings: ::std::option::Option<crate::types::RedisSettings>,
    pub(crate) gcp_my_sql_settings: ::std::option::Option<crate::types::GcpMySqlSettings>,
    pub(crate) timestream_settings: ::std::option::Option<crate::types::TimestreamSettings>,
    pub(crate) lakehouse_settings: ::std::option::Option<crate::types::LakehouseSettings>,
}
impl EndpointBuilder {
    /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.</p>
    pub fn endpoint_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.endpoint_identifier = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.</p>
    pub fn set_endpoint_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.endpoint_identifier = input;
        self
    }
    /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.</p>
    pub fn get_endpoint_identifier(&self) -> &::std::option::Option<::std::string::String> {
        &self.endpoint_identifier
    }
    /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
    pub fn endpoint_type(mut self, input: crate::types::ReplicationEndpointTypeValue) -> Self {
        self.endpoint_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
    pub fn set_endpoint_type(mut self, input: ::std::option::Option<crate::types::ReplicationEndpointTypeValue>) -> Self {
        self.endpoint_type = input;
        self
    }
    /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
    pub fn get_endpoint_type(&self) -> &::std::option::Option<crate::types::ReplicationEndpointTypeValue> {
        &self.endpoint_type
    }
    /// <p>The database engine name. Valid values, depending on the EndpointType, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"redshift"</code>, <code>"redshift-serverless"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"documentdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, and <code>"babelfish"</code>.</p>
    pub fn engine_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.engine_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The database engine name. Valid values, depending on the EndpointType, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"redshift"</code>, <code>"redshift-serverless"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"documentdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, and <code>"babelfish"</code>.</p>
    pub fn set_engine_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.engine_name = input;
        self
    }
    /// <p>The database engine name. Valid values, depending on the EndpointType, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"redshift"</code>, <code>"redshift-serverless"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"documentdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, and <code>"babelfish"</code>.</p>
    pub fn get_engine_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.engine_name
    }
    /// <p>The expanded name for the engine name. For example, if the <code>EngineName</code> parameter is "aurora", this value would be "Amazon Aurora MySQL".</p>
    pub fn engine_display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.engine_display_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The expanded name for the engine name. For example, if the <code>EngineName</code> parameter is "aurora", this value would be "Amazon Aurora MySQL".</p>
    pub fn set_engine_display_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.engine_display_name = input;
        self
    }
    /// <p>The expanded name for the engine name. For example, if the <code>EngineName</code> parameter is "aurora", this value would be "Amazon Aurora MySQL".</p>
    pub fn get_engine_display_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.engine_display_name
    }
    /// <p>The user name used to connect to the endpoint.</p>
    pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.username = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The user name used to connect to the endpoint.</p>
    pub fn set_username(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.username = input;
        self
    }
    /// <p>The user name used to connect to the endpoint.</p>
    pub fn get_username(&self) -> &::std::option::Option<::std::string::String> {
        &self.username
    }
    /// <p>The name of the server at the endpoint.</p>
    pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.server_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the server at the endpoint.</p>
    pub fn set_server_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.server_name = input;
        self
    }
    /// <p>The name of the server at the endpoint.</p>
    pub fn get_server_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.server_name
    }
    /// <p>The port value used to access the endpoint.</p>
    pub fn port(mut self, input: i32) -> Self {
        self.port = ::std::option::Option::Some(input);
        self
    }
    /// <p>The port value used to access the endpoint.</p>
    pub fn set_port(mut self, input: ::std::option::Option<i32>) -> Self {
        self.port = input;
        self
    }
    /// <p>The port value used to access the endpoint.</p>
    pub fn get_port(&self) -> &::std::option::Option<i32> {
        &self.port
    }
    /// <p>The name of the database at the endpoint.</p>
    pub fn database_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.database_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the database at the endpoint.</p>
    pub fn set_database_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.database_name = input;
        self
    }
    /// <p>The name of the database at the endpoint.</p>
    pub fn get_database_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.database_name
    }
    /// <p>Additional connection attributes used to connect to the endpoint.</p>
    pub fn extra_connection_attributes(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.extra_connection_attributes = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Additional connection attributes used to connect to the endpoint.</p>
    pub fn set_extra_connection_attributes(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.extra_connection_attributes = input;
        self
    }
    /// <p>Additional connection attributes used to connect to the endpoint.</p>
    pub fn get_extra_connection_attributes(&self) -> &::std::option::Option<::std::string::String> {
        &self.extra_connection_attributes
    }
    /// <p>The status of the endpoint.</p>
    pub fn status(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.status = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The status of the endpoint.</p>
    pub fn set_status(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.status = input;
        self
    }
    /// <p>The status of the endpoint.</p>
    pub fn get_status(&self) -> &::std::option::Option<::std::string::String> {
        &self.status
    }
    /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
    /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
    /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
    pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.kms_key_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
    /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
    /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
    pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.kms_key_id = input;
        self
    }
    /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
    /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
    /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
    pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.kms_key_id
    }
    /// <p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>
    pub fn endpoint_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.endpoint_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>
    pub fn set_endpoint_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.endpoint_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>
    pub fn get_endpoint_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.endpoint_arn
    }
    /// <p>The Amazon Resource Name (ARN) used for SSL connection to the endpoint.</p>
    pub fn certificate_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.certificate_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) used for SSL connection to the endpoint.</p>
    pub fn set_certificate_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.certificate_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) used for SSL connection to the endpoint.</p>
    pub fn get_certificate_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.certificate_arn
    }
    /// <p>The SSL mode used to connect to the endpoint. The default value is <code>none</code>.</p>
    pub fn ssl_mode(mut self, input: crate::types::DmsSslModeValue) -> Self {
        self.ssl_mode = ::std::option::Option::Some(input);
        self
    }
    /// <p>The SSL mode used to connect to the endpoint. The default value is <code>none</code>.</p>
    pub fn set_ssl_mode(mut self, input: ::std::option::Option<crate::types::DmsSslModeValue>) -> Self {
        self.ssl_mode = input;
        self
    }
    /// <p>The SSL mode used to connect to the endpoint. The default value is <code>none</code>.</p>
    pub fn get_ssl_mode(&self) -> &::std::option::Option<crate::types::DmsSslModeValue> {
        &self.ssl_mode
    }
    /// <p>The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the <code>iam:PassRole</code> action.</p>
    pub fn service_access_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.service_access_role_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the <code>iam:PassRole</code> action.</p>
    pub fn set_service_access_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.service_access_role_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the <code>iam:PassRole</code> action.</p>
    pub fn get_service_access_role_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.service_access_role_arn
    }
    /// <p>The external table definition.</p>
    pub fn external_table_definition(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.external_table_definition = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The external table definition.</p>
    pub fn set_external_table_definition(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.external_table_definition = input;
        self
    }
    /// <p>The external table definition.</p>
    pub fn get_external_table_definition(&self) -> &::std::option::Option<::std::string::String> {
        &self.external_table_definition
    }
    /// <p>Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.</p>
    pub fn external_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.external_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.</p>
    pub fn set_external_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.external_id = input;
        self
    }
    /// <p>Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.</p>
    pub fn get_external_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.external_id
    }
    /// <p>Indicates whether the endpoint is read-only. When set to <code>true</code>, this endpoint is managed by DMS as part of a zero-ETL integration and cannot be modified or deleted directly. You can only modify or delete read-only endpoints through their associated zero-ETL integration.</p>
    pub fn is_read_only(mut self, input: bool) -> Self {
        self.is_read_only = ::std::option::Option::Some(input);
        self
    }
    /// <p>Indicates whether the endpoint is read-only. When set to <code>true</code>, this endpoint is managed by DMS as part of a zero-ETL integration and cannot be modified or deleted directly. You can only modify or delete read-only endpoints through their associated zero-ETL integration.</p>
    pub fn set_is_read_only(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_read_only = input;
        self
    }
    /// <p>Indicates whether the endpoint is read-only. When set to <code>true</code>, this endpoint is managed by DMS as part of a zero-ETL integration and cannot be modified or deleted directly. You can only modify or delete read-only endpoints through their associated zero-ETL integration.</p>
    pub fn get_is_read_only(&self) -> &::std::option::Option<bool> {
        &self.is_read_only
    }
    /// <p>The settings for the DynamoDB target endpoint. For more information, see the <code>DynamoDBSettings</code> structure.</p>
    pub fn dynamo_db_settings(mut self, input: crate::types::DynamoDbSettings) -> Self {
        self.dynamo_db_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the DynamoDB target endpoint. For more information, see the <code>DynamoDBSettings</code> structure.</p>
    pub fn set_dynamo_db_settings(mut self, input: ::std::option::Option<crate::types::DynamoDbSettings>) -> Self {
        self.dynamo_db_settings = input;
        self
    }
    /// <p>The settings for the DynamoDB target endpoint. For more information, see the <code>DynamoDBSettings</code> structure.</p>
    pub fn get_dynamo_db_settings(&self) -> &::std::option::Option<crate::types::DynamoDbSettings> {
        &self.dynamo_db_settings
    }
    /// <p>The settings for the S3 target endpoint. For more information, see the <code>S3Settings</code> structure.</p>
    pub fn s3_settings(mut self, input: crate::types::S3Settings) -> Self {
        self.s3_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the S3 target endpoint. For more information, see the <code>S3Settings</code> structure.</p>
    pub fn set_s3_settings(mut self, input: ::std::option::Option<crate::types::S3Settings>) -> Self {
        self.s3_settings = input;
        self
    }
    /// <p>The settings for the S3 target endpoint. For more information, see the <code>S3Settings</code> structure.</p>
    pub fn get_s3_settings(&self) -> &::std::option::Option<crate::types::S3Settings> {
        &self.s3_settings
    }
    /// <p>The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.</p>
    pub fn dms_transfer_settings(mut self, input: crate::types::DmsTransferSettings) -> Self {
        self.dms_transfer_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.</p>
    pub fn set_dms_transfer_settings(mut self, input: ::std::option::Option<crate::types::DmsTransferSettings>) -> Self {
        self.dms_transfer_settings = input;
        self
    }
    /// <p>The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.</p>
    pub fn get_dms_transfer_settings(&self) -> &::std::option::Option<crate::types::DmsTransferSettings> {
        &self.dms_transfer_settings
    }
    /// <p>The settings for the MongoDB source endpoint. For more information, see the <code>MongoDbSettings</code> structure.</p>
    pub fn mongo_db_settings(mut self, input: crate::types::MongoDbSettings) -> Self {
        self.mongo_db_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the MongoDB source endpoint. For more information, see the <code>MongoDbSettings</code> structure.</p>
    pub fn set_mongo_db_settings(mut self, input: ::std::option::Option<crate::types::MongoDbSettings>) -> Self {
        self.mongo_db_settings = input;
        self
    }
    /// <p>The settings for the MongoDB source endpoint. For more information, see the <code>MongoDbSettings</code> structure.</p>
    pub fn get_mongo_db_settings(&self) -> &::std::option::Option<crate::types::MongoDbSettings> {
        &self.mongo_db_settings
    }
    /// <p>The settings for the Amazon Kinesis target endpoint. For more information, see the <code>KinesisSettings</code> structure.</p>
    pub fn kinesis_settings(mut self, input: crate::types::KinesisSettings) -> Self {
        self.kinesis_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Amazon Kinesis target endpoint. For more information, see the <code>KinesisSettings</code> structure.</p>
    pub fn set_kinesis_settings(mut self, input: ::std::option::Option<crate::types::KinesisSettings>) -> Self {
        self.kinesis_settings = input;
        self
    }
    /// <p>The settings for the Amazon Kinesis target endpoint. For more information, see the <code>KinesisSettings</code> structure.</p>
    pub fn get_kinesis_settings(&self) -> &::std::option::Option<crate::types::KinesisSettings> {
        &self.kinesis_settings
    }
    /// <p>The settings for the Apache Kafka target endpoint. For more information, see the <code>KafkaSettings</code> structure.</p>
    pub fn kafka_settings(mut self, input: crate::types::KafkaSettings) -> Self {
        self.kafka_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Apache Kafka target endpoint. For more information, see the <code>KafkaSettings</code> structure.</p>
    pub fn set_kafka_settings(mut self, input: ::std::option::Option<crate::types::KafkaSettings>) -> Self {
        self.kafka_settings = input;
        self
    }
    /// <p>The settings for the Apache Kafka target endpoint. For more information, see the <code>KafkaSettings</code> structure.</p>
    pub fn get_kafka_settings(&self) -> &::std::option::Option<crate::types::KafkaSettings> {
        &self.kafka_settings
    }
    /// <p>The settings for the OpenSearch source endpoint. For more information, see the <code>ElasticsearchSettings</code> structure.</p>
    pub fn elasticsearch_settings(mut self, input: crate::types::ElasticsearchSettings) -> Self {
        self.elasticsearch_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the OpenSearch source endpoint. For more information, see the <code>ElasticsearchSettings</code> structure.</p>
    pub fn set_elasticsearch_settings(mut self, input: ::std::option::Option<crate::types::ElasticsearchSettings>) -> Self {
        self.elasticsearch_settings = input;
        self
    }
    /// <p>The settings for the OpenSearch source endpoint. For more information, see the <code>ElasticsearchSettings</code> structure.</p>
    pub fn get_elasticsearch_settings(&self) -> &::std::option::Option<crate::types::ElasticsearchSettings> {
        &self.elasticsearch_settings
    }
    /// <p>The settings for the Amazon Neptune target endpoint. For more information, see the <code>NeptuneSettings</code> structure.</p>
    pub fn neptune_settings(mut self, input: crate::types::NeptuneSettings) -> Self {
        self.neptune_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Amazon Neptune target endpoint. For more information, see the <code>NeptuneSettings</code> structure.</p>
    pub fn set_neptune_settings(mut self, input: ::std::option::Option<crate::types::NeptuneSettings>) -> Self {
        self.neptune_settings = input;
        self
    }
    /// <p>The settings for the Amazon Neptune target endpoint. For more information, see the <code>NeptuneSettings</code> structure.</p>
    pub fn get_neptune_settings(&self) -> &::std::option::Option<crate::types::NeptuneSettings> {
        &self.neptune_settings
    }
    /// <p>Settings for the Amazon Redshift endpoint.</p>
    pub fn redshift_settings(mut self, input: crate::types::RedshiftSettings) -> Self {
        self.redshift_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>Settings for the Amazon Redshift endpoint.</p>
    pub fn set_redshift_settings(mut self, input: ::std::option::Option<crate::types::RedshiftSettings>) -> Self {
        self.redshift_settings = input;
        self
    }
    /// <p>Settings for the Amazon Redshift endpoint.</p>
    pub fn get_redshift_settings(&self) -> &::std::option::Option<crate::types::RedshiftSettings> {
        &self.redshift_settings
    }
    /// <p>The settings for the PostgreSQL source and target endpoint. For more information, see the <code>PostgreSQLSettings</code> structure.</p>
    pub fn postgre_sql_settings(mut self, input: crate::types::PostgreSqlSettings) -> Self {
        self.postgre_sql_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the PostgreSQL source and target endpoint. For more information, see the <code>PostgreSQLSettings</code> structure.</p>
    pub fn set_postgre_sql_settings(mut self, input: ::std::option::Option<crate::types::PostgreSqlSettings>) -> Self {
        self.postgre_sql_settings = input;
        self
    }
    /// <p>The settings for the PostgreSQL source and target endpoint. For more information, see the <code>PostgreSQLSettings</code> structure.</p>
    pub fn get_postgre_sql_settings(&self) -> &::std::option::Option<crate::types::PostgreSqlSettings> {
        &self.postgre_sql_settings
    }
    /// <p>The settings for the MySQL source and target endpoint. For more information, see the <code>MySQLSettings</code> structure.</p>
    pub fn my_sql_settings(mut self, input: crate::types::MySqlSettings) -> Self {
        self.my_sql_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the MySQL source and target endpoint. For more information, see the <code>MySQLSettings</code> structure.</p>
    pub fn set_my_sql_settings(mut self, input: ::std::option::Option<crate::types::MySqlSettings>) -> Self {
        self.my_sql_settings = input;
        self
    }
    /// <p>The settings for the MySQL source and target endpoint. For more information, see the <code>MySQLSettings</code> structure.</p>
    pub fn get_my_sql_settings(&self) -> &::std::option::Option<crate::types::MySqlSettings> {
        &self.my_sql_settings
    }
    /// <p>The settings for the Oracle source and target endpoint. For more information, see the <code>OracleSettings</code> structure.</p>
    pub fn oracle_settings(mut self, input: crate::types::OracleSettings) -> Self {
        self.oracle_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Oracle source and target endpoint. For more information, see the <code>OracleSettings</code> structure.</p>
    pub fn set_oracle_settings(mut self, input: ::std::option::Option<crate::types::OracleSettings>) -> Self {
        self.oracle_settings = input;
        self
    }
    /// <p>The settings for the Oracle source and target endpoint. For more information, see the <code>OracleSettings</code> structure.</p>
    pub fn get_oracle_settings(&self) -> &::std::option::Option<crate::types::OracleSettings> {
        &self.oracle_settings
    }
    /// <p>The settings for the SAP ASE source and target endpoint. For more information, see the <code>SybaseSettings</code> structure.</p>
    pub fn sybase_settings(mut self, input: crate::types::SybaseSettings) -> Self {
        self.sybase_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the SAP ASE source and target endpoint. For more information, see the <code>SybaseSettings</code> structure.</p>
    pub fn set_sybase_settings(mut self, input: ::std::option::Option<crate::types::SybaseSettings>) -> Self {
        self.sybase_settings = input;
        self
    }
    /// <p>The settings for the SAP ASE source and target endpoint. For more information, see the <code>SybaseSettings</code> structure.</p>
    pub fn get_sybase_settings(&self) -> &::std::option::Option<crate::types::SybaseSettings> {
        &self.sybase_settings
    }
    /// <p>The settings for the Microsoft SQL Server source and target endpoint. For more information, see the <code>MicrosoftSQLServerSettings</code> structure.</p>
    pub fn microsoft_sql_server_settings(mut self, input: crate::types::MicrosoftSqlServerSettings) -> Self {
        self.microsoft_sql_server_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Microsoft SQL Server source and target endpoint. For more information, see the <code>MicrosoftSQLServerSettings</code> structure.</p>
    pub fn set_microsoft_sql_server_settings(mut self, input: ::std::option::Option<crate::types::MicrosoftSqlServerSettings>) -> Self {
        self.microsoft_sql_server_settings = input;
        self
    }
    /// <p>The settings for the Microsoft SQL Server source and target endpoint. For more information, see the <code>MicrosoftSQLServerSettings</code> structure.</p>
    pub fn get_microsoft_sql_server_settings(&self) -> &::std::option::Option<crate::types::MicrosoftSqlServerSettings> {
        &self.microsoft_sql_server_settings
    }
    /// <p>The settings for the IBM Db2 LUW source endpoint. For more information, see the <code>IBMDb2Settings</code> structure.</p>
    pub fn ibm_db2_settings(mut self, input: crate::types::IbmDb2Settings) -> Self {
        self.ibm_db2_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the IBM Db2 LUW source endpoint. For more information, see the <code>IBMDb2Settings</code> structure.</p>
    pub fn set_ibm_db2_settings(mut self, input: ::std::option::Option<crate::types::IbmDb2Settings>) -> Self {
        self.ibm_db2_settings = input;
        self
    }
    /// <p>The settings for the IBM Db2 LUW source endpoint. For more information, see the <code>IBMDb2Settings</code> structure.</p>
    pub fn get_ibm_db2_settings(&self) -> &::std::option::Option<crate::types::IbmDb2Settings> {
        &self.ibm_db2_settings
    }
    /// <p>Provides information that defines a DocumentDB endpoint.</p>
    pub fn doc_db_settings(mut self, input: crate::types::DocDbSettings) -> Self {
        self.doc_db_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>Provides information that defines a DocumentDB endpoint.</p>
    pub fn set_doc_db_settings(mut self, input: ::std::option::Option<crate::types::DocDbSettings>) -> Self {
        self.doc_db_settings = input;
        self
    }
    /// <p>Provides information that defines a DocumentDB endpoint.</p>
    pub fn get_doc_db_settings(&self) -> &::std::option::Option<crate::types::DocDbSettings> {
        &self.doc_db_settings
    }
    /// <p>The settings for the Redis target endpoint. For more information, see the <code>RedisSettings</code> structure.</p>
    pub fn redis_settings(mut self, input: crate::types::RedisSettings) -> Self {
        self.redis_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Redis target endpoint. For more information, see the <code>RedisSettings</code> structure.</p>
    pub fn set_redis_settings(mut self, input: ::std::option::Option<crate::types::RedisSettings>) -> Self {
        self.redis_settings = input;
        self
    }
    /// <p>The settings for the Redis target endpoint. For more information, see the <code>RedisSettings</code> structure.</p>
    pub fn get_redis_settings(&self) -> &::std::option::Option<crate::types::RedisSettings> {
        &self.redis_settings
    }
    /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
    pub fn gcp_my_sql_settings(mut self, input: crate::types::GcpMySqlSettings) -> Self {
        self.gcp_my_sql_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
    pub fn set_gcp_my_sql_settings(mut self, input: ::std::option::Option<crate::types::GcpMySqlSettings>) -> Self {
        self.gcp_my_sql_settings = input;
        self
    }
    /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
    pub fn get_gcp_my_sql_settings(&self) -> &::std::option::Option<crate::types::GcpMySqlSettings> {
        &self.gcp_my_sql_settings
    }
    /// <p>The settings for the Amazon Timestream target endpoint. For more information, see the <code>TimestreamSettings</code> structure.</p>
    pub fn timestream_settings(mut self, input: crate::types::TimestreamSettings) -> Self {
        self.timestream_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>The settings for the Amazon Timestream target endpoint. For more information, see the <code>TimestreamSettings</code> structure.</p>
    pub fn set_timestream_settings(mut self, input: ::std::option::Option<crate::types::TimestreamSettings>) -> Self {
        self.timestream_settings = input;
        self
    }
    /// <p>The settings for the Amazon Timestream target endpoint. For more information, see the <code>TimestreamSettings</code> structure.</p>
    pub fn get_timestream_settings(&self) -> &::std::option::Option<crate::types::TimestreamSettings> {
        &self.timestream_settings
    }
    /// <p>Settings in JSON format for the target Lakehouse endpoint. This parameter applies to endpoints that are automatically created by DMS for a Lakehouse data warehouse as part of a zero-ETL integration.</p>
    pub fn lakehouse_settings(mut self, input: crate::types::LakehouseSettings) -> Self {
        self.lakehouse_settings = ::std::option::Option::Some(input);
        self
    }
    /// <p>Settings in JSON format for the target Lakehouse endpoint. This parameter applies to endpoints that are automatically created by DMS for a Lakehouse data warehouse as part of a zero-ETL integration.</p>
    pub fn set_lakehouse_settings(mut self, input: ::std::option::Option<crate::types::LakehouseSettings>) -> Self {
        self.lakehouse_settings = input;
        self
    }
    /// <p>Settings in JSON format for the target Lakehouse endpoint. This parameter applies to endpoints that are automatically created by DMS for a Lakehouse data warehouse as part of a zero-ETL integration.</p>
    pub fn get_lakehouse_settings(&self) -> &::std::option::Option<crate::types::LakehouseSettings> {
        &self.lakehouse_settings
    }
    /// Consumes the builder and constructs a [`Endpoint`](crate::types::Endpoint).
    pub fn build(self) -> crate::types::Endpoint {
        crate::types::Endpoint {
            endpoint_identifier: self.endpoint_identifier,
            endpoint_type: self.endpoint_type,
            engine_name: self.engine_name,
            engine_display_name: self.engine_display_name,
            username: self.username,
            server_name: self.server_name,
            port: self.port,
            database_name: self.database_name,
            extra_connection_attributes: self.extra_connection_attributes,
            status: self.status,
            kms_key_id: self.kms_key_id,
            endpoint_arn: self.endpoint_arn,
            certificate_arn: self.certificate_arn,
            ssl_mode: self.ssl_mode,
            service_access_role_arn: self.service_access_role_arn,
            external_table_definition: self.external_table_definition,
            external_id: self.external_id,
            is_read_only: self.is_read_only,
            dynamo_db_settings: self.dynamo_db_settings,
            s3_settings: self.s3_settings,
            dms_transfer_settings: self.dms_transfer_settings,
            mongo_db_settings: self.mongo_db_settings,
            kinesis_settings: self.kinesis_settings,
            kafka_settings: self.kafka_settings,
            elasticsearch_settings: self.elasticsearch_settings,
            neptune_settings: self.neptune_settings,
            redshift_settings: self.redshift_settings,
            postgre_sql_settings: self.postgre_sql_settings,
            my_sql_settings: self.my_sql_settings,
            oracle_settings: self.oracle_settings,
            sybase_settings: self.sybase_settings,
            microsoft_sql_server_settings: self.microsoft_sql_server_settings,
            ibm_db2_settings: self.ibm_db2_settings,
            doc_db_settings: self.doc_db_settings,
            redis_settings: self.redis_settings,
            gcp_my_sql_settings: self.gcp_my_sql_settings,
            timestream_settings: self.timestream_settings,
            lakehouse_settings: self.lakehouse_settings,
        }
    }
}