aws-sdk-odb 1.42.0

AWS SDK for odb
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
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
pub struct CreateAutonomousDatabaseInput {
    /// <p>The unique identifier of the ODB network to be used for the Autonomous Database.</p>
    pub odb_network_id: ::std::option::Option<::std::string::String>,
    /// <p>The user-friendly name for the Autonomous Database. The name does not have to be unique.</p>
    pub display_name: ::std::option::Option<::std::string::String>,
    /// <p>The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.</p>
    pub db_name: ::std::option::Option<::std::string::String>,
    /// <p>The password for the <code>ADMIN</code> user of the Autonomous Database.</p>
    pub admin_password: ::std::option::Option<::std::string::String>,
    /// <p>The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign to the Autonomous Database.</p>
    pub compute_count: ::std::option::Option<f64>,
    /// <p>The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.</p>
    pub data_storage_size_in_tbs: ::std::option::Option<i32>,
    /// <p>The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.</p>
    pub data_storage_size_in_gbs: ::std::option::Option<i32>,
    /// <p>The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.</p>
    pub db_workload: ::std::option::Option<crate::types::DbWorkload>,
    /// <p>Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.</p>
    pub is_auto_scaling_enabled: ::std::option::Option<bool>,
    /// <p>Specifies whether to enable automatic scaling of the storage for the Autonomous Database.</p>
    pub is_auto_scaling_for_storage_enabled: ::std::option::Option<bool>,
    /// <p>The Oracle license model to apply to the Autonomous Database.</p>
    pub license_model: ::std::option::Option<crate::types::LicenseModel>,
    /// <p>The character set to use for the Autonomous Database.</p>
    pub character_set: ::std::option::Option<::std::string::String>,
    /// <p>The national character set to use for the Autonomous Database.</p>
    pub ncharacter_set: ::std::option::Option<::std::string::String>,
    /// <p>The Oracle Database software version to use for the Autonomous Database.</p>
    pub db_version: ::std::option::Option<::std::string::String>,
    /// <p>The Oracle Database edition to apply to the Autonomous Database.</p>
    pub database_edition: ::std::option::Option<crate::types::DatabaseEdition>,
    /// <p>The source of the allowlisted IP addresses for the standby Autonomous Database.</p>
    pub standby_allowlisted_ips_source: ::std::option::Option<crate::types::StandbyAllowlistedIpsSource>,
    /// <p>The maintenance schedule type for the Autonomous Database.</p>
    pub autonomous_maintenance_schedule_type: ::std::option::Option<crate::types::AutonomousMaintenanceScheduleType>,
    /// <p>The retention period, in days, for automatic backups of the Autonomous Database.</p>
    pub backup_retention_period_in_days: ::std::option::Option<i32>,
    /// <p>The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.</p>
    pub byol_compute_count_limit: ::std::option::Option<f64>,
    /// <p>The number of CPU cores to allocate to the Autonomous Database.</p>
    pub cpu_core_count: ::std::option::Option<i32>,
    /// <p>The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) for the Autonomous Database.</p>
    pub customer_contacts_to_send_to_oci: ::std::option::Option<::std::vec::Vec<crate::types::CustomerContact>>,
    /// <p>The private endpoint IP address for the Autonomous Database.</p>
    pub private_endpoint_ip: ::std::option::Option<::std::string::String>,
    /// <p>The private endpoint label for the Autonomous Database.</p>
    pub private_endpoint_label: ::std::option::Option<::std::string::String>,
    /// <p>The unique identifier of the resource pool leader Autonomous Database.</p>
    pub resource_pool_leader_id: ::std::option::Option<::std::string::String>,
    /// <p>The configuration of the resource pool for the Autonomous Database.</p>
    pub resource_pool_summary: ::std::option::Option<crate::types::ResourcePoolSummary>,
    /// <p>The list of scheduled start and stop times for the Autonomous Database.</p>
    pub scheduled_operations: ::std::option::Option<::std::vec::Vec<crate::types::ScheduledOperationDetails>>,
    /// <p>The list of IP addresses that are allowed to access the standby Autonomous Database.</p>
    pub standby_allowlisted_ips: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The list of IP addresses that are allowed to access the Autonomous Database.</p>
    pub allowlisted_ips: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The transportable tablespace configuration to use when creating the Autonomous Database.</p>
    pub transportable_tablespace: ::std::option::Option<crate::types::TransportableTablespace>,
    /// <p>Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.</p>
    pub is_backup_retention_locked: ::std::option::Option<bool>,
    /// <p>Specifies whether to enable local Oracle Data Guard for the Autonomous Database.</p>
    pub is_local_data_guard_enabled: ::std::option::Option<bool>,
    /// <p>Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.</p>
    pub is_mtls_connection_required: ::std::option::Option<bool>,
    /// <p>The list of database management tools to enable for the Autonomous Database.</p>
    pub db_tools_details: ::std::option::Option<::std::vec::Vec<crate::types::DatabaseTool>>,
    /// <p>The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.</p>
    pub source: ::std::option::Option<crate::types::SourceType>,
    /// <p>The configuration details for the source used to create the Autonomous Database.</p>
    pub source_configuration: ::std::option::Option<crate::types::SourceConfiguration>,
    /// <p>The provider of the encryption key to use for the Autonomous Database.</p>
    pub encryption_key_provider: ::std::option::Option<crate::types::EncryptionKeyProviderInput>,
    /// <p>The configuration of the encryption key to use for the Autonomous Database.</p>
    pub encryption_key_configuration: ::std::option::Option<crate::types::EncryptionKeyConfigurationInput>,
    /// <p>The source of the admin password for the Autonomous Database. When set to <code>CUSTOMER_MANAGED_AWS_SECRET</code>, the admin password is retrieved from an Amazon Web Services Secrets Manager secret.</p>
    pub admin_password_source: ::std::option::Option<crate::types::AdminPasswordSource>,
    /// <p>The configuration of the admin password source for the Autonomous Database.</p>
    pub admin_password_source_configuration: ::std::option::Option<crate::types::AdminPasswordSourceConfigurationInput>,
    /// <p>A client-provided token to ensure the idempotency of the request.</p>
    pub client_token: ::std::option::Option<::std::string::String>,
    /// <p>The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
}
impl CreateAutonomousDatabaseInput {
    /// <p>The unique identifier of the ODB network to be used for the Autonomous Database.</p>
    pub fn odb_network_id(&self) -> ::std::option::Option<&str> {
        self.odb_network_id.as_deref()
    }
    /// <p>The user-friendly name for the Autonomous Database. The name does not have to be unique.</p>
    pub fn display_name(&self) -> ::std::option::Option<&str> {
        self.display_name.as_deref()
    }
    /// <p>The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.</p>
    pub fn db_name(&self) -> ::std::option::Option<&str> {
        self.db_name.as_deref()
    }
    /// <p>The password for the <code>ADMIN</code> user of the Autonomous Database.</p>
    pub fn admin_password(&self) -> ::std::option::Option<&str> {
        self.admin_password.as_deref()
    }
    /// <p>The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign to the Autonomous Database.</p>
    pub fn compute_count(&self) -> ::std::option::Option<f64> {
        self.compute_count
    }
    /// <p>The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn data_storage_size_in_tbs(&self) -> ::std::option::Option<i32> {
        self.data_storage_size_in_tbs
    }
    /// <p>The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn data_storage_size_in_gbs(&self) -> ::std::option::Option<i32> {
        self.data_storage_size_in_gbs
    }
    /// <p>The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.</p>
    pub fn db_workload(&self) -> ::std::option::Option<&crate::types::DbWorkload> {
        self.db_workload.as_ref()
    }
    /// <p>Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.</p>
    pub fn is_auto_scaling_enabled(&self) -> ::std::option::Option<bool> {
        self.is_auto_scaling_enabled
    }
    /// <p>Specifies whether to enable automatic scaling of the storage for the Autonomous Database.</p>
    pub fn is_auto_scaling_for_storage_enabled(&self) -> ::std::option::Option<bool> {
        self.is_auto_scaling_for_storage_enabled
    }
    /// <p>The Oracle license model to apply to the Autonomous Database.</p>
    pub fn license_model(&self) -> ::std::option::Option<&crate::types::LicenseModel> {
        self.license_model.as_ref()
    }
    /// <p>The character set to use for the Autonomous Database.</p>
    pub fn character_set(&self) -> ::std::option::Option<&str> {
        self.character_set.as_deref()
    }
    /// <p>The national character set to use for the Autonomous Database.</p>
    pub fn ncharacter_set(&self) -> ::std::option::Option<&str> {
        self.ncharacter_set.as_deref()
    }
    /// <p>The Oracle Database software version to use for the Autonomous Database.</p>
    pub fn db_version(&self) -> ::std::option::Option<&str> {
        self.db_version.as_deref()
    }
    /// <p>The Oracle Database edition to apply to the Autonomous Database.</p>
    pub fn database_edition(&self) -> ::std::option::Option<&crate::types::DatabaseEdition> {
        self.database_edition.as_ref()
    }
    /// <p>The source of the allowlisted IP addresses for the standby Autonomous Database.</p>
    pub fn standby_allowlisted_ips_source(&self) -> ::std::option::Option<&crate::types::StandbyAllowlistedIpsSource> {
        self.standby_allowlisted_ips_source.as_ref()
    }
    /// <p>The maintenance schedule type for the Autonomous Database.</p>
    pub fn autonomous_maintenance_schedule_type(&self) -> ::std::option::Option<&crate::types::AutonomousMaintenanceScheduleType> {
        self.autonomous_maintenance_schedule_type.as_ref()
    }
    /// <p>The retention period, in days, for automatic backups of the Autonomous Database.</p>
    pub fn backup_retention_period_in_days(&self) -> ::std::option::Option<i32> {
        self.backup_retention_period_in_days
    }
    /// <p>The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.</p>
    pub fn byol_compute_count_limit(&self) -> ::std::option::Option<f64> {
        self.byol_compute_count_limit
    }
    /// <p>The number of CPU cores to allocate to the Autonomous Database.</p>
    pub fn cpu_core_count(&self) -> ::std::option::Option<i32> {
        self.cpu_core_count
    }
    /// <p>The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) for the Autonomous Database.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.customer_contacts_to_send_to_oci.is_none()`.
    pub fn customer_contacts_to_send_to_oci(&self) -> &[crate::types::CustomerContact] {
        self.customer_contacts_to_send_to_oci.as_deref().unwrap_or_default()
    }
    /// <p>The private endpoint IP address for the Autonomous Database.</p>
    pub fn private_endpoint_ip(&self) -> ::std::option::Option<&str> {
        self.private_endpoint_ip.as_deref()
    }
    /// <p>The private endpoint label for the Autonomous Database.</p>
    pub fn private_endpoint_label(&self) -> ::std::option::Option<&str> {
        self.private_endpoint_label.as_deref()
    }
    /// <p>The unique identifier of the resource pool leader Autonomous Database.</p>
    pub fn resource_pool_leader_id(&self) -> ::std::option::Option<&str> {
        self.resource_pool_leader_id.as_deref()
    }
    /// <p>The configuration of the resource pool for the Autonomous Database.</p>
    pub fn resource_pool_summary(&self) -> ::std::option::Option<&crate::types::ResourcePoolSummary> {
        self.resource_pool_summary.as_ref()
    }
    /// <p>The list of scheduled start and stop times for the Autonomous Database.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.scheduled_operations.is_none()`.
    pub fn scheduled_operations(&self) -> &[crate::types::ScheduledOperationDetails] {
        self.scheduled_operations.as_deref().unwrap_or_default()
    }
    /// <p>The list of IP addresses that are allowed to access the standby Autonomous Database.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.standby_allowlisted_ips.is_none()`.
    pub fn standby_allowlisted_ips(&self) -> &[::std::string::String] {
        self.standby_allowlisted_ips.as_deref().unwrap_or_default()
    }
    /// <p>The list of IP addresses that are allowed to access the Autonomous Database.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.allowlisted_ips.is_none()`.
    pub fn allowlisted_ips(&self) -> &[::std::string::String] {
        self.allowlisted_ips.as_deref().unwrap_or_default()
    }
    /// <p>The transportable tablespace configuration to use when creating the Autonomous Database.</p>
    pub fn transportable_tablespace(&self) -> ::std::option::Option<&crate::types::TransportableTablespace> {
        self.transportable_tablespace.as_ref()
    }
    /// <p>Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.</p>
    pub fn is_backup_retention_locked(&self) -> ::std::option::Option<bool> {
        self.is_backup_retention_locked
    }
    /// <p>Specifies whether to enable local Oracle Data Guard for the Autonomous Database.</p>
    pub fn is_local_data_guard_enabled(&self) -> ::std::option::Option<bool> {
        self.is_local_data_guard_enabled
    }
    /// <p>Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.</p>
    pub fn is_mtls_connection_required(&self) -> ::std::option::Option<bool> {
        self.is_mtls_connection_required
    }
    /// <p>The list of database management tools to enable for the Autonomous Database.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.db_tools_details.is_none()`.
    pub fn db_tools_details(&self) -> &[crate::types::DatabaseTool] {
        self.db_tools_details.as_deref().unwrap_or_default()
    }
    /// <p>The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.</p>
    pub fn source(&self) -> ::std::option::Option<&crate::types::SourceType> {
        self.source.as_ref()
    }
    /// <p>The configuration details for the source used to create the Autonomous Database.</p>
    pub fn source_configuration(&self) -> ::std::option::Option<&crate::types::SourceConfiguration> {
        self.source_configuration.as_ref()
    }
    /// <p>The provider of the encryption key to use for the Autonomous Database.</p>
    pub fn encryption_key_provider(&self) -> ::std::option::Option<&crate::types::EncryptionKeyProviderInput> {
        self.encryption_key_provider.as_ref()
    }
    /// <p>The configuration of the encryption key to use for the Autonomous Database.</p>
    pub fn encryption_key_configuration(&self) -> ::std::option::Option<&crate::types::EncryptionKeyConfigurationInput> {
        self.encryption_key_configuration.as_ref()
    }
    /// <p>The source of the admin password for the Autonomous Database. When set to <code>CUSTOMER_MANAGED_AWS_SECRET</code>, the admin password is retrieved from an Amazon Web Services Secrets Manager secret.</p>
    pub fn admin_password_source(&self) -> ::std::option::Option<&crate::types::AdminPasswordSource> {
        self.admin_password_source.as_ref()
    }
    /// <p>The configuration of the admin password source for the Autonomous Database.</p>
    pub fn admin_password_source_configuration(&self) -> ::std::option::Option<&crate::types::AdminPasswordSourceConfigurationInput> {
        self.admin_password_source_configuration.as_ref()
    }
    /// <p>A client-provided token to ensure the idempotency of the request.</p>
    pub fn client_token(&self) -> ::std::option::Option<&str> {
        self.client_token.as_deref()
    }
    /// <p>The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
}
impl ::std::fmt::Debug for CreateAutonomousDatabaseInput {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("CreateAutonomousDatabaseInput");
        formatter.field("odb_network_id", &self.odb_network_id);
        formatter.field("display_name", &self.display_name);
        formatter.field("db_name", &self.db_name);
        formatter.field("admin_password", &"*** Sensitive Data Redacted ***");
        formatter.field("compute_count", &self.compute_count);
        formatter.field("data_storage_size_in_tbs", &self.data_storage_size_in_tbs);
        formatter.field("data_storage_size_in_gbs", &self.data_storage_size_in_gbs);
        formatter.field("db_workload", &self.db_workload);
        formatter.field("is_auto_scaling_enabled", &self.is_auto_scaling_enabled);
        formatter.field("is_auto_scaling_for_storage_enabled", &self.is_auto_scaling_for_storage_enabled);
        formatter.field("license_model", &self.license_model);
        formatter.field("character_set", &self.character_set);
        formatter.field("ncharacter_set", &self.ncharacter_set);
        formatter.field("db_version", &self.db_version);
        formatter.field("database_edition", &self.database_edition);
        formatter.field("standby_allowlisted_ips_source", &self.standby_allowlisted_ips_source);
        formatter.field("autonomous_maintenance_schedule_type", &self.autonomous_maintenance_schedule_type);
        formatter.field("backup_retention_period_in_days", &self.backup_retention_period_in_days);
        formatter.field("byol_compute_count_limit", &self.byol_compute_count_limit);
        formatter.field("cpu_core_count", &self.cpu_core_count);
        formatter.field("customer_contacts_to_send_to_oci", &self.customer_contacts_to_send_to_oci);
        formatter.field("private_endpoint_ip", &self.private_endpoint_ip);
        formatter.field("private_endpoint_label", &self.private_endpoint_label);
        formatter.field("resource_pool_leader_id", &self.resource_pool_leader_id);
        formatter.field("resource_pool_summary", &self.resource_pool_summary);
        formatter.field("scheduled_operations", &self.scheduled_operations);
        formatter.field("standby_allowlisted_ips", &self.standby_allowlisted_ips);
        formatter.field("allowlisted_ips", &self.allowlisted_ips);
        formatter.field("transportable_tablespace", &self.transportable_tablespace);
        formatter.field("is_backup_retention_locked", &self.is_backup_retention_locked);
        formatter.field("is_local_data_guard_enabled", &self.is_local_data_guard_enabled);
        formatter.field("is_mtls_connection_required", &self.is_mtls_connection_required);
        formatter.field("db_tools_details", &self.db_tools_details);
        formatter.field("source", &self.source);
        formatter.field("source_configuration", &self.source_configuration);
        formatter.field("encryption_key_provider", &self.encryption_key_provider);
        formatter.field("encryption_key_configuration", &self.encryption_key_configuration);
        formatter.field("admin_password_source", &self.admin_password_source);
        formatter.field("admin_password_source_configuration", &self.admin_password_source_configuration);
        formatter.field("client_token", &self.client_token);
        formatter.field("tags", &self.tags);
        formatter.finish()
    }
}
impl CreateAutonomousDatabaseInput {
    /// Creates a new builder-style object to manufacture [`CreateAutonomousDatabaseInput`](crate::operation::create_autonomous_database::CreateAutonomousDatabaseInput).
    pub fn builder() -> crate::operation::create_autonomous_database::builders::CreateAutonomousDatabaseInputBuilder {
        crate::operation::create_autonomous_database::builders::CreateAutonomousDatabaseInputBuilder::default()
    }
}

