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