aws_sdk_docdb/operation/modify_db_instance/
builders.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::modify_db_instance::_modify_db_instance_output::ModifyDbInstanceOutputBuilder;
3
4pub use crate::operation::modify_db_instance::_modify_db_instance_input::ModifyDbInstanceInputBuilder;
5
6impl crate::operation::modify_db_instance::builders::ModifyDbInstanceInputBuilder {
7    /// Sends a request with this input using the given client.
8    pub async fn send_with(
9        self,
10        client: &crate::Client,
11    ) -> ::std::result::Result<
12        crate::operation::modify_db_instance::ModifyDbInstanceOutput,
13        ::aws_smithy_runtime_api::client::result::SdkError<
14            crate::operation::modify_db_instance::ModifyDBInstanceError,
15            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16        >,
17    > {
18        let mut fluent_builder = client.modify_db_instance();
19        fluent_builder.inner = self;
20        fluent_builder.send().await
21    }
22}
23/// Fluent builder constructing a request to `ModifyDBInstance`.
24///
25/// <p>Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.</p>
26#[derive(::std::clone::Clone, ::std::fmt::Debug)]
27pub struct ModifyDBInstanceFluentBuilder {
28    handle: ::std::sync::Arc<crate::client::Handle>,
29    inner: crate::operation::modify_db_instance::builders::ModifyDbInstanceInputBuilder,
30    config_override: ::std::option::Option<crate::config::Builder>,
31}
32impl
33    crate::client::customize::internal::CustomizableSend<
34        crate::operation::modify_db_instance::ModifyDbInstanceOutput,
35        crate::operation::modify_db_instance::ModifyDBInstanceError,
36    > for ModifyDBInstanceFluentBuilder
37{
38    fn send(
39        self,
40        config_override: crate::config::Builder,
41    ) -> crate::client::customize::internal::BoxFuture<
42        crate::client::customize::internal::SendResult<
43            crate::operation::modify_db_instance::ModifyDbInstanceOutput,
44            crate::operation::modify_db_instance::ModifyDBInstanceError,
45        >,
46    > {
47        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
48    }
49}
50impl ModifyDBInstanceFluentBuilder {
51    /// Creates a new `ModifyDBInstanceFluentBuilder`.
52    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
53        Self {
54            handle,
55            inner: ::std::default::Default::default(),
56            config_override: ::std::option::Option::None,
57        }
58    }
59    /// Access the ModifyDBInstance as a reference.
60    pub fn as_input(&self) -> &crate::operation::modify_db_instance::builders::ModifyDbInstanceInputBuilder {
61        &self.inner
62    }
63    /// Sends the request and returns the response.
64    ///
65    /// If an error occurs, an `SdkError` will be returned with additional details that
66    /// can be matched against.
67    ///
68    /// By default, any retryable failures will be retried twice. Retry behavior
69    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
70    /// set when configuring the client.
71    pub async fn send(
72        self,
73    ) -> ::std::result::Result<
74        crate::operation::modify_db_instance::ModifyDbInstanceOutput,
75        ::aws_smithy_runtime_api::client::result::SdkError<
76            crate::operation::modify_db_instance::ModifyDBInstanceError,
77            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
78        >,
79    > {
80        let input = self
81            .inner
82            .build()
83            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
84        let runtime_plugins = crate::operation::modify_db_instance::ModifyDBInstance::operation_runtime_plugins(
85            self.handle.runtime_plugins.clone(),
86            &self.handle.conf,
87            self.config_override,
88        );
89        crate::operation::modify_db_instance::ModifyDBInstance::orchestrate(&runtime_plugins, input).await
90    }
91
92    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
93    pub fn customize(
94        self,
95    ) -> crate::client::customize::CustomizableOperation<
96        crate::operation::modify_db_instance::ModifyDbInstanceOutput,
97        crate::operation::modify_db_instance::ModifyDBInstanceError,
98        Self,
99    > {
100        crate::client::customize::CustomizableOperation::new(self)
101    }
102    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
103        self.set_config_override(::std::option::Option::Some(config_override.into()));
104        self
105    }
106
107    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
108        self.config_override = config_override;
109        self
110    }
111    /// <p>The instance identifier. This value is stored as a lowercase string.</p>
112    /// <p>Constraints:</p>
113    /// <ul>
114    /// <li>
115    /// <p>Must match the identifier of an existing <code>DBInstance</code>.</p></li>
116    /// </ul>
117    pub fn db_instance_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
118        self.inner = self.inner.db_instance_identifier(input.into());
119        self
120    }
121    /// <p>The instance identifier. This value is stored as a lowercase string.</p>
122    /// <p>Constraints:</p>
123    /// <ul>
124    /// <li>
125    /// <p>Must match the identifier of an existing <code>DBInstance</code>.</p></li>
126    /// </ul>
127    pub fn set_db_instance_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
128        self.inner = self.inner.set_db_instance_identifier(input);
129        self
130    }
131    /// <p>The instance identifier. This value is stored as a lowercase string.</p>
132    /// <p>Constraints:</p>
133    /// <ul>
134    /// <li>
135    /// <p>Must match the identifier of an existing <code>DBInstance</code>.</p></li>
136    /// </ul>
137    pub fn get_db_instance_identifier(&self) -> &::std::option::Option<::std::string::String> {
138        self.inner.get_db_instance_identifier()
139    }
140    /// <p>The new compute and memory capacity of the instance; for example, <code>db.r5.large</code>. Not all instance classes are available in all Amazon Web Services Regions.</p>
141    /// <p>If you modify the instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless <code>ApplyImmediately</code> is specified as <code>true</code> for this request.</p>
142    /// <p>Default: Uses existing setting.</p>
143    pub fn db_instance_class(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
144        self.inner = self.inner.db_instance_class(input.into());
145        self
146    }
147    /// <p>The new compute and memory capacity of the instance; for example, <code>db.r5.large</code>. Not all instance classes are available in all Amazon Web Services Regions.</p>
148    /// <p>If you modify the instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless <code>ApplyImmediately</code> is specified as <code>true</code> for this request.</p>
149    /// <p>Default: Uses existing setting.</p>
150    pub fn set_db_instance_class(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
151        self.inner = self.inner.set_db_instance_class(input);
152        self
153    }
154    /// <p>The new compute and memory capacity of the instance; for example, <code>db.r5.large</code>. Not all instance classes are available in all Amazon Web Services Regions.</p>
155    /// <p>If you modify the instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless <code>ApplyImmediately</code> is specified as <code>true</code> for this request.</p>
156    /// <p>Default: Uses existing setting.</p>
157    pub fn get_db_instance_class(&self) -> &::std::option::Option<::std::string::String> {
158        self.inner.get_db_instance_class()
159    }
160    /// <p>Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the <code>PreferredMaintenanceWindow</code> setting for the instance.</p>
161    /// <p>If this parameter is set to <code>false</code>, changes to the instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot.</p>
162    /// <p>Default: <code>false</code></p>
163    pub fn apply_immediately(mut self, input: bool) -> Self {
164        self.inner = self.inner.apply_immediately(input);
165        self
166    }
167    /// <p>Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the <code>PreferredMaintenanceWindow</code> setting for the instance.</p>
168    /// <p>If this parameter is set to <code>false</code>, changes to the instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot.</p>
169    /// <p>Default: <code>false</code></p>
170    pub fn set_apply_immediately(mut self, input: ::std::option::Option<bool>) -> Self {
171        self.inner = self.inner.set_apply_immediately(input);
172        self
173    }
174    /// <p>Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the <code>PreferredMaintenanceWindow</code> setting for the instance.</p>
175    /// <p>If this parameter is set to <code>false</code>, changes to the instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot.</p>
176    /// <p>Default: <code>false</code></p>
177    pub fn get_apply_immediately(&self) -> &::std::option::Option<bool> {
178        self.inner.get_apply_immediately()
179    }
180    /// <p>The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied.</p>
181    /// <p>Default: Uses existing setting.</p>
182    /// <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code></p>
183    /// <p>Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>
184    /// <p>Constraints: Must be at least 30 minutes.</p>
185    pub fn preferred_maintenance_window(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
186        self.inner = self.inner.preferred_maintenance_window(input.into());
187        self
188    }
189    /// <p>The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied.</p>
190    /// <p>Default: Uses existing setting.</p>
191    /// <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code></p>
192    /// <p>Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>
193    /// <p>Constraints: Must be at least 30 minutes.</p>
194    pub fn set_preferred_maintenance_window(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
195        self.inner = self.inner.set_preferred_maintenance_window(input);
196        self
197    }
198    /// <p>The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied.</p>
199    /// <p>Default: Uses existing setting.</p>
200    /// <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code></p>
201    /// <p>Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>
202    /// <p>Constraints: Must be at least 30 minutes.</p>
203    pub fn get_preferred_maintenance_window(&self) -> &::std::option::Option<::std::string::String> {
204        self.inner.get_preferred_maintenance_window()
205    }
206    /// <p>This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.</p>
207    pub fn auto_minor_version_upgrade(mut self, input: bool) -> Self {
208        self.inner = self.inner.auto_minor_version_upgrade(input);
209        self
210    }
211    /// <p>This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.</p>
212    pub fn set_auto_minor_version_upgrade(mut self, input: ::std::option::Option<bool>) -> Self {
213        self.inner = self.inner.set_auto_minor_version_upgrade(input);
214        self
215    }
216    /// <p>This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.</p>
217    pub fn get_auto_minor_version_upgrade(&self) -> &::std::option::Option<bool> {
218        self.inner.get_auto_minor_version_upgrade()
219    }
220    /// <p>The new instance identifier for the instance when renaming an instance. When you change the instance identifier, an instance reboot occurs immediately if you set <code>Apply Immediately</code> to <code>true</code>. It occurs during the next maintenance window if you set <code>Apply Immediately</code> to <code>false</code>. This value is stored as a lowercase string.</p>
221    /// <p>Constraints:</p>
222    /// <ul>
223    /// <li>
224    /// <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li>
225    /// <li>
226    /// <p>The first character must be a letter.</p></li>
227    /// <li>
228    /// <p>Cannot end with a hyphen or contain two consecutive hyphens.</p></li>
229    /// </ul>
230    /// <p>Example: <code>mydbinstance</code></p>
231    pub fn new_db_instance_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
232        self.inner = self.inner.new_db_instance_identifier(input.into());
233        self
234    }
235    /// <p>The new instance identifier for the instance when renaming an instance. When you change the instance identifier, an instance reboot occurs immediately if you set <code>Apply Immediately</code> to <code>true</code>. It occurs during the next maintenance window if you set <code>Apply Immediately</code> to <code>false</code>. This value is stored as a lowercase string.</p>
236    /// <p>Constraints:</p>
237    /// <ul>
238    /// <li>
239    /// <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li>
240    /// <li>
241    /// <p>The first character must be a letter.</p></li>
242    /// <li>
243    /// <p>Cannot end with a hyphen or contain two consecutive hyphens.</p></li>
244    /// </ul>
245    /// <p>Example: <code>mydbinstance</code></p>
246    pub fn set_new_db_instance_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
247        self.inner = self.inner.set_new_db_instance_identifier(input);
248        self
249    }
250    /// <p>The new instance identifier for the instance when renaming an instance. When you change the instance identifier, an instance reboot occurs immediately if you set <code>Apply Immediately</code> to <code>true</code>. It occurs during the next maintenance window if you set <code>Apply Immediately</code> to <code>false</code>. This value is stored as a lowercase string.</p>
251    /// <p>Constraints:</p>
252    /// <ul>
253    /// <li>
254    /// <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li>
255    /// <li>
256    /// <p>The first character must be a letter.</p></li>
257    /// <li>
258    /// <p>Cannot end with a hyphen or contain two consecutive hyphens.</p></li>
259    /// </ul>
260    /// <p>Example: <code>mydbinstance</code></p>
261    pub fn get_new_db_instance_identifier(&self) -> &::std::option::Option<::std::string::String> {
262        self.inner.get_new_db_instance_identifier()
263    }
264    /// <p>Indicates the certificate that needs to be associated with the instance.</p>
265    pub fn ca_certificate_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
266        self.inner = self.inner.ca_certificate_identifier(input.into());
267        self
268    }
269    /// <p>Indicates the certificate that needs to be associated with the instance.</p>
270    pub fn set_ca_certificate_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
271        self.inner = self.inner.set_ca_certificate_identifier(input);
272        self
273    }
274    /// <p>Indicates the certificate that needs to be associated with the instance.</p>
275    pub fn get_ca_certificate_identifier(&self) -> &::std::option::Option<::std::string::String> {
276        self.inner.get_ca_certificate_identifier()
277    }
278    /// <p>A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>
279    pub fn copy_tags_to_snapshot(mut self, input: bool) -> Self {
280        self.inner = self.inner.copy_tags_to_snapshot(input);
281        self
282    }
283    /// <p>A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>
284    pub fn set_copy_tags_to_snapshot(mut self, input: ::std::option::Option<bool>) -> Self {
285        self.inner = self.inner.set_copy_tags_to_snapshot(input);
286        self
287    }
288    /// <p>A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>
289    pub fn get_copy_tags_to_snapshot(&self) -> &::std::option::Option<bool> {
290        self.inner.get_copy_tags_to_snapshot()
291    }
292    /// <p>A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.</p>
293    /// <p>Default: 1</p>
294    /// <p>Valid values: 0-15</p>
295    pub fn promotion_tier(mut self, input: i32) -> Self {
296        self.inner = self.inner.promotion_tier(input);
297        self
298    }
299    /// <p>A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.</p>
300    /// <p>Default: 1</p>
301    /// <p>Valid values: 0-15</p>
302    pub fn set_promotion_tier(mut self, input: ::std::option::Option<i32>) -> Self {
303        self.inner = self.inner.set_promotion_tier(input);
304        self
305    }
306    /// <p>A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.</p>
307    /// <p>Default: 1</p>
308    /// <p>Valid values: 0-15</p>
309    pub fn get_promotion_tier(&self) -> &::std::option::Option<i32> {
310        self.inner.get_promotion_tier()
311    }
312    /// <p>A value that indicates whether to enable Performance Insights for the DB Instance. For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using Amazon Performance Insights</a>.</p>
313    pub fn enable_performance_insights(mut self, input: bool) -> Self {
314        self.inner = self.inner.enable_performance_insights(input);
315        self
316    }
317    /// <p>A value that indicates whether to enable Performance Insights for the DB Instance. For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using Amazon Performance Insights</a>.</p>
318    pub fn set_enable_performance_insights(mut self, input: ::std::option::Option<bool>) -> Self {
319        self.inner = self.inner.set_enable_performance_insights(input);
320        self
321    }
322    /// <p>A value that indicates whether to enable Performance Insights for the DB Instance. For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using Amazon Performance Insights</a>.</p>
323    pub fn get_enable_performance_insights(&self) -> &::std::option::Option<bool> {
324        self.inner.get_enable_performance_insights()
325    }
326    /// <p>The KMS key identifier for encryption of Performance Insights data.</p>
327    /// <p>The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
328    /// <p>If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services region.</p>
329    pub fn performance_insights_kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
330        self.inner = self.inner.performance_insights_kms_key_id(input.into());
331        self
332    }
333    /// <p>The KMS key identifier for encryption of Performance Insights data.</p>
334    /// <p>The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
335    /// <p>If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services region.</p>
336    pub fn set_performance_insights_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
337        self.inner = self.inner.set_performance_insights_kms_key_id(input);
338        self
339    }
340    /// <p>The KMS key identifier for encryption of Performance Insights data.</p>
341    /// <p>The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
342    /// <p>If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services region.</p>
343    pub fn get_performance_insights_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
344        self.inner.get_performance_insights_kms_key_id()
345    }
346    /// <p>Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.</p>
347    /// <p>By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.</p><important>
348    /// <p>Set this parameter only if you are <i>not</i> using SSL/TLS to connect to the DB instance.</p>
349    /// </important>
350    /// <p>If you are using SSL/TLS to connect to the DB instance, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html">Updating Your Amazon DocumentDB TLS Certificates</a> and <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html"> Encrypting Data in Transit</a> in the <i>Amazon DocumentDB Developer Guide</i>.</p>
351    pub fn certificate_rotation_restart(mut self, input: bool) -> Self {
352        self.inner = self.inner.certificate_rotation_restart(input);
353        self
354    }
355    /// <p>Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.</p>
356    /// <p>By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.</p><important>
357    /// <p>Set this parameter only if you are <i>not</i> using SSL/TLS to connect to the DB instance.</p>
358    /// </important>
359    /// <p>If you are using SSL/TLS to connect to the DB instance, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html">Updating Your Amazon DocumentDB TLS Certificates</a> and <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html"> Encrypting Data in Transit</a> in the <i>Amazon DocumentDB Developer Guide</i>.</p>
360    pub fn set_certificate_rotation_restart(mut self, input: ::std::option::Option<bool>) -> Self {
361        self.inner = self.inner.set_certificate_rotation_restart(input);
362        self
363    }
364    /// <p>Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.</p>
365    /// <p>By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.</p><important>
366    /// <p>Set this parameter only if you are <i>not</i> using SSL/TLS to connect to the DB instance.</p>
367    /// </important>
368    /// <p>If you are using SSL/TLS to connect to the DB instance, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html">Updating Your Amazon DocumentDB TLS Certificates</a> and <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html"> Encrypting Data in Transit</a> in the <i>Amazon DocumentDB Developer Guide</i>.</p>
369    pub fn get_certificate_rotation_restart(&self) -> &::std::option::Option<bool> {
370        self.inner.get_certificate_rotation_restart()
371    }
372}