/// A builder for [`CreateAutonomousDatabaseInput`](crate::operation::create_autonomous_database::CreateAutonomousDatabaseInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
#[non_exhaustive]
pub struct CreateAutonomousDatabaseInputBuilder {
    pub(crate) odb_network_id: ::std::option::Option<::std::string::String>,
    pub(crate) display_name: ::std::option::Option<::std::string::String>,
    pub(crate) db_name: ::std::option::Option<::std::string::String>,
    pub(crate) admin_password: ::std::option::Option<::std::string::String>,
    pub(crate) compute_count: ::std::option::Option<f64>,
    pub(crate) data_storage_size_in_tbs: ::std::option::Option<i32>,
    pub(crate) data_storage_size_in_gbs: ::std::option::Option<i32>,
    pub(crate) db_workload: ::std::option::Option<crate::types::DbWorkload>,
    pub(crate) is_auto_scaling_enabled: ::std::option::Option<bool>,
    pub(crate) is_auto_scaling_for_storage_enabled: ::std::option::Option<bool>,
    pub(crate) license_model: ::std::option::Option<crate::types::LicenseModel>,
    pub(crate) character_set: ::std::option::Option<::std::string::String>,
    pub(crate) ncharacter_set: ::std::option::Option<::std::string::String>,
    pub(crate) db_version: ::std::option::Option<::std::string::String>,
    pub(crate) database_edition: ::std::option::Option<crate::types::DatabaseEdition>,
    pub(crate) standby_allowlisted_ips_source: ::std::option::Option<crate::types::StandbyAllowlistedIpsSource>,
    pub(crate) autonomous_maintenance_schedule_type: ::std::option::Option<crate::types::AutonomousMaintenanceScheduleType>,
    pub(crate) backup_retention_period_in_days: ::std::option::Option<i32>,
    pub(crate) byol_compute_count_limit: ::std::option::Option<f64>,
    pub(crate) cpu_core_count: ::std::option::Option<i32>,
    pub(crate) customer_contacts_to_send_to_oci: ::std::option::Option<::std::vec::Vec<crate::types::CustomerContact>>,
    pub(crate) private_endpoint_ip: ::std::option::Option<::std::string::String>,
    pub(crate) private_endpoint_label: ::std::option::Option<::std::string::String>,
    pub(crate) resource_pool_leader_id: ::std::option::Option<::std::string::String>,
    pub(crate) resource_pool_summary: ::std::option::Option<crate::types::ResourcePoolSummary>,
    pub(crate) scheduled_operations: ::std::option::Option<::std::vec::Vec<crate::types::ScheduledOperationDetails>>,
    pub(crate) standby_allowlisted_ips: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) allowlisted_ips: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) transportable_tablespace: ::std::option::Option<crate::types::TransportableTablespace>,
    pub(crate) is_backup_retention_locked: ::std::option::Option<bool>,
    pub(crate) is_local_data_guard_enabled: ::std::option::Option<bool>,
    pub(crate) is_mtls_connection_required: ::std::option::Option<bool>,
    pub(crate) db_tools_details: ::std::option::Option<::std::vec::Vec<crate::types::DatabaseTool>>,
    pub(crate) source: ::std::option::Option<crate::types::SourceType>,
    pub(crate) source_configuration: ::std::option::Option<crate::types::SourceConfiguration>,
    pub(crate) encryption_key_provider: ::std::option::Option<crate::types::EncryptionKeyProviderInput>,
    pub(crate) encryption_key_configuration: ::std::option::Option<crate::types::EncryptionKeyConfigurationInput>,
    pub(crate) admin_password_source: ::std::option::Option<crate::types::AdminPasswordSource>,
    pub(crate) admin_password_source_configuration: ::std::option::Option<crate::types::AdminPasswordSourceConfigurationInput>,
    pub(crate) client_token: ::std::option::Option<::std::string::String>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
}
impl CreateAutonomousDatabaseInputBuilder {
    /// <p>The unique identifier of the ODB network to be used for the Autonomous Database.</p>
    pub fn odb_network_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.odb_network_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of the ODB network to be used for the Autonomous Database.</p>
    pub fn set_odb_network_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.odb_network_id = input;
        self
    }
    /// <p>The unique identifier of the ODB network to be used for the Autonomous Database.</p>
    pub fn get_odb_network_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.odb_network_id
    }
    /// <p>The user-friendly name for the Autonomous Database. The name does not have to be unique.</p>
    pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.display_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The user-friendly name for the Autonomous Database. The name does not have to be unique.</p>
    pub fn set_display_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.display_name = input;
        self
    }
    /// <p>The user-friendly name for the Autonomous Database. The name does not have to be unique.</p>
    pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.display_name
    }
    /// <p>The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.</p>
    pub fn db_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.db_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.</p>
    pub fn set_db_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.db_name = input;
        self
    }
    /// <p>The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.</p>
    pub fn get_db_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.db_name
    }
    /// <p>The password for the <code>ADMIN</code> user of the Autonomous Database.</p>
    pub fn admin_password(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.admin_password = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The password for the <code>ADMIN</code> user of the Autonomous Database.</p>
    pub fn set_admin_password(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.admin_password = input;
        self
    }
    /// <p>The password for the <code>ADMIN</code> user of the Autonomous Database.</p>
    pub fn get_admin_password(&self) -> &::std::option::Option<::std::string::String> {
        &self.admin_password
    }
    /// <p>The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign to the Autonomous Database.</p>
    pub fn compute_count(mut self, input: f64) -> Self {
        self.compute_count = ::std::option::Option::Some(input);
        self
    }
    /// <p>The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign to the Autonomous Database.</p>
    pub fn set_compute_count(mut self, input: ::std::option::Option<f64>) -> Self {
        self.compute_count = input;
        self
    }
    /// <p>The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign to the Autonomous Database.</p>
    pub fn get_compute_count(&self) -> &::std::option::Option<f64> {
        &self.compute_count
    }
    /// <p>The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn data_storage_size_in_tbs(mut self, input: i32) -> Self {
        self.data_storage_size_in_tbs = ::std::option::Option::Some(input);
        self
    }
    /// <p>The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn set_data_storage_size_in_tbs(mut self, input: ::std::option::Option<i32>) -> Self {
        self.data_storage_size_in_tbs = input;
        self
    }
    /// <p>The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn get_data_storage_size_in_tbs(&self) -> &::std::option::Option<i32> {
        &self.data_storage_size_in_tbs
    }
    /// <p>The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn data_storage_size_in_gbs(mut self, input: i32) -> Self {
        self.data_storage_size_in_gbs = ::std::option::Option::Some(input);
        self
    }
    /// <p>The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn set_data_storage_size_in_gbs(mut self, input: ::std::option::Option<i32>) -> Self {
        self.data_storage_size_in_gbs = input;
        self
    }
    /// <p>The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.</p>
    pub fn get_data_storage_size_in_gbs(&self) -> &::std::option::Option<i32> {
        &self.data_storage_size_in_gbs
    }
    /// <p>The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.</p>
    pub fn db_workload(mut self, input: crate::types::DbWorkload) -> Self {
        self.db_workload = ::std::option::Option::Some(input);
        self
    }
    /// <p>The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.</p>
    pub fn set_db_workload(mut self, input: ::std::option::Option<crate::types::DbWorkload>) -> Self {
        self.db_workload = input;
        self
    }
    /// <p>The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.</p>
    pub fn get_db_workload(&self) -> &::std::option::Option<crate::types::DbWorkload> {
        &self.db_workload
    }
    /// <p>Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.</p>
    pub fn is_auto_scaling_enabled(mut self, input: bool) -> Self {
        self.is_auto_scaling_enabled = ::std::option::Option::Some(input);
        self
    }
    /// <p>Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.</p>
    pub fn set_is_auto_scaling_enabled(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_auto_scaling_enabled = input;
        self
    }
    /// <p>Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.</p>
    pub fn get_is_auto_scaling_enabled(&self) -> &::std::option::Option<bool> {
        &self.is_auto_scaling_enabled
    }
    /// <p>Specifies whether to enable automatic scaling of the storage for the Autonomous Database.</p>
    pub fn is_auto_scaling_for_storage_enabled(mut self, input: bool) -> Self {
        self.is_auto_scaling_for_storage_enabled = ::std::option::Option::Some(input);
        self
    }
    /// <p>Specifies whether to enable automatic scaling of the storage for the Autonomous Database.</p>
    pub fn set_is_auto_scaling_for_storage_enabled(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_auto_scaling_for_storage_enabled = input;
        self
    }
    /// <p>Specifies whether to enable automatic scaling of the storage for the Autonomous Database.</p>
    pub fn get_is_auto_scaling_for_storage_enabled(&self) -> &::std::option::Option<bool> {
        &self.is_auto_scaling_for_storage_enabled
    }
    /// <p>The Oracle license model to apply to the Autonomous Database.</p>
    pub fn license_model(mut self, input: crate::types::LicenseModel) -> Self {
        self.license_model = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Oracle license model to apply to the Autonomous Database.</p>
    pub fn set_license_model(mut self, input: ::std::option::Option<crate::types::LicenseModel>) -> Self {
        self.license_model = input;
        self
    }
    /// <p>The Oracle license model to apply to the Autonomous Database.</p>
    pub fn get_license_model(&self) -> &::std::option::Option<crate::types::LicenseModel> {
        &self.license_model
    }
    /// <p>The character set to use for the Autonomous Database.</p>
    pub fn character_set(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.character_set = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The character set to use for the Autonomous Database.</p>
    pub fn set_character_set(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.character_set = input;
        self
    }
    /// <p>The character set to use for the Autonomous Database.</p>
    pub fn get_character_set(&self) -> &::std::option::Option<::std::string::String> {
        &self.character_set
    }
    /// <p>The national character set to use for the Autonomous Database.</p>
    pub fn ncharacter_set(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.ncharacter_set = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The national character set to use for the Autonomous Database.</p>
    pub fn set_ncharacter_set(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.ncharacter_set = input;
        self
    }
    /// <p>The national character set to use for the Autonomous Database.</p>
    pub fn get_ncharacter_set(&self) -> &::std::option::Option<::std::string::String> {
        &self.ncharacter_set
    }
    /// <p>The Oracle Database software version to use for the Autonomous Database.</p>
    pub fn db_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.db_version = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Oracle Database software version to use for the Autonomous Database.</p>
    pub fn set_db_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.db_version = input;
        self
    }
    /// <p>The Oracle Database software version to use for the Autonomous Database.</p>
    pub fn get_db_version(&self) -> &::std::option::Option<::std::string::String> {
        &self.db_version
    }
    /// <p>The Oracle Database edition to apply to the Autonomous Database.</p>
    pub fn database_edition(mut self, input: crate::types::DatabaseEdition) -> Self {
        self.database_edition = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Oracle Database edition to apply to the Autonomous Database.</p>
    pub fn set_database_edition(mut self, input: ::std::option::Option<crate::types::DatabaseEdition>) -> Self {
        self.database_edition = input;
        self
    }
    /// <p>The Oracle Database edition to apply to the Autonomous Database.</p>
    pub fn get_database_edition(&self) -> &::std::option::Option<crate::types::DatabaseEdition> {
        &self.database_edition
    }
    /// <p>The source of the allowlisted IP addresses for the standby Autonomous Database.</p>
    pub fn standby_allowlisted_ips_source(mut self, input: crate::types::StandbyAllowlistedIpsSource) -> Self {
        self.standby_allowlisted_ips_source = ::std::option::Option::Some(input);
        self
    }
    /// <p>The source of the allowlisted IP addresses for the standby Autonomous Database.</p>
    pub fn set_standby_allowlisted_ips_source(mut self, input: ::std::option::Option<crate::types::StandbyAllowlistedIpsSource>) -> Self {
        self.standby_allowlisted_ips_source = input;
        self
    }
    /// <p>The source of the allowlisted IP addresses for the standby Autonomous Database.</p>
    pub fn get_standby_allowlisted_ips_source(&self) -> &::std::option::Option<crate::types::StandbyAllowlistedIpsSource> {
        &self.standby_allowlisted_ips_source
    }
    /// <p>The maintenance schedule type for the Autonomous Database.</p>
    pub fn autonomous_maintenance_schedule_type(mut self, input: crate::types::AutonomousMaintenanceScheduleType) -> Self {
        self.autonomous_maintenance_schedule_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The maintenance schedule type for the Autonomous Database.</p>
    pub fn set_autonomous_maintenance_schedule_type(mut self, input: ::std::option::Option<crate::types::AutonomousMaintenanceScheduleType>) -> Self {
        self.autonomous_maintenance_schedule_type = input;
        self
    }
    /// <p>The maintenance schedule type for the Autonomous Database.</p>
    pub fn get_autonomous_maintenance_schedule_type(&self) -> &::std::option::Option<crate::types::AutonomousMaintenanceScheduleType> {
        &self.autonomous_maintenance_schedule_type
    }
    /// <p>The retention period, in days, for automatic backups of the Autonomous Database.</p>
    pub fn backup_retention_period_in_days(mut self, input: i32) -> Self {
        self.backup_retention_period_in_days = ::std::option::Option::Some(input);
        self
    }
    /// <p>The retention period, in days, for automatic backups of the Autonomous Database.</p>
    pub fn set_backup_retention_period_in_days(mut self, input: ::std::option::Option<i32>) -> Self {
        self.backup_retention_period_in_days = input;
        self
    }
    /// <p>The retention period, in days, for automatic backups of the Autonomous Database.</p>
    pub fn get_backup_retention_period_in_days(&self) -> &::std::option::Option<i32> {
        &self.backup_retention_period_in_days
    }
    /// <p>The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.</p>
    pub fn byol_compute_count_limit(mut self, input: f64) -> Self {
        self.byol_compute_count_limit = ::std::option::Option::Some(input);
        self
    }
    /// <p>The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.</p>
    pub fn set_byol_compute_count_limit(mut self, input: ::std::option::Option<f64>) -> Self {
        self.byol_compute_count_limit = input;
        self
    }
    /// <p>The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.</p>
    pub fn get_byol_compute_count_limit(&self) -> &::std::option::Option<f64> {
        &self.byol_compute_count_limit
    }
    /// <p>The number of CPU cores to allocate to the Autonomous Database.</p>
    pub fn cpu_core_count(mut self, input: i32) -> Self {
        self.cpu_core_count = ::std::option::Option::Some(input);
        self
    }
    /// <p>The number of CPU cores to allocate to the Autonomous Database.</p>
    pub fn set_cpu_core_count(mut self, input: ::std::option::Option<i32>) -> Self {
        self.cpu_core_count = input;
        self
    }
    /// <p>The number of CPU cores to allocate to the Autonomous Database.</p>
    pub fn get_cpu_core_count(&self) -> &::std::option::Option<i32> {
        &self.cpu_core_count
    }
    /// Appends an item to `customer_contacts_to_send_to_oci`.
    ///
    /// To override the contents of this collection use [`set_customer_contacts_to_send_to_oci`](Self::set_customer_contacts_to_send_to_oci).
    ///
    /// <p>The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) for the Autonomous Database.</p>
    pub fn customer_contacts_to_send_to_oci(mut self, input: crate::types::CustomerContact) -> Self {
        let mut v = self.customer_contacts_to_send_to_oci.unwrap_or_default();
        v.push(input);
        self.customer_contacts_to_send_to_oci = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) for the Autonomous Database.</p>
    pub fn set_customer_contacts_to_send_to_oci(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::CustomerContact>>) -> Self {
        self.customer_contacts_to_send_to_oci = input;
        self
    }
    /// <p>The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) for the Autonomous Database.</p>
    pub fn get_customer_contacts_to_send_to_oci(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::CustomerContact>> {
        &self.customer_contacts_to_send_to_oci
    }
    /// <p>The private endpoint IP address for the Autonomous Database.</p>
    pub fn private_endpoint_ip(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.private_endpoint_ip = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The private endpoint IP address for the Autonomous Database.</p>
    pub fn set_private_endpoint_ip(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.private_endpoint_ip = input;
        self
    }
    /// <p>The private endpoint IP address for the Autonomous Database.</p>
    pub fn get_private_endpoint_ip(&self) -> &::std::option::Option<::std::string::String> {
        &self.private_endpoint_ip
    }
    /// <p>The private endpoint label for the Autonomous Database.</p>
    pub fn private_endpoint_label(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.private_endpoint_label = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The private endpoint label for the Autonomous Database.</p>
    pub fn set_private_endpoint_label(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.private_endpoint_label = input;
        self
    }
    /// <p>The private endpoint label for the Autonomous Database.</p>
    pub fn get_private_endpoint_label(&self) -> &::std::option::Option<::std::string::String> {
        &self.private_endpoint_label
    }
    /// <p>The unique identifier of the resource pool leader Autonomous Database.</p>
    pub fn resource_pool_leader_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.resource_pool_leader_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of the resource pool leader Autonomous Database.</p>
    pub fn set_resource_pool_leader_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.resource_pool_leader_id = input;
        self
    }
    /// <p>The unique identifier of the resource pool leader Autonomous Database.</p>
    pub fn get_resource_pool_leader_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.resource_pool_leader_id
    }
    /// <p>The configuration of the resource pool for the Autonomous Database.</p>
    pub fn resource_pool_summary(mut self, input: crate::types::ResourcePoolSummary) -> Self {
        self.resource_pool_summary = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration of the resource pool for the Autonomous Database.</p>
    pub fn set_resource_pool_summary(mut self, input: ::std::option::Option<crate::types::ResourcePoolSummary>) -> Self {
        self.resource_pool_summary = input;
        self
    }
    /// <p>The configuration of the resource pool for the Autonomous Database.</p>
    pub fn get_resource_pool_summary(&self) -> &::std::option::Option<crate::types::ResourcePoolSummary> {
        &self.resource_pool_summary
    }
    /// Appends an item to `scheduled_operations`.
    ///
    /// To override the contents of this collection use [`set_scheduled_operations`](Self::set_scheduled_operations).
    ///
    /// <p>The list of scheduled start and stop times for the Autonomous Database.</p>
    pub fn scheduled_operations(mut self, input: crate::types::ScheduledOperationDetails) -> Self {
        let mut v = self.scheduled_operations.unwrap_or_default();
        v.push(input);
        self.scheduled_operations = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of scheduled start and stop times for the Autonomous Database.</p>
    pub fn set_scheduled_operations(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::ScheduledOperationDetails>>) -> Self {
        self.scheduled_operations = input;
        self
    }
    /// <p>The list of scheduled start and stop times for the Autonomous Database.</p>
    pub fn get_scheduled_operations(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::ScheduledOperationDetails>> {
        &self.scheduled_operations
    }
    /// Appends an item to `standby_allowlisted_ips`.
    ///
    /// To override the contents of this collection use [`set_standby_allowlisted_ips`](Self::set_standby_allowlisted_ips).
    ///
    /// <p>The list of IP addresses that are allowed to access the standby Autonomous Database.</p>
    pub fn standby_allowlisted_ips(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.standby_allowlisted_ips.unwrap_or_default();
        v.push(input.into());
        self.standby_allowlisted_ips = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of IP addresses that are allowed to access the standby Autonomous Database.</p>
    pub fn set_standby_allowlisted_ips(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.standby_allowlisted_ips = input;
        self
    }
    /// <p>The list of IP addresses that are allowed to access the standby Autonomous Database.</p>
    pub fn get_standby_allowlisted_ips(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.standby_allowlisted_ips
    }
    /// Appends an item to `allowlisted_ips`.
    ///
    /// To override the contents of this collection use [`set_allowlisted_ips`](Self::set_allowlisted_ips).
    ///
    /// <p>The list of IP addresses that are allowed to access the Autonomous Database.</p>
    pub fn allowlisted_ips(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.allowlisted_ips.unwrap_or_default();
        v.push(input.into());
        self.allowlisted_ips = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of IP addresses that are allowed to access the Autonomous Database.</p>
    pub fn set_allowlisted_ips(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.allowlisted_ips = input;
        self
    }
    /// <p>The list of IP addresses that are allowed to access the Autonomous Database.</p>
    pub fn get_allowlisted_ips(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.allowlisted_ips
    }
    /// <p>The transportable tablespace configuration to use when creating the Autonomous Database.</p>
    pub fn transportable_tablespace(mut self, input: crate::types::TransportableTablespace) -> Self {
        self.transportable_tablespace = ::std::option::Option::Some(input);
        self
    }
    /// <p>The transportable tablespace configuration to use when creating the Autonomous Database.</p>
    pub fn set_transportable_tablespace(mut self, input: ::std::option::Option<crate::types::TransportableTablespace>) -> Self {
        self.transportable_tablespace = input;
        self
    }
    /// <p>The transportable tablespace configuration to use when creating the Autonomous Database.</p>
    pub fn get_transportable_tablespace(&self) -> &::std::option::Option<crate::types::TransportableTablespace> {
        &self.transportable_tablespace
    }
    /// <p>Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.</p>
    pub fn is_backup_retention_locked(mut self, input: bool) -> Self {
        self.is_backup_retention_locked = ::std::option::Option::Some(input);
        self
    }
    /// <p>Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.</p>
    pub fn set_is_backup_retention_locked(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_backup_retention_locked = input;
        self
    }
    /// <p>Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.</p>
    pub fn get_is_backup_retention_locked(&self) -> &::std::option::Option<bool> {
        &self.is_backup_retention_locked
    }
    /// <p>Specifies whether to enable local Oracle Data Guard for the Autonomous Database.</p>
    pub fn is_local_data_guard_enabled(mut self, input: bool) -> Self {
        self.is_local_data_guard_enabled = ::std::option::Option::Some(input);
        self
    }
    /// <p>Specifies whether to enable local Oracle Data Guard for the Autonomous Database.</p>
    pub fn set_is_local_data_guard_enabled(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_local_data_guard_enabled = input;
        self
    }
    /// <p>Specifies whether to enable local Oracle Data Guard for the Autonomous Database.</p>
    pub fn get_is_local_data_guard_enabled(&self) -> &::std::option::Option<bool> {
        &self.is_local_data_guard_enabled
    }
    /// <p>Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.</p>
    pub fn is_mtls_connection_required(mut self, input: bool) -> Self {
        self.is_mtls_connection_required = ::std::option::Option::Some(input);
        self
    }
    /// <p>Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.</p>
    pub fn set_is_mtls_connection_required(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_mtls_connection_required = input;
        self
    }
    /// <p>Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.</p>
    pub fn get_is_mtls_connection_required(&self) -> &::std::option::Option<bool> {
        &self.is_mtls_connection_required
    }
    /// Appends an item to `db_tools_details`.
    ///
    /// To override the contents of this collection use [`set_db_tools_details`](Self::set_db_tools_details).
    ///
    /// <p>The list of database management tools to enable for the Autonomous Database.</p>
    pub fn db_tools_details(mut self, input: crate::types::DatabaseTool) -> Self {
        let mut v = self.db_tools_details.unwrap_or_default();
        v.push(input);
        self.db_tools_details = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of database management tools to enable for the Autonomous Database.</p>
    pub fn set_db_tools_details(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::DatabaseTool>>) -> Self {
        self.db_tools_details = input;
        self
    }
    /// <p>The list of database management tools to enable for the Autonomous Database.</p>
    pub fn get_db_tools_details(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::DatabaseTool>> {
        &self.db_tools_details
    }
    /// <p>The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.</p>
    pub fn source(mut self, input: crate::types::SourceType) -> Self {
        self.source = ::std::option::Option::Some(input);
        self
    }
    /// <p>The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.</p>
    pub fn set_source(mut self, input: ::std::option::Option<crate::types::SourceType>) -> Self {
        self.source = input;
        self
    }
    /// <p>The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.</p>
    pub fn get_source(&self) -> &::std::option::Option<crate::types::SourceType> {
        &self.source
    }
    /// <p>The configuration details for the source used to create the Autonomous Database.</p>
    pub fn source_configuration(mut self, input: crate::types::SourceConfiguration) -> Self {
        self.source_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration details for the source used to create the Autonomous Database.</p>
    pub fn set_source_configuration(mut self, input: ::std::option::Option<crate::types::SourceConfiguration>) -> Self {
        self.source_configuration = input;
        self
    }
    /// <p>The configuration details for the source used to create the Autonomous Database.</p>
    pub fn get_source_configuration(&self) -> &::std::option::Option<crate::types::SourceConfiguration> {
        &self.source_configuration
    }
    /// <p>The provider of the encryption key to use for the Autonomous Database.</p>
    pub fn encryption_key_provider(mut self, input: crate::types::EncryptionKeyProviderInput) -> Self {
        self.encryption_key_provider = ::std::option::Option::Some(input);
        self
    }
    /// <p>The provider of the encryption key to use for the Autonomous Database.</p>
    pub fn set_encryption_key_provider(mut self, input: ::std::option::Option<crate::types::EncryptionKeyProviderInput>) -> Self {
        self.encryption_key_provider = input;
        self
    }
    /// <p>The provider of the encryption key to use for the Autonomous Database.</p>
    pub fn get_encryption_key_provider(&self) -> &::std::option::Option<crate::types::EncryptionKeyProviderInput> {
        &self.encryption_key_provider
    }
    /// <p>The configuration of the encryption key to use for the Autonomous Database.</p>
    pub fn encryption_key_configuration(mut self, input: crate::types::EncryptionKeyConfigurationInput) -> Self {
        self.encryption_key_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration of the encryption key to use for the Autonomous Database.</p>
    pub fn set_encryption_key_configuration(mut self, input: ::std::option::Option<crate::types::EncryptionKeyConfigurationInput>) -> Self {
        self.encryption_key_configuration = input;
        self
    }
    /// <p>The configuration of the encryption key to use for the Autonomous Database.</p>
    pub fn get_encryption_key_configuration(&self) -> &::std::option::Option<crate::types::EncryptionKeyConfigurationInput> {
        &self.encryption_key_configuration
    }
    /// <p>The source of the admin password for the Autonomous Database. When set to <code>CUSTOMER_MANAGED_AWS_SECRET</code>, the admin password is retrieved from an Amazon Web Services Secrets Manager secret.</p>
    pub fn admin_password_source(mut self, input: crate::types::AdminPasswordSource) -> Self {
        self.admin_password_source = ::std::option::Option::Some(input);
        self
    }
    /// <p>The source of the admin password for the Autonomous Database. When set to <code>CUSTOMER_MANAGED_AWS_SECRET</code>, the admin password is retrieved from an Amazon Web Services Secrets Manager secret.</p>
    pub fn set_admin_password_source(mut self, input: ::std::option::Option<crate::types::AdminPasswordSource>) -> Self {
        self.admin_password_source = input;
        self
    }
    /// <p>The source of the admin password for the Autonomous Database. When set to <code>CUSTOMER_MANAGED_AWS_SECRET</code>, the admin password is retrieved from an Amazon Web Services Secrets Manager secret.</p>
    pub fn get_admin_password_source(&self) -> &::std::option::Option<crate::types::AdminPasswordSource> {
        &self.admin_password_source
    }
    /// <p>The configuration of the admin password source for the Autonomous Database.</p>
    pub fn admin_password_source_configuration(mut self, input: crate::types::AdminPasswordSourceConfigurationInput) -> Self {
        self.admin_password_source_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration of the admin password source for the Autonomous Database.</p>
    pub fn set_admin_password_source_configuration(
        mut self,
        input: ::std::option::Option<crate::types::AdminPasswordSourceConfigurationInput>,
    ) -> Self {
        self.admin_password_source_configuration = input;
        self
    }
    /// <p>The configuration of the admin password source for the Autonomous Database.</p>
    pub fn get_admin_password_source_configuration(&self) -> &::std::option::Option<crate::types::AdminPasswordSourceConfigurationInput> {
        &self.admin_password_source_configuration
    }
    /// <p>A client-provided token to ensure the idempotency of the request.</p>
    pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.client_token = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A client-provided token to ensure the idempotency of the request.</p>
    pub fn set_client_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.client_token = input;
        self
    }
    /// <p>A client-provided token to ensure the idempotency of the request.</p>
    pub fn get_client_token(&self) -> &::std::option::Option<::std::string::String> {
        &self.client_token
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// Consumes the builder and constructs a [`CreateAutonomousDatabaseInput`](crate::operation::create_autonomous_database::CreateAutonomousDatabaseInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseInput,
        ::aws_smithy_types::error::operation::BuildError,
    > {
        ::std::result::Result::Ok(crate::operation::create_autonomous_database::CreateAutonomousDatabaseInput {
            odb_network_id: self.odb_network_id,
            display_name: self.display_name,
            db_name: self.db_name,
            admin_password: self.admin_password,
            compute_count: self.compute_count,
            data_storage_size_in_tbs: self.data_storage_size_in_tbs,
            data_storage_size_in_gbs: self.data_storage_size_in_gbs,
            db_workload: self.db_workload,
            is_auto_scaling_enabled: self.is_auto_scaling_enabled,
            is_auto_scaling_for_storage_enabled: self.is_auto_scaling_for_storage_enabled,
            license_model: self.license_model,
            character_set: self.character_set,
            ncharacter_set: self.ncharacter_set,
            db_version: self.db_version,
            database_edition: self.database_edition,
            standby_allowlisted_ips_source: self.standby_allowlisted_ips_source,
            autonomous_maintenance_schedule_type: self.autonomous_maintenance_schedule_type,
            backup_retention_period_in_days: self.backup_retention_period_in_days,
            byol_compute_count_limit: self.byol_compute_count_limit,
            cpu_core_count: self.cpu_core_count,
            customer_contacts_to_send_to_oci: self.customer_contacts_to_send_to_oci,
            private_endpoint_ip: self.private_endpoint_ip,
            private_endpoint_label: self.private_endpoint_label,
            resource_pool_leader_id: self.resource_pool_leader_id,
            resource_pool_summary: self.resource_pool_summary,
            scheduled_operations: self.scheduled_operations,
            standby_allowlisted_ips: self.standby_allowlisted_ips,
            allowlisted_ips: self.allowlisted_ips,
            transportable_tablespace: self.transportable_tablespace,
            is_backup_retention_locked: self.is_backup_retention_locked,
            is_local_data_guard_enabled: self.is_local_data_guard_enabled,
            is_mtls_connection_required: self.is_mtls_connection_required,
            db_tools_details: self.db_tools_details,
            source: self.source,
            source_configuration: self.source_configuration,
            encryption_key_provider: self.encryption_key_provider,
            encryption_key_configuration: self.encryption_key_configuration,
            admin_password_source: self.admin_password_source,
            admin_password_source_configuration: self.admin_password_source_configuration,
            client_token: self.client_token,
            tags: self.tags,
        })
    }
}
impl ::std::fmt::Debug for CreateAutonomousDatabaseInputBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("CreateAutonomousDatabaseInputBuilder");
        formatter.field("odb_network_id", &self.odb_network_id);
        formatter.field("display_name", &self.display_name);
        formatter.field("db_name", &self.db_name);
        formatter.field("admin_password", &"*** Sensitive Data Redacted ***");
        formatter.field("compute_count", &self.compute_count);
        formatter.field("data_storage_size_in_tbs", &self.data_storage_size_in_tbs);
        formatter.field("data_storage_size_in_gbs", &self.data_storage_size_in_gbs);
        formatter.field("db_workload", &self.db_workload);
        formatter.field("is_auto_scaling_enabled", &self.is_auto_scaling_enabled);
        formatter.field("is_auto_scaling_for_storage_enabled", &self.is_auto_scaling_for_storage_enabled);
        formatter.field("license_model", &self.license_model);
        formatter.field("character_set", &self.character_set);
        formatter.field("ncharacter_set", &self.ncharacter_set);
        formatter.field("db_version", &self.db_version);
        formatter.field("database_edition", &self.database_edition);
        formatter.field("standby_allowlisted_ips_source", &self.standby_allowlisted_ips_source);
        formatter.field("autonomous_maintenance_schedule_type", &self.autonomous_maintenance_schedule_type);
        formatter.field("backup_retention_period_in_days", &self.backup_retention_period_in_days);
        formatter.field("byol_compute_count_limit", &self.byol_compute_count_limit);
        formatter.field("cpu_core_count", &self.cpu_core_count);
        formatter.field("customer_contacts_to_send_to_oci", &self.customer_contacts_to_send_to_oci);
        formatter.field("private_endpoint_ip", &self.private_endpoint_ip);
        formatter.field("private_endpoint_label", &self.private_endpoint_label);
        formatter.field("resource_pool_leader_id", &self.resource_pool_leader_id);
        formatter.field("resource_pool_summary", &self.resource_pool_summary);
        formatter.field("scheduled_operations", &self.scheduled_operations);
        formatter.field("standby_allowlisted_ips", &self.standby_allowlisted_ips);
        formatter.field("allowlisted_ips", &self.allowlisted_ips);
        formatter.field("transportable_tablespace", &self.transportable_tablespace);
        formatter.field("is_backup_retention_locked", &self.is_backup_retention_locked);
        formatter.field("is_local_data_guard_enabled", &self.is_local_data_guard_enabled);
        formatter.field("is_mtls_connection_required", &self.is_mtls_connection_required);
        formatter.field("db_tools_details", &self.db_tools_details);
        formatter.field("source", &self.source);
        formatter.field("source_configuration", &self.source_configuration);
        formatter.field("encryption_key_provider", &self.encryption_key_provider);
        formatter.field("encryption_key_configuration", &self.encryption_key_configuration);
        formatter.field("admin_password_source", &self.admin_password_source);
        formatter.field("admin_password_source_configuration", &self.admin_password_source_configuration);
        formatter.field("client_token", &self.client_token);
        formatter.field("tags", &self.tags);
        formatter.finish()
    }
}