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.</p>
112 /// <p>RDS Custom for Oracle supports the following values:</p>
113 /// <ul>
114 /// <li>
115 /// <p><code>custom-oracle-ee</code></p></li>
116 /// <li>
117 /// <p><code>custom-oracle-ee-cdb</code></p></li>
118 /// <li>
119 /// <p><code>custom-oracle-se2</code></p></li>
120 /// <li>
121 /// <p><code>custom-oracle-se2-cdb</code></p></li>
122 /// </ul>
123 /// <p>RDS Custom for SQL Server supports the following values:</p>
124 /// <ul>
125 /// <li>
126 /// <p><code>custom-sqlserver-ee</code></p></li>
127 /// <li>
128 /// <p><code>custom-sqlserver-se</code></p></li>
129 /// <li>
130 /// <p><code>ccustom-sqlserver-web</code></p></li>
131 /// <li>
132 /// <p><code>custom-sqlserver-dev</code></p></li>
133 /// </ul>
134 /// <p>RDS for SQL Server supports only <code>sqlserver-dev-ee</code>.</p>
135 pub fn engine(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
136 self.inner = self.inner.engine(input.into());
137 self
138 }
139 /// <p>The database engine.</p>
140 /// <p>RDS Custom for Oracle supports the following values:</p>
141 /// <ul>
142 /// <li>
143 /// <p><code>custom-oracle-ee</code></p></li>
144 /// <li>
145 /// <p><code>custom-oracle-ee-cdb</code></p></li>
146 /// <li>
147 /// <p><code>custom-oracle-se2</code></p></li>
148 /// <li>
149 /// <p><code>custom-oracle-se2-cdb</code></p></li>
150 /// </ul>
151 /// <p>RDS Custom for SQL Server supports the following values:</p>
152 /// <ul>
153 /// <li>
154 /// <p><code>custom-sqlserver-ee</code></p></li>
155 /// <li>
156 /// <p><code>custom-sqlserver-se</code></p></li>
157 /// <li>
158 /// <p><code>ccustom-sqlserver-web</code></p></li>
159 /// <li>
160 /// <p><code>custom-sqlserver-dev</code></p></li>
161 /// </ul>
162 /// <p>RDS for SQL Server supports only <code>sqlserver-dev-ee</code>.</p>
163 pub fn set_engine(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
164 self.inner = self.inner.set_engine(input);
165 self
166 }
167 /// <p>The database engine.</p>
168 /// <p>RDS Custom for Oracle supports the following values:</p>
169 /// <ul>
170 /// <li>
171 /// <p><code>custom-oracle-ee</code></p></li>
172 /// <li>
173 /// <p><code>custom-oracle-ee-cdb</code></p></li>
174 /// <li>
175 /// <p><code>custom-oracle-se2</code></p></li>
176 /// <li>
177 /// <p><code>custom-oracle-se2-cdb</code></p></li>
178 /// </ul>
179 /// <p>RDS Custom for SQL Server supports the following values:</p>
180 /// <ul>
181 /// <li>
182 /// <p><code>custom-sqlserver-ee</code></p></li>
183 /// <li>
184 /// <p><code>custom-sqlserver-se</code></p></li>
185 /// <li>
186 /// <p><code>ccustom-sqlserver-web</code></p></li>
187 /// <li>
188 /// <p><code>custom-sqlserver-dev</code></p></li>
189 /// </ul>
190 /// <p>RDS for SQL Server supports only <code>sqlserver-dev-ee</code>.</p>
191 pub fn get_engine(&self) -> &::std::option::Option<::std::string::String> {
192 self.inner.get_engine()
193 }
194 /// <p>The name of your custom engine version (CEV).</p>
195 /// <p>For RDS Custom for Oracle, the name format is <code>19.*customized_string*</code>. For example, a valid CEV name is <code>19.my_cev1</code>.</p>
196 /// <p>For RDS for SQL Server and RDS Custom for SQL Server, the name format is <code>major engine_version*.*minor_engine_version*.*customized_string*</code>. For example, a valid CEV name is <code>16.00.4215.2.my_cev1</code>.</p>
197 /// <p>The CEV name is unique per customer per Amazon Web Services Regions.</p>
198 pub fn engine_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
199 self.inner = self.inner.engine_version(input.into());
200 self
201 }
202 /// <p>The name of your custom engine version (CEV).</p>
203 /// <p>For RDS Custom for Oracle, the name format is <code>19.*customized_string*</code>. For example, a valid CEV name is <code>19.my_cev1</code>.</p>
204 /// <p>For RDS for SQL Server and RDS Custom for SQL Server, the name format is <code>major engine_version*.*minor_engine_version*.*customized_string*</code>. For example, a valid CEV name is <code>16.00.4215.2.my_cev1</code>.</p>
205 /// <p>The CEV name is unique per customer per Amazon Web Services Regions.</p>
206 pub fn set_engine_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
207 self.inner = self.inner.set_engine_version(input);
208 self
209 }
210 /// <p>The name of your custom engine version (CEV).</p>
211 /// <p>For RDS Custom for Oracle, the name format is <code>19.*customized_string*</code>. For example, a valid CEV name is <code>19.my_cev1</code>.</p>
212 /// <p>For RDS for SQL Server and RDS Custom for SQL Server, the name format is <code>major engine_version*.*minor_engine_version*.*customized_string*</code>. For example, a valid CEV name is <code>16.00.4215.2.my_cev1</code>.</p>
213 /// <p>The CEV name is unique per customer per Amazon Web Services Regions.</p>
214 pub fn get_engine_version(&self) -> &::std::option::Option<::std::string::String> {
215 self.inner.get_engine_version()
216 }
217 /// <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>
218 pub fn database_installation_files_s3_bucket_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
219 self.inner = self.inner.database_installation_files_s3_bucket_name(input.into());
220 self
221 }
222 /// <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>
223 pub fn set_database_installation_files_s3_bucket_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
224 self.inner = self.inner.set_database_installation_files_s3_bucket_name(input);
225 self
226 }
227 /// <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>
228 pub fn get_database_installation_files_s3_bucket_name(&self) -> &::std::option::Option<::std::string::String> {
229 self.inner.get_database_installation_files_s3_bucket_name()
230 }
231 /// <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>
232 pub fn database_installation_files_s3_prefix(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
233 self.inner = self.inner.database_installation_files_s3_prefix(input.into());
234 self
235 }
236 /// <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>
237 pub fn set_database_installation_files_s3_prefix(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
238 self.inner = self.inner.set_database_installation_files_s3_prefix(input);
239 self
240 }
241 /// <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>
242 pub fn get_database_installation_files_s3_prefix(&self) -> &::std::option::Option<::std::string::String> {
243 self.inner.get_database_installation_files_s3_prefix()
244 }
245 /// <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>
246 pub fn image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
247 self.inner = self.inner.image_id(input.into());
248 self
249 }
250 /// <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>
251 pub fn set_image_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
252 self.inner = self.inner.set_image_id(input);
253 self
254 }
255 /// <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>
256 pub fn get_image_id(&self) -> &::std::option::Option<::std::string::String> {
257 self.inner.get_image_id()
258 }
259 /// <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>
260 /// <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>
261 /// <p>You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.</p>
262 pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
263 self.inner = self.inner.kms_key_id(input.into());
264 self
265 }
266 /// <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>
267 /// <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>
268 /// <p>You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.</p>
269 pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
270 self.inner = self.inner.set_kms_key_id(input);
271 self
272 }
273 /// <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>
274 /// <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>
275 /// <p>You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.</p>
276 pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
277 self.inner.get_kms_key_id()
278 }
279 /// <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>
280 pub fn source_custom_db_engine_version_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
281 self.inner = self.inner.source_custom_db_engine_version_identifier(input.into());
282 self
283 }
284 /// <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>
285 pub fn set_source_custom_db_engine_version_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
286 self.inner = self.inner.set_source_custom_db_engine_version_identifier(input);
287 self
288 }
289 /// <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>
290 pub fn get_source_custom_db_engine_version_identifier(&self) -> &::std::option::Option<::std::string::String> {
291 self.inner.get_source_custom_db_engine_version_identifier()
292 }
293 /// <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>
294 pub fn use_aws_provided_latest_image(mut self, input: bool) -> Self {
295 self.inner = self.inner.use_aws_provided_latest_image(input);
296 self
297 }
298 /// <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>
299 pub fn set_use_aws_provided_latest_image(mut self, input: ::std::option::Option<bool>) -> Self {
300 self.inner = self.inner.set_use_aws_provided_latest_image(input);
301 self
302 }
303 /// <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>
304 pub fn get_use_aws_provided_latest_image(&self) -> &::std::option::Option<bool> {
305 self.inner.get_use_aws_provided_latest_image()
306 }
307 /// <p>An optional description of your CEV.</p>
308 pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
309 self.inner = self.inner.description(input.into());
310 self
311 }
312 /// <p>An optional description of your CEV.</p>
313 pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
314 self.inner = self.inner.set_description(input);
315 self
316 }
317 /// <p>An optional description of your CEV.</p>
318 pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
319 self.inner.get_description()
320 }
321 /// <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>
322 /// <p>The following JSON fields are valid:</p>
323 /// <dl>
324 /// <dt>
325 /// MediaImportTemplateVersion
326 /// </dt>
327 /// <dd>
328 /// <p>Version of the CEV manifest. The date is in the format <code>YYYY-MM-DD</code>.</p>
329 /// </dd>
330 /// <dt>
331 /// databaseInstallationFileNames
332 /// </dt>
333 /// <dd>
334 /// <p>Ordered list of installation files for the CEV.</p>
335 /// </dd>
336 /// <dt>
337 /// opatchFileNames
338 /// </dt>
339 /// <dd>
340 /// <p>Ordered list of OPatch installers used for the Oracle DB engine.</p>
341 /// </dd>
342 /// <dt>
343 /// psuRuPatchFileNames
344 /// </dt>
345 /// <dd>
346 /// <p>The PSU and RU patches for this CEV.</p>
347 /// </dd>
348 /// <dt>
349 /// OtherPatchFileNames
350 /// </dt>
351 /// <dd>
352 /// <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>
353 /// </dd>
354 /// </dl>
355 /// <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>
356 pub fn manifest(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
357 self.inner = self.inner.manifest(input.into());
358 self
359 }
360 /// <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>
361 /// <p>The following JSON fields are valid:</p>
362 /// <dl>
363 /// <dt>
364 /// MediaImportTemplateVersion
365 /// </dt>
366 /// <dd>
367 /// <p>Version of the CEV manifest. The date is in the format <code>YYYY-MM-DD</code>.</p>
368 /// </dd>
369 /// <dt>
370 /// databaseInstallationFileNames
371 /// </dt>
372 /// <dd>
373 /// <p>Ordered list of installation files for the CEV.</p>
374 /// </dd>
375 /// <dt>
376 /// opatchFileNames
377 /// </dt>
378 /// <dd>
379 /// <p>Ordered list of OPatch installers used for the Oracle DB engine.</p>
380 /// </dd>
381 /// <dt>
382 /// psuRuPatchFileNames
383 /// </dt>
384 /// <dd>
385 /// <p>The PSU and RU patches for this CEV.</p>
386 /// </dd>
387 /// <dt>
388 /// OtherPatchFileNames
389 /// </dt>
390 /// <dd>
391 /// <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>
392 /// </dd>
393 /// </dl>
394 /// <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>
395 pub fn set_manifest(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
396 self.inner = self.inner.set_manifest(input);
397 self
398 }
399 /// <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>
400 /// <p>The following JSON fields are valid:</p>
401 /// <dl>
402 /// <dt>
403 /// MediaImportTemplateVersion
404 /// </dt>
405 /// <dd>
406 /// <p>Version of the CEV manifest. The date is in the format <code>YYYY-MM-DD</code>.</p>
407 /// </dd>
408 /// <dt>
409 /// databaseInstallationFileNames
410 /// </dt>
411 /// <dd>
412 /// <p>Ordered list of installation files for the CEV.</p>
413 /// </dd>
414 /// <dt>
415 /// opatchFileNames
416 /// </dt>
417 /// <dd>
418 /// <p>Ordered list of OPatch installers used for the Oracle DB engine.</p>
419 /// </dd>
420 /// <dt>
421 /// psuRuPatchFileNames
422 /// </dt>
423 /// <dd>
424 /// <p>The PSU and RU patches for this CEV.</p>
425 /// </dd>
426 /// <dt>
427 /// OtherPatchFileNames
428 /// </dt>
429 /// <dd>
430 /// <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>
431 /// </dd>
432 /// </dl>
433 /// <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>
434 pub fn get_manifest(&self) -> &::std::option::Option<::std::string::String> {
435 self.inner.get_manifest()
436 }
437 ///
438 /// Appends an item to `Tags`.
439 ///
440 /// To override the contents of this collection use [`set_tags`](Self::set_tags).
441 ///
442 /// <p>A list of tags.</p>
443 /// <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>
444 pub fn tags(mut self, input: crate::types::Tag) -> Self {
445 self.inner = self.inner.tags(input);
446 self
447 }
448 /// <p>A list of tags.</p>
449 /// <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>
450 pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>) -> Self {
451 self.inner = self.inner.set_tags(input);
452 self
453 }
454 /// <p>A list of tags.</p>
455 /// <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>
456 pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Tag>> {
457 self.inner.get_tags()
458 }
459 ///
460 /// Appends an item to `DatabaseInstallationFiles`.
461 ///
462 /// To override the contents of this collection use [`set_database_installation_files`](Self::set_database_installation_files).
463 ///
464 /// <p>The database installation files (ISO and EXE) uploaded to Amazon S3 for your database engine version to import to Amazon RDS.</p>
465 pub fn database_installation_files(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
466 self.inner = self.inner.database_installation_files(input.into());
467 self
468 }
469 /// <p>The database installation files (ISO and EXE) uploaded to Amazon S3 for your database engine version to import to Amazon RDS.</p>
470 pub fn set_database_installation_files(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
471 self.inner = self.inner.set_database_installation_files(input);
472 self
473 }
474 /// <p>The database installation files (ISO and EXE) uploaded to Amazon S3 for your database engine version to import to Amazon RDS.</p>
475 pub fn get_database_installation_files(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
476 self.inner.get_database_installation_files()
477 }
478}