aws_sdk_rds/operation/create_custom_db_engine_version/
builders.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::create_custom_db_engine_version::_create_custom_db_engine_version_output::CreateCustomDbEngineVersionOutputBuilder;
3
4pub use crate::operation::create_custom_db_engine_version::_create_custom_db_engine_version_input::CreateCustomDbEngineVersionInputBuilder;
5
6impl crate::operation::create_custom_db_engine_version::builders::CreateCustomDbEngineVersionInputBuilder {
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::create_custom_db_engine_version::CreateCustomDbEngineVersionOutput,
13        ::aws_smithy_runtime_api::client::result::SdkError<
14            crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersionError,
15            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16        >,
17    > {
18        let mut fluent_builder = client.create_custom_db_engine_version();
19        fluent_builder.inner = self;
20        fluent_builder.send().await
21    }
22}
23/// Fluent builder constructing a request to `CreateCustomDBEngineVersion`.
24///
25/// <p>Creates a custom DB engine version (CEV).</p>
26#[derive(::std::clone::Clone, ::std::fmt::Debug)]
27pub struct CreateCustomDBEngineVersionFluentBuilder {
28    handle: ::std::sync::Arc<crate::client::Handle>,
29    inner: crate::operation::create_custom_db_engine_version::builders::CreateCustomDbEngineVersionInputBuilder,
30    config_override: ::std::option::Option<crate::config::Builder>,
31}
32impl
33    crate::client::customize::internal::CustomizableSend<
34        crate::operation::create_custom_db_engine_version::CreateCustomDbEngineVersionOutput,
35        crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersionError,
36    > for CreateCustomDBEngineVersionFluentBuilder
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::create_custom_db_engine_version::CreateCustomDbEngineVersionOutput,
44            crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersionError,
45        >,
46    > {
47        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
48    }
49}
50impl CreateCustomDBEngineVersionFluentBuilder {
51    /// Creates a new `CreateCustomDBEngineVersionFluentBuilder`.
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 CreateCustomDBEngineVersion as a reference.
60    pub fn as_input(&self) -> &crate::operation::create_custom_db_engine_version::builders::CreateCustomDbEngineVersionInputBuilder {
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::create_custom_db_engine_version::CreateCustomDbEngineVersionOutput,
75        ::aws_smithy_runtime_api::client::result::SdkError<
76            crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersionError,
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::create_custom_db_engine_version::CreateCustomDBEngineVersion::operation_runtime_plugins(
85            self.handle.runtime_plugins.clone(),
86            &self.handle.conf,
87            self.config_override,
88        );
89        crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersion::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::create_custom_db_engine_version::CreateCustomDbEngineVersionOutput,
97        crate::operation::create_custom_db_engine_version::CreateCustomDBEngineVersionError,
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 database engine. RDS Custom for Oracle supports the following values:</p>
112    /// <ul>
113    /// <li>
114    /// <p><code>custom-oracle-ee</code></p></li>
115    /// <li>
116    /// <p><code>custom-oracle-ee-cdb</code></p></li>
117    /// <li>
118    /// <p><code>custom-oracle-se2</code></p></li>
119    /// <li>
120    /// <p><code>custom-oracle-se2-cdb</code></p></li>
121    /// </ul>
122    pub fn engine(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
123        self.inner = self.inner.engine(input.into());
124        self
125    }
126    /// <p>The database engine. RDS Custom for Oracle supports the following values:</p>
127    /// <ul>
128    /// <li>
129    /// <p><code>custom-oracle-ee</code></p></li>
130    /// <li>
131    /// <p><code>custom-oracle-ee-cdb</code></p></li>
132    /// <li>
133    /// <p><code>custom-oracle-se2</code></p></li>
134    /// <li>
135    /// <p><code>custom-oracle-se2-cdb</code></p></li>
136    /// </ul>
137    pub fn set_engine(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
138        self.inner = self.inner.set_engine(input);
139        self
140    }
141    /// <p>The database engine. RDS Custom for Oracle supports the following values:</p>
142    /// <ul>
143    /// <li>
144    /// <p><code>custom-oracle-ee</code></p></li>
145    /// <li>
146    /// <p><code>custom-oracle-ee-cdb</code></p></li>
147    /// <li>
148    /// <p><code>custom-oracle-se2</code></p></li>
149    /// <li>
150    /// <p><code>custom-oracle-se2-cdb</code></p></li>
151    /// </ul>
152    pub fn get_engine(&self) -> &::std::option::Option<::std::string::String> {
153        self.inner.get_engine()
154    }
155    /// <p>The name of your CEV. The name format is 19.<i>customized_string</i>. For example, a valid CEV name is <code>19.my_cev1</code>. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of <code>Engine</code> and <code>EngineVersion</code> is unique per customer per Region.</p>
156    pub fn engine_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
157        self.inner = self.inner.engine_version(input.into());
158        self
159    }
160    /// <p>The name of your CEV. The name format is 19.<i>customized_string</i>. For example, a valid CEV name is <code>19.my_cev1</code>. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of <code>Engine</code> and <code>EngineVersion</code> is unique per customer per Region.</p>
161    pub fn set_engine_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
162        self.inner = self.inner.set_engine_version(input);
163        self
164    }
165    /// <p>The name of your CEV. The name format is 19.<i>customized_string</i>. For example, a valid CEV name is <code>19.my_cev1</code>. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of <code>Engine</code> and <code>EngineVersion</code> is unique per customer per Region.</p>
166    pub fn get_engine_version(&self) -> &::std::option::Option<::std::string::String> {
167        self.inner.get_engine_version()
168    }
169    /// <p>The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid bucket name is <code>my-custom-installation-files</code>.</p>
170    pub fn database_installation_files_s3_bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
171        self.inner = self.inner.database_installation_files_s3_bucket_name(input.into());
172        self
173    }
174    /// <p>The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid bucket name is <code>my-custom-installation-files</code>.</p>
175    pub fn set_database_installation_files_s3_bucket_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
176        self.inner = self.inner.set_database_installation_files_s3_bucket_name(input);
177        self
178    }
179    /// <p>The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid bucket name is <code>my-custom-installation-files</code>.</p>
180    pub fn get_database_installation_files_s3_bucket_name(&self) -> &::std::option::Option<::std::string::String> {
181        self.inner.get_database_installation_files_s3_bucket_name()
182    }
183    /// <p>The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket name is <code>123456789012/cev1</code>. If this setting isn't specified, no prefix is assumed.</p>
184    pub fn database_installation_files_s3_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
185        self.inner = self.inner.database_installation_files_s3_prefix(input.into());
186        self
187    }
188    /// <p>The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket name is <code>123456789012/cev1</code>. If this setting isn't specified, no prefix is assumed.</p>
189    pub fn set_database_installation_files_s3_prefix(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
190        self.inner = self.inner.set_database_installation_files_s3_prefix(input);
191        self
192    }
193    /// <p>The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket name is <code>123456789012/cev1</code>. If this setting isn't specified, no prefix is assumed.</p>
194    pub fn get_database_installation_files_s3_prefix(&self) -> &::std::option::Option<::std::string::String> {
195        self.inner.get_database_installation_files_s3_prefix()
196    }
197    /// <p>The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html">DescribeDBEngineVersions</a> operation.</p>
198    pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
199        self.inner = self.inner.image_id(input.into());
200        self
201    }
202    /// <p>The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html">DescribeDBEngineVersions</a> operation.</p>
203    pub fn set_image_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
204        self.inner = self.inner.set_image_id(input);
205        self
206    }
207    /// <p>The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html">DescribeDBEngineVersions</a> operation.</p>
208    pub fn get_image_id(&self) -> &::std::option::Option<::std::string::String> {
209        self.inner.get_image_id()
210    }
211    /// <p>The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for RDS Custom, but optional for Amazon RDS.</p>
212    /// <p>If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the instructions in <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html#create-symmetric-cmk"> Creating a symmetric encryption KMS key</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>
213    /// <p>You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.</p>
214    pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
215        self.inner = self.inner.kms_key_id(input.into());
216        self
217    }
218    /// <p>The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for RDS Custom, but optional for Amazon RDS.</p>
219    /// <p>If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the instructions in <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html#create-symmetric-cmk"> Creating a symmetric encryption KMS key</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>
220    /// <p>You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.</p>
221    pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
222        self.inner = self.inner.set_kms_key_id(input);
223        self
224    }
225    /// <p>The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for RDS Custom, but optional for Amazon RDS.</p>
226    /// <p>If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the instructions in <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html#create-symmetric-cmk"> Creating a symmetric encryption KMS key</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>
227    /// <p>You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.</p>
228    pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
229        self.inner.get_kms_key_id()
230    }
231    /// <p>The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine (AMI) by using either <code>Source</code> or <code>UseAwsProvidedLatestImage</code>. You can't specify a different JSON manifest when you specify <code>SourceCustomDbEngineVersionIdentifier</code>.</p>
232    pub fn source_custom_db_engine_version_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
233        self.inner = self.inner.source_custom_db_engine_version_identifier(input.into());
234        self
235    }
236    /// <p>The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine (AMI) by using either <code>Source</code> or <code>UseAwsProvidedLatestImage</code>. You can't specify a different JSON manifest when you specify <code>SourceCustomDbEngineVersionIdentifier</code>.</p>
237    pub fn set_source_custom_db_engine_version_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
238        self.inner = self.inner.set_source_custom_db_engine_version_identifier(input);
239        self
240    }
241    /// <p>The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine (AMI) by using either <code>Source</code> or <code>UseAwsProvidedLatestImage</code>. You can't specify a different JSON manifest when you specify <code>SourceCustomDbEngineVersionIdentifier</code>.</p>
242    pub fn get_source_custom_db_engine_version_identifier(&self) -> &::std::option::Option<::std::string::String> {
243        self.inner.get_source_custom_db_engine_version_identifier()
244    }
245    /// <p>Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify <code>UseAwsProvidedLatestImage</code>, you can't also specify <code>ImageId</code>.</p>
246    pub fn use_aws_provided_latest_image(mut self, input: bool) -> Self {
247        self.inner = self.inner.use_aws_provided_latest_image(input);
248        self
249    }
250    /// <p>Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify <code>UseAwsProvidedLatestImage</code>, you can't also specify <code>ImageId</code>.</p>
251    pub fn set_use_aws_provided_latest_image(mut self, input: ::std::option::Option<bool>) -> Self {
252        self.inner = self.inner.set_use_aws_provided_latest_image(input);
253        self
254    }
255    /// <p>Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify <code>UseAwsProvidedLatestImage</code>, you can't also specify <code>ImageId</code>.</p>
256    pub fn get_use_aws_provided_latest_image(&self) -> &::std::option::Option<bool> {
257        self.inner.get_use_aws_provided_latest_image()
258    }
259    /// <p>An optional description of your CEV.</p>
260    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
261        self.inner = self.inner.description(input.into());
262        self
263    }
264    /// <p>An optional description of your CEV.</p>
265    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
266        self.inner = self.inner.set_description(input);
267        self
268    }
269    /// <p>An optional description of your CEV.</p>
270    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
271        self.inner.get_description()
272    }
273    /// <p>The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.</p>
274    /// <p>The following JSON fields are valid:</p>
275    /// <dl>
276    /// <dt>
277    /// MediaImportTemplateVersion
278    /// </dt>
279    /// <dd>
280    /// <p>Version of the CEV manifest. The date is in the format <code>YYYY-MM-DD</code>.</p>
281    /// </dd>
282    /// <dt>
283    /// databaseInstallationFileNames
284    /// </dt>
285    /// <dd>
286    /// <p>Ordered list of installation files for the CEV.</p>
287    /// </dd>
288    /// <dt>
289    /// opatchFileNames
290    /// </dt>
291    /// <dd>
292    /// <p>Ordered list of OPatch installers used for the Oracle DB engine.</p>
293    /// </dd>
294    /// <dt>
295    /// psuRuPatchFileNames
296    /// </dt>
297    /// <dd>
298    /// <p>The PSU and RU patches for this CEV.</p>
299    /// </dd>
300    /// <dt>
301    /// OtherPatchFileNames
302    /// </dt>
303    /// <dd>
304    /// <p>The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.</p>
305    /// </dd>
306    /// </dl>
307    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.preparing.manifest"> Creating the CEV manifest</a> in the <i>Amazon RDS User Guide</i>.</p>
308    pub fn manifest(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
309        self.inner = self.inner.manifest(input.into());
310        self
311    }
312    /// <p>The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.</p>
313    /// <p>The following JSON fields are valid:</p>
314    /// <dl>
315    /// <dt>
316    /// MediaImportTemplateVersion
317    /// </dt>
318    /// <dd>
319    /// <p>Version of the CEV manifest. The date is in the format <code>YYYY-MM-DD</code>.</p>
320    /// </dd>
321    /// <dt>
322    /// databaseInstallationFileNames
323    /// </dt>
324    /// <dd>
325    /// <p>Ordered list of installation files for the CEV.</p>
326    /// </dd>
327    /// <dt>
328    /// opatchFileNames
329    /// </dt>
330    /// <dd>
331    /// <p>Ordered list of OPatch installers used for the Oracle DB engine.</p>
332    /// </dd>
333    /// <dt>
334    /// psuRuPatchFileNames
335    /// </dt>
336    /// <dd>
337    /// <p>The PSU and RU patches for this CEV.</p>
338    /// </dd>
339    /// <dt>
340    /// OtherPatchFileNames
341    /// </dt>
342    /// <dd>
343    /// <p>The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.</p>
344    /// </dd>
345    /// </dl>
346    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.preparing.manifest"> Creating the CEV manifest</a> in the <i>Amazon RDS User Guide</i>.</p>
347    pub fn set_manifest(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
348        self.inner = self.inner.set_manifest(input);
349        self
350    }
351    /// <p>The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.</p>
352    /// <p>The following JSON fields are valid:</p>
353    /// <dl>
354    /// <dt>
355    /// MediaImportTemplateVersion
356    /// </dt>
357    /// <dd>
358    /// <p>Version of the CEV manifest. The date is in the format <code>YYYY-MM-DD</code>.</p>
359    /// </dd>
360    /// <dt>
361    /// databaseInstallationFileNames
362    /// </dt>
363    /// <dd>
364    /// <p>Ordered list of installation files for the CEV.</p>
365    /// </dd>
366    /// <dt>
367    /// opatchFileNames
368    /// </dt>
369    /// <dd>
370    /// <p>Ordered list of OPatch installers used for the Oracle DB engine.</p>
371    /// </dd>
372    /// <dt>
373    /// psuRuPatchFileNames
374    /// </dt>
375    /// <dd>
376    /// <p>The PSU and RU patches for this CEV.</p>
377    /// </dd>
378    /// <dt>
379    /// OtherPatchFileNames
380    /// </dt>
381    /// <dd>
382    /// <p>The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.</p>
383    /// </dd>
384    /// </dl>
385    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.preparing.manifest"> Creating the CEV manifest</a> in the <i>Amazon RDS User Guide</i>.</p>
386    pub fn get_manifest(&self) -> &::std::option::Option<::std::string::String> {
387        self.inner.get_manifest()
388    }
389    ///
390    /// Appends an item to `Tags`.
391    ///
392    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
393    ///
394    /// <p>A list of tags.</p>
395    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.</p>
396    pub fn tags(mut self, input: crate::types::Tag) -> Self {
397        self.inner = self.inner.tags(input);
398        self
399    }
400    /// <p>A list of tags.</p>
401    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.</p>
402    pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>) -> Self {
403        self.inner = self.inner.set_tags(input);
404        self
405    }
406    /// <p>A list of tags.</p>
407    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.</p>
408    pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Tag>> {
409        self.inner.get_tags()
410    }
411}