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

pub use crate::operation::update_autonomous_database::_update_autonomous_database_output::UpdateAutonomousDatabaseOutputBuilder;

impl crate::operation::update_autonomous_database::builders::UpdateAutonomousDatabaseInputBuilder {
    /// Sends a request with this input using the given client.
    pub async fn send_with(
        self,
        client: &crate::Client,
    ) -> ::std::result::Result<
        crate::operation::update_autonomous_database::UpdateAutonomousDatabaseOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::update_autonomous_database::UpdateAutonomousDatabaseError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let mut fluent_builder = client.update_autonomous_database();
        fluent_builder.inner = self;
        fluent_builder.send().await
    }
}
/// Fluent builder constructing a request to `UpdateAutonomousDatabase`.
///
/// <p>Updates the properties of an Autonomous Database.</p>
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct UpdateAutonomousDatabaseFluentBuilder {
    handle: ::std::sync::Arc<crate::client::Handle>,
    inner: crate::operation::update_autonomous_database::builders::UpdateAutonomousDatabaseInputBuilder,
    config_override: ::std::option::Option<crate::config::Builder>,
}
impl
    crate::client::customize::internal::CustomizableSend<
        crate::operation::update_autonomous_database::UpdateAutonomousDatabaseOutput,
        crate::operation::update_autonomous_database::UpdateAutonomousDatabaseError,
    > for UpdateAutonomousDatabaseFluentBuilder
{
    fn send(
        self,
        config_override: crate::config::Builder,
    ) -> crate::client::customize::internal::BoxFuture<
        crate::client::customize::internal::SendResult<
            crate::operation::update_autonomous_database::UpdateAutonomousDatabaseOutput,
            crate::operation::update_autonomous_database::UpdateAutonomousDatabaseError,
        >,
    > {
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
    }
}
impl UpdateAutonomousDatabaseFluentBuilder {
    /// Creates a new `UpdateAutonomousDatabaseFluentBuilder`.
    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 UpdateAutonomousDatabase as a reference.
    pub fn as_input(&self) -> &crate::operation::update_autonomous_database::builders::UpdateAutonomousDatabaseInputBuilder {
        &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::update_autonomous_database::UpdateAutonomousDatabaseOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::update_autonomous_database::UpdateAutonomousDatabaseError,
            ::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::update_autonomous_database::UpdateAutonomousDatabase::operation_runtime_plugins(
            self.handle.runtime_plugins.clone(),
            &self.handle.conf,
            self.config_override,
        );
        crate::operation::update_autonomous_database::UpdateAutonomousDatabase::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::update_autonomous_database::UpdateAutonomousDatabaseOutput,
        crate::operation::update_autonomous_database::UpdateAutonomousDatabaseError,
        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 Autonomous Database to update.</p>
    pub fn autonomous_database_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.autonomous_database_id(input.into());
        self
    }
    /// <p>The unique identifier of the Autonomous Database to update.</p>
    pub fn set_autonomous_database_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_autonomous_database_id(input);
        self
    }
    /// <p>The unique identifier of the Autonomous Database to update.</p>
    pub fn get_autonomous_database_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_autonomous_database_id()
    }
    /// <p>The new 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 new 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 new 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 ECPUs or 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 ECPUs or 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 ECPUs or 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 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()
    }
    /// <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 new user-friendly name for the Autonomous Database.</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 new user-friendly name for the Autonomous Database.</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 new user-friendly name for the Autonomous Database.</p>
    pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_display_name()
    }
    /// <p>The new name of the Autonomous Database.</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 new name of the Autonomous Database.</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 new name of the Autonomous Database.</p>
    pub fn get_db_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_name()
    }
    /// <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 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()
    }
    ///
    /// 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 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 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>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>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()
    }
    /// <p>Specifies whether the Autonomous Database is a refreshable clone.</p>
    pub fn is_refreshable_clone(mut self, input: bool) -> Self {
        self.inner = self.inner.is_refreshable_clone(input);
        self
    }
    /// <p>Specifies whether the Autonomous Database is a refreshable clone.</p>
    pub fn set_is_refreshable_clone(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_is_refreshable_clone(input);
        self
    }
    /// <p>Specifies whether the Autonomous Database is a refreshable clone.</p>
    pub fn get_is_refreshable_clone(&self) -> &::std::option::Option<bool> {
        self.inner.get_is_refreshable_clone()
    }
    /// <p>Specifies whether to disconnect the Autonomous Database from its peer database.</p>
    pub fn is_disconnect_peer(mut self, input: bool) -> Self {
        self.inner = self.inner.is_disconnect_peer(input);
        self
    }
    /// <p>Specifies whether to disconnect the Autonomous Database from its peer database.</p>
    pub fn set_is_disconnect_peer(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_is_disconnect_peer(input);
        self
    }
    /// <p>Specifies whether to disconnect the Autonomous Database from its peer database.</p>
    pub fn get_is_disconnect_peer(&self) -> &::std::option::Option<bool> {
        self.inner.get_is_disconnect_peer()
    }
    /// <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 maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.</p>
    pub fn local_adg_auto_failover_max_data_loss_limit(mut self, input: i32) -> Self {
        self.inner = self.inner.local_adg_auto_failover_max_data_loss_limit(input);
        self
    }
    /// <p>The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.</p>
    pub fn set_local_adg_auto_failover_max_data_loss_limit(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_local_adg_auto_failover_max_data_loss_limit(input);
        self
    }
    /// <p>The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.</p>
    pub fn get_local_adg_auto_failover_max_data_loss_limit(&self) -> &::std::option::Option<i32> {
        self.inner.get_local_adg_auto_failover_max_data_loss_limit()
    }
    /// <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()
    }
    ///
    /// 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 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 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 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()
    }
    ///
    /// 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()
    }
    /// <p>The long-term backup schedule for the Autonomous Database.</p>
    pub fn long_term_backup_schedule(mut self, input: crate::types::LongTermBackupSchedule) -> Self {
        self.inner = self.inner.long_term_backup_schedule(input);
        self
    }
    /// <p>The long-term backup schedule for the Autonomous Database.</p>
    pub fn set_long_term_backup_schedule(mut self, input: ::std::option::Option<crate::types::LongTermBackupSchedule>) -> Self {
        self.inner = self.inner.set_long_term_backup_schedule(input);
        self
    }
    /// <p>The long-term backup schedule for the Autonomous Database.</p>
    pub fn get_long_term_backup_schedule(&self) -> &::std::option::Option<crate::types::LongTermBackupSchedule> {
        self.inner.get_long_term_backup_schedule()
    }
    /// <p>The mode in which to open the Autonomous Database, either read-only or read/write.</p>
    pub fn open_mode(mut self, input: crate::types::OpenMode) -> Self {
        self.inner = self.inner.open_mode(input);
        self
    }
    /// <p>The mode in which to open the Autonomous Database, either read-only or read/write.</p>
    pub fn set_open_mode(mut self, input: ::std::option::Option<crate::types::OpenMode>) -> Self {
        self.inner = self.inner.set_open_mode(input);
        self
    }
    /// <p>The mode in which to open the Autonomous Database, either read-only or read/write.</p>
    pub fn get_open_mode(&self) -> &::std::option::Option<crate::types::OpenMode> {
        self.inner.get_open_mode()
    }
    /// <p>The permission level of the Autonomous Database.</p>
    pub fn permission_level(mut self, input: crate::types::PermissionLevel) -> Self {
        self.inner = self.inner.permission_level(input);
        self
    }
    /// <p>The permission level of the Autonomous Database.</p>
    pub fn set_permission_level(mut self, input: ::std::option::Option<crate::types::PermissionLevel>) -> Self {
        self.inner = self.inner.set_permission_level(input);
        self
    }
    /// <p>The permission level of the Autonomous Database.</p>
    pub fn get_permission_level(&self) -> &::std::option::Option<crate::types::PermissionLevel> {
        self.inner.get_permission_level()
    }
    /// <p>The refresh mode of the refreshable clone Autonomous Database.</p>
    pub fn refreshable_mode(mut self, input: crate::types::RefreshableMode) -> Self {
        self.inner = self.inner.refreshable_mode(input);
        self
    }
    /// <p>The refresh mode of the refreshable clone Autonomous Database.</p>
    pub fn set_refreshable_mode(mut self, input: ::std::option::Option<crate::types::RefreshableMode>) -> Self {
        self.inner = self.inner.set_refreshable_mode(input);
        self
    }
    /// <p>The refresh mode of the refreshable clone Autonomous Database.</p>
    pub fn get_refreshable_mode(&self) -> &::std::option::Option<crate::types::RefreshableMode> {
        self.inner.get_refreshable_mode()
    }
    /// <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 peer Autonomous Database.</p>
    pub fn peer_db_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.peer_db_id(input.into());
        self
    }
    /// <p>The unique identifier of the peer Autonomous Database.</p>
    pub fn set_peer_db_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_peer_db_id(input);
        self
    }
    /// <p>The unique identifier of the peer Autonomous Database.</p>
    pub fn get_peer_db_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_peer_db_id()
    }
    /// <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()
    }
    /// <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()
    }
    ///
    /// 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 frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.</p>
    pub fn auto_refresh_frequency_in_seconds(mut self, input: i32) -> Self {
        self.inner = self.inner.auto_refresh_frequency_in_seconds(input);
        self
    }
    /// <p>The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.</p>
    pub fn set_auto_refresh_frequency_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_auto_refresh_frequency_in_seconds(input);
        self
    }
    /// <p>The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.</p>
    pub fn get_auto_refresh_frequency_in_seconds(&self) -> &::std::option::Option<i32> {
        self.inner.get_auto_refresh_frequency_in_seconds()
    }
    /// <p>The time lag, in seconds, between the refreshable clone and its source Autonomous Database.</p>
    pub fn auto_refresh_point_lag_in_seconds(mut self, input: i32) -> Self {
        self.inner = self.inner.auto_refresh_point_lag_in_seconds(input);
        self
    }
    /// <p>The time lag, in seconds, between the refreshable clone and its source Autonomous Database.</p>
    pub fn set_auto_refresh_point_lag_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_auto_refresh_point_lag_in_seconds(input);
        self
    }
    /// <p>The time lag, in seconds, between the refreshable clone and its source Autonomous Database.</p>
    pub fn get_auto_refresh_point_lag_in_seconds(&self) -> &::std::option::Option<i32> {
        self.inner.get_auto_refresh_point_lag_in_seconds()
    }
    /// <p>The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.</p>
    pub fn time_of_auto_refresh_start(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.inner = self.inner.time_of_auto_refresh_start(input);
        self
    }
    /// <p>The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.</p>
    pub fn set_time_of_auto_refresh_start(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.inner = self.inner.set_time_of_auto_refresh_start(input);
        self
    }
    /// <p>The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.</p>
    pub fn get_time_of_auto_refresh_start(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        self.inner.get_time_of_auto_refresh_start()
    }
    /// <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()
    }
}