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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub use crate::operation::create_autonomous_database::_create_autonomous_database_input::CreateAutonomousDatabaseInputBuilder;

pub use crate::operation::create_autonomous_database::_create_autonomous_database_output::CreateAutonomousDatabaseOutputBuilder;

impl crate::operation::create_autonomous_database::builders::CreateAutonomousDatabaseInputBuilder {
    /// Sends a request with this input using the given client.
    pub async fn send_with(
        self,
        client: &crate::Client,
    ) -> ::std::result::Result<
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::create_autonomous_database::CreateAutonomousDatabaseError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let mut fluent_builder = client.create_autonomous_database();
        fluent_builder.inner = self;
        fluent_builder.send().await
    }
}
/// Fluent builder constructing a request to `CreateAutonomousDatabase`.
///
/// <p>Creates a new Autonomous Database.</p>
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct CreateAutonomousDatabaseFluentBuilder {
    handle: ::std::sync::Arc<crate::client::Handle>,
    inner: crate::operation::create_autonomous_database::builders::CreateAutonomousDatabaseInputBuilder,
    config_override: ::std::option::Option<crate::config::Builder>,
}
impl
    crate::client::customize::internal::CustomizableSend<
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseOutput,
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseError,
    > for CreateAutonomousDatabaseFluentBuilder
{
    fn send(
        self,
        config_override: crate::config::Builder,
    ) -> crate::client::customize::internal::BoxFuture<
        crate::client::customize::internal::SendResult<
            crate::operation::create_autonomous_database::CreateAutonomousDatabaseOutput,
            crate::operation::create_autonomous_database::CreateAutonomousDatabaseError,
        >,
    > {
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
    }
}
impl CreateAutonomousDatabaseFluentBuilder {
    /// Creates a new `CreateAutonomousDatabaseFluentBuilder`.
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
        Self {
            handle,
            inner: ::std::default::Default::default(),
            config_override: ::std::option::Option::None,
        }
    }
    /// Access the CreateAutonomousDatabase as a reference.
    pub fn as_input(&self) -> &crate::operation::create_autonomous_database::builders::CreateAutonomousDatabaseInputBuilder {
        &self.inner
    }
    /// Sends the request and returns the response.
    ///
    /// If an error occurs, an `SdkError` will be returned with additional details that
    /// can be matched against.
    ///
    /// By default, any retryable failures will be retried twice. Retry behavior
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
    /// set when configuring the client.
    pub async fn send(
        self,
    ) -> ::std::result::Result<
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::create_autonomous_database::CreateAutonomousDatabaseError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let input = self
            .inner
            .build()
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
        let runtime_plugins = crate::operation::create_autonomous_database::CreateAutonomousDatabase::operation_runtime_plugins(
            self.handle.runtime_plugins.clone(),
            &self.handle.conf,
            self.config_override,
        );
        crate::operation::create_autonomous_database::CreateAutonomousDatabase::orchestrate(&runtime_plugins, input).await
    }

    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
    pub fn customize(
        self,
    ) -> crate::client::customize::CustomizableOperation<
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseOutput,
        crate::operation::create_autonomous_database::CreateAutonomousDatabaseError,
        Self,
    > {
        crate::client::customize::CustomizableOperation::new(self)
    }
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
        self.set_config_override(::std::option::Option::Some(config_override.into()));
        self
    }

    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
        self.config_override = config_override;
        self
    }
    /// <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.inner = self.inner.odb_network_id(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.display_name(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.db_name(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.admin_password(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_compute_count(mut self, input: ::std::option::Option<f64>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_data_storage_size_in_tbs(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_data_storage_size_in_gbs(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_db_workload(mut self, input: ::std::option::Option<crate::types::DbWorkload>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.is_auto_scaling_enabled(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_is_auto_scaling_for_storage_enabled(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.license_model(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.character_set(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.ncharacter_set(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.db_version(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.database_edition(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.standby_allowlisted_ips_source(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.autonomous_maintenance_schedule_type(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.backup_retention_period_in_days(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_byol_compute_count_limit(mut self, input: ::std::option::Option<f64>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.cpu_core_count(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.inner = self.inner.set_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.inner.get_cpu_core_count()
    }
    ///
    /// Appends an item to `customerContactsToSendToOCI`.
    ///
    /// 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 {
        self.inner = self.inner.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 set_customer_contacts_to_send_to_oci(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::CustomerContact>>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.private_endpoint_ip(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.private_endpoint_label(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.resource_pool_leader_id(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.resource_pool_summary(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.inner = self.inner.set_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.inner.get_resource_pool_summary()
    }
    ///
    /// Appends an item to `scheduledOperations`.
    ///
    /// 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 {
        self.inner = self.inner.scheduled_operations(input);
        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.inner = self.inner.set_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.inner.get_scheduled_operations()
    }
    ///
    /// Appends an item to `standbyAllowlistedIps`.
    ///
    /// 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 {
        self.inner = self.inner.standby_allowlisted_ips(input.into());
        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.inner = self.inner.set_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.inner.get_standby_allowlisted_ips()
    }
    ///
    /// Appends an item to `allowlistedIps`.
    ///
    /// 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 {
        self.inner = self.inner.allowlisted_ips(input.into());
        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.inner = self.inner.set_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.inner.get_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.inner = self.inner.transportable_tablespace(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_is_backup_retention_locked(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.is_local_data_guard_enabled(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.is_mtls_connection_required(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.inner = self.inner.set_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.inner.get_is_mtls_connection_required()
    }
    ///
    /// Appends an item to `dbToolsDetails`.
    ///
    /// 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 {
        self.inner = self.inner.db_tools_details(input);
        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.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_source(mut self, input: ::std::option::Option<crate::types::SourceType>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.source_configuration(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.encryption_key_provider(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.encryption_key_configuration(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.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 set_admin_password_source(mut self, input: ::std::option::Option<crate::types::AdminPasswordSource>) -> Self {
        self.inner = self.inner.set_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.inner.get_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.inner = self.inner.admin_password_source_configuration(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.client_token(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.inner = self.inner.set_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.inner.get_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 {
        self.inner = self.inner.tags(k.into(), v.into());
        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.inner = self.inner.set_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.inner.get_tags()
    }
}