aws_sdk_databasemigration/operation/create_endpoint/builders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::create_endpoint::_create_endpoint_output::CreateEndpointOutputBuilder;
3
4pub use crate::operation::create_endpoint::_create_endpoint_input::CreateEndpointInputBuilder;
5
6impl crate::operation::create_endpoint::builders::CreateEndpointInputBuilder {
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_endpoint::CreateEndpointOutput,
13 ::aws_smithy_runtime_api::client::result::SdkError<
14 crate::operation::create_endpoint::CreateEndpointError,
15 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16 >,
17 > {
18 let mut fluent_builder = client.create_endpoint();
19 fluent_builder.inner = self;
20 fluent_builder.send().await
21 }
22}
23/// Fluent builder constructing a request to `CreateEndpoint`.
24///
25/// <p>Creates an endpoint using the provided settings.</p><note>
26/// <p>For a MySQL source or target endpoint, don't explicitly specify the database using the <code>DatabaseName</code> request parameter on the <code>CreateEndpoint</code> API call. Specifying <code>DatabaseName</code> when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.</p>
27/// </note>
28#[derive(::std::clone::Clone, ::std::fmt::Debug)]
29pub struct CreateEndpointFluentBuilder {
30 handle: ::std::sync::Arc<crate::client::Handle>,
31 inner: crate::operation::create_endpoint::builders::CreateEndpointInputBuilder,
32 config_override: ::std::option::Option<crate::config::Builder>,
33}
34impl
35 crate::client::customize::internal::CustomizableSend<
36 crate::operation::create_endpoint::CreateEndpointOutput,
37 crate::operation::create_endpoint::CreateEndpointError,
38 > for CreateEndpointFluentBuilder
39{
40 fn send(
41 self,
42 config_override: crate::config::Builder,
43 ) -> crate::client::customize::internal::BoxFuture<
44 crate::client::customize::internal::SendResult<
45 crate::operation::create_endpoint::CreateEndpointOutput,
46 crate::operation::create_endpoint::CreateEndpointError,
47 >,
48 > {
49 ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
50 }
51}
52impl CreateEndpointFluentBuilder {
53 /// Creates a new `CreateEndpointFluentBuilder`.
54 pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
55 Self {
56 handle,
57 inner: ::std::default::Default::default(),
58 config_override: ::std::option::Option::None,
59 }
60 }
61 /// Access the CreateEndpoint as a reference.
62 pub fn as_input(&self) -> &crate::operation::create_endpoint::builders::CreateEndpointInputBuilder {
63 &self.inner
64 }
65 /// Sends the request and returns the response.
66 ///
67 /// If an error occurs, an `SdkError` will be returned with additional details that
68 /// can be matched against.
69 ///
70 /// By default, any retryable failures will be retried twice. Retry behavior
71 /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
72 /// set when configuring the client.
73 pub async fn send(
74 self,
75 ) -> ::std::result::Result<
76 crate::operation::create_endpoint::CreateEndpointOutput,
77 ::aws_smithy_runtime_api::client::result::SdkError<
78 crate::operation::create_endpoint::CreateEndpointError,
79 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
80 >,
81 > {
82 let input = self
83 .inner
84 .build()
85 .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
86 let runtime_plugins = crate::operation::create_endpoint::CreateEndpoint::operation_runtime_plugins(
87 self.handle.runtime_plugins.clone(),
88 &self.handle.conf,
89 self.config_override,
90 );
91 crate::operation::create_endpoint::CreateEndpoint::orchestrate(&runtime_plugins, input).await
92 }
93
94 /// Consumes this builder, creating a customizable operation that can be modified before being sent.
95 pub fn customize(
96 self,
97 ) -> crate::client::customize::CustomizableOperation<
98 crate::operation::create_endpoint::CreateEndpointOutput,
99 crate::operation::create_endpoint::CreateEndpointError,
100 Self,
101 > {
102 crate::client::customize::CustomizableOperation::new(self)
103 }
104 pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
105 self.set_config_override(::std::option::Option::Some(config_override.into()));
106 self
107 }
108
109 pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
110 self.config_override = config_override;
111 self
112 }
113 /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.</p>
114 pub fn endpoint_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
115 self.inner = self.inner.endpoint_identifier(input.into());
116 self
117 }
118 /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.</p>
119 pub fn set_endpoint_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
120 self.inner = self.inner.set_endpoint_identifier(input);
121 self
122 }
123 /// <p>The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.</p>
124 pub fn get_endpoint_identifier(&self) -> &::std::option::Option<::std::string::String> {
125 self.inner.get_endpoint_identifier()
126 }
127 /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
128 pub fn endpoint_type(mut self, input: crate::types::ReplicationEndpointTypeValue) -> Self {
129 self.inner = self.inner.endpoint_type(input);
130 self
131 }
132 /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
133 pub fn set_endpoint_type(mut self, input: ::std::option::Option<crate::types::ReplicationEndpointTypeValue>) -> Self {
134 self.inner = self.inner.set_endpoint_type(input);
135 self
136 }
137 /// <p>The type of endpoint. Valid values are <code>source</code> and <code>target</code>.</p>
138 pub fn get_endpoint_type(&self) -> &::std::option::Option<crate::types::ReplicationEndpointTypeValue> {
139 self.inner.get_endpoint_type()
140 }
141 /// <p>The type of engine for the endpoint. Valid values, depending on the <code>EndpointType</code> value, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"opensearch"</code>, <code>"redshift"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"docdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, <code>"babelfish"</code>, <code>redshift-serverless</code>, <code>aurora-serverless</code>, <code>aurora-postgresql-serverless</code>, <code>gcp-mysql</code>, <code>azure-sql-managed-instance</code>, <code>redis</code>, <code>dms-transfer</code>.</p>
142 pub fn engine_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
143 self.inner = self.inner.engine_name(input.into());
144 self
145 }
146 /// <p>The type of engine for the endpoint. Valid values, depending on the <code>EndpointType</code> value, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"opensearch"</code>, <code>"redshift"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"docdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, <code>"babelfish"</code>, <code>redshift-serverless</code>, <code>aurora-serverless</code>, <code>aurora-postgresql-serverless</code>, <code>gcp-mysql</code>, <code>azure-sql-managed-instance</code>, <code>redis</code>, <code>dms-transfer</code>.</p>
147 pub fn set_engine_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
148 self.inner = self.inner.set_engine_name(input);
149 self
150 }
151 /// <p>The type of engine for the endpoint. Valid values, depending on the <code>EndpointType</code> value, include <code>"mysql"</code>, <code>"oracle"</code>, <code>"postgres"</code>, <code>"mariadb"</code>, <code>"aurora"</code>, <code>"aurora-postgresql"</code>, <code>"opensearch"</code>, <code>"redshift"</code>, <code>"s3"</code>, <code>"db2"</code>, <code>"db2-zos"</code>, <code>"azuredb"</code>, <code>"sybase"</code>, <code>"dynamodb"</code>, <code>"mongodb"</code>, <code>"kinesis"</code>, <code>"kafka"</code>, <code>"elasticsearch"</code>, <code>"docdb"</code>, <code>"sqlserver"</code>, <code>"neptune"</code>, <code>"babelfish"</code>, <code>redshift-serverless</code>, <code>aurora-serverless</code>, <code>aurora-postgresql-serverless</code>, <code>gcp-mysql</code>, <code>azure-sql-managed-instance</code>, <code>redis</code>, <code>dms-transfer</code>.</p>
152 pub fn get_engine_name(&self) -> &::std::option::Option<::std::string::String> {
153 self.inner.get_engine_name()
154 }
155 /// <p>The user name to be used to log in to the endpoint database.</p>
156 pub fn username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
157 self.inner = self.inner.username(input.into());
158 self
159 }
160 /// <p>The user name to be used to log in to the endpoint database.</p>
161 pub fn set_username(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
162 self.inner = self.inner.set_username(input);
163 self
164 }
165 /// <p>The user name to be used to log in to the endpoint database.</p>
166 pub fn get_username(&self) -> &::std::option::Option<::std::string::String> {
167 self.inner.get_username()
168 }
169 /// <p>The password to be used to log in to the endpoint database.</p>
170 pub fn password(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
171 self.inner = self.inner.password(input.into());
172 self
173 }
174 /// <p>The password to be used to log in to the endpoint database.</p>
175 pub fn set_password(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
176 self.inner = self.inner.set_password(input);
177 self
178 }
179 /// <p>The password to be used to log in to the endpoint database.</p>
180 pub fn get_password(&self) -> &::std::option::Option<::std::string::String> {
181 self.inner.get_password()
182 }
183 /// <p>The name of the server where the endpoint database resides.</p>
184 pub fn server_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
185 self.inner = self.inner.server_name(input.into());
186 self
187 }
188 /// <p>The name of the server where the endpoint database resides.</p>
189 pub fn set_server_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
190 self.inner = self.inner.set_server_name(input);
191 self
192 }
193 /// <p>The name of the server where the endpoint database resides.</p>
194 pub fn get_server_name(&self) -> &::std::option::Option<::std::string::String> {
195 self.inner.get_server_name()
196 }
197 /// <p>The port used by the endpoint database.</p>
198 pub fn port(mut self, input: i32) -> Self {
199 self.inner = self.inner.port(input);
200 self
201 }
202 /// <p>The port used by the endpoint database.</p>
203 pub fn set_port(mut self, input: ::std::option::Option<i32>) -> Self {
204 self.inner = self.inner.set_port(input);
205 self
206 }
207 /// <p>The port used by the endpoint database.</p>
208 pub fn get_port(&self) -> &::std::option::Option<i32> {
209 self.inner.get_port()
210 }
211 /// <p>The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate to a specific database, use this setting and <code>targetDbType</code>.</p>
212 pub fn database_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
213 self.inner = self.inner.database_name(input.into());
214 self
215 }
216 /// <p>The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate to a specific database, use this setting and <code>targetDbType</code>.</p>
217 pub fn set_database_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
218 self.inner = self.inner.set_database_name(input);
219 self
220 }
221 /// <p>The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate to a specific database, use this setting and <code>targetDbType</code>.</p>
222 pub fn get_database_name(&self) -> &::std::option::Option<::std::string::String> {
223 self.inner.get_database_name()
224 }
225 /// <p>Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html">Working with DMS Endpoints</a> in the <i>Database Migration Service User Guide.</i></p>
226 pub fn extra_connection_attributes(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
227 self.inner = self.inner.extra_connection_attributes(input.into());
228 self
229 }
230 /// <p>Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html">Working with DMS Endpoints</a> in the <i>Database Migration Service User Guide.</i></p>
231 pub fn set_extra_connection_attributes(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
232 self.inner = self.inner.set_extra_connection_attributes(input);
233 self
234 }
235 /// <p>Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html">Working with DMS Endpoints</a> in the <i>Database Migration Service User Guide.</i></p>
236 pub fn get_extra_connection_attributes(&self) -> &::std::option::Option<::std::string::String> {
237 self.inner.get_extra_connection_attributes()
238 }
239 /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
240 /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
241 /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
242 pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
243 self.inner = self.inner.kms_key_id(input.into());
244 self
245 }
246 /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
247 /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
248 /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
249 pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
250 self.inner = self.inner.set_kms_key_id(input);
251 self
252 }
253 /// <p>An KMS key identifier that is used to encrypt the connection parameters for the endpoint.</p>
254 /// <p>If you don't specify a value for the <code>KmsKeyId</code> parameter, then DMS uses your default encryption key.</p>
255 /// <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p>
256 pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
257 self.inner.get_kms_key_id()
258 }
259 ///
260 /// Appends an item to `Tags`.
261 ///
262 /// To override the contents of this collection use [`set_tags`](Self::set_tags).
263 ///
264 /// <p>One or more tags to be assigned to the endpoint.</p>
265 pub fn tags(mut self, input: crate::types::Tag) -> Self {
266 self.inner = self.inner.tags(input);
267 self
268 }
269 /// <p>One or more tags to be assigned to the endpoint.</p>
270 pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>) -> Self {
271 self.inner = self.inner.set_tags(input);
272 self
273 }
274 /// <p>One or more tags to be assigned to the endpoint.</p>
275 pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Tag>> {
276 self.inner.get_tags()
277 }
278 /// <p>The Amazon Resource Name (ARN) for the certificate.</p>
279 pub fn certificate_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
280 self.inner = self.inner.certificate_arn(input.into());
281 self
282 }
283 /// <p>The Amazon Resource Name (ARN) for the certificate.</p>
284 pub fn set_certificate_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
285 self.inner = self.inner.set_certificate_arn(input);
286 self
287 }
288 /// <p>The Amazon Resource Name (ARN) for the certificate.</p>
289 pub fn get_certificate_arn(&self) -> &::std::option::Option<::std::string::String> {
290 self.inner.get_certificate_arn()
291 }
292 /// <p>The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is <code>none</code></p>
293 pub fn ssl_mode(mut self, input: crate::types::DmsSslModeValue) -> Self {
294 self.inner = self.inner.ssl_mode(input);
295 self
296 }
297 /// <p>The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is <code>none</code></p>
298 pub fn set_ssl_mode(mut self, input: ::std::option::Option<crate::types::DmsSslModeValue>) -> Self {
299 self.inner = self.inner.set_ssl_mode(input);
300 self
301 }
302 /// <p>The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is <code>none</code></p>
303 pub fn get_ssl_mode(&self) -> &::std::option::Option<crate::types::DmsSslModeValue> {
304 self.inner.get_ssl_mode()
305 }
306 /// <p>The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint. The role must allow the <code>iam:PassRole</code> action.</p>
307 pub fn service_access_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
308 self.inner = self.inner.service_access_role_arn(input.into());
309 self
310 }
311 /// <p>The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint. The role must allow the <code>iam:PassRole</code> action.</p>
312 pub fn set_service_access_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
313 self.inner = self.inner.set_service_access_role_arn(input);
314 self
315 }
316 /// <p>The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint. The role must allow the <code>iam:PassRole</code> action.</p>
317 pub fn get_service_access_role_arn(&self) -> &::std::option::Option<::std::string::String> {
318 self.inner.get_service_access_role_arn()
319 }
320 /// <p>The external table definition.</p>
321 pub fn external_table_definition(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
322 self.inner = self.inner.external_table_definition(input.into());
323 self
324 }
325 /// <p>The external table definition.</p>
326 pub fn set_external_table_definition(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
327 self.inner = self.inner.set_external_table_definition(input);
328 self
329 }
330 /// <p>The external table definition.</p>
331 pub fn get_external_table_definition(&self) -> &::std::option::Option<::std::string::String> {
332 self.inner.get_external_table_definition()
333 }
334 /// <p>Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html#CHAP_Target.DynamoDB.ObjectMapping">Using Object Mapping to Migrate Data to DynamoDB</a> in the <i>Database Migration Service User Guide.</i></p>
335 pub fn dynamo_db_settings(mut self, input: crate::types::DynamoDbSettings) -> Self {
336 self.inner = self.inner.dynamo_db_settings(input);
337 self
338 }
339 /// <p>Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html#CHAP_Target.DynamoDB.ObjectMapping">Using Object Mapping to Migrate Data to DynamoDB</a> in the <i>Database Migration Service User Guide.</i></p>
340 pub fn set_dynamo_db_settings(mut self, input: ::std::option::Option<crate::types::DynamoDbSettings>) -> Self {
341 self.inner = self.inner.set_dynamo_db_settings(input);
342 self
343 }
344 /// <p>Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html#CHAP_Target.DynamoDB.ObjectMapping">Using Object Mapping to Migrate Data to DynamoDB</a> in the <i>Database Migration Service User Guide.</i></p>
345 pub fn get_dynamo_db_settings(&self) -> &::std::option::Option<crate::types::DynamoDbSettings> {
346 self.inner.get_dynamo_db_settings()
347 }
348 /// <p>Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring">Extra Connection Attributes When Using Amazon S3 as a Target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
349 pub fn s3_settings(mut self, input: crate::types::S3Settings) -> Self {
350 self.inner = self.inner.s3_settings(input);
351 self
352 }
353 /// <p>Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring">Extra Connection Attributes When Using Amazon S3 as a Target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
354 pub fn set_s3_settings(mut self, input: ::std::option::Option<crate::types::S3Settings>) -> Self {
355 self.inner = self.inner.set_s3_settings(input);
356 self
357 }
358 /// <p>Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring">Extra Connection Attributes When Using Amazon S3 as a Target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
359 pub fn get_s3_settings(&self) -> &::std::option::Option<crate::types::S3Settings> {
360 self.inner.get_s3_settings()
361 }
362 /// <p>The settings in JSON format for the DMS transfer type of source endpoint.</p>
363 /// <p>Possible settings include the following:</p>
364 /// <ul>
365 /// <li>
366 /// <p><code>ServiceAccessRoleArn</code> - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p></li>
367 /// <li>
368 /// <p><code>BucketName</code> - The name of the S3 bucket to use.</p></li>
369 /// </ul>
370 /// <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string</code></p>
371 /// <p>JSON syntax for these settings is as follows: <code>{ "ServiceAccessRoleArn": "string", "BucketName": "string", } </code></p>
372 pub fn dms_transfer_settings(mut self, input: crate::types::DmsTransferSettings) -> Self {
373 self.inner = self.inner.dms_transfer_settings(input);
374 self
375 }
376 /// <p>The settings in JSON format for the DMS transfer type of source endpoint.</p>
377 /// <p>Possible settings include the following:</p>
378 /// <ul>
379 /// <li>
380 /// <p><code>ServiceAccessRoleArn</code> - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p></li>
381 /// <li>
382 /// <p><code>BucketName</code> - The name of the S3 bucket to use.</p></li>
383 /// </ul>
384 /// <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string</code></p>
385 /// <p>JSON syntax for these settings is as follows: <code>{ "ServiceAccessRoleArn": "string", "BucketName": "string", } </code></p>
386 pub fn set_dms_transfer_settings(mut self, input: ::std::option::Option<crate::types::DmsTransferSettings>) -> Self {
387 self.inner = self.inner.set_dms_transfer_settings(input);
388 self
389 }
390 /// <p>The settings in JSON format for the DMS transfer type of source endpoint.</p>
391 /// <p>Possible settings include the following:</p>
392 /// <ul>
393 /// <li>
394 /// <p><code>ServiceAccessRoleArn</code> - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p></li>
395 /// <li>
396 /// <p><code>BucketName</code> - The name of the S3 bucket to use.</p></li>
397 /// </ul>
398 /// <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string</code></p>
399 /// <p>JSON syntax for these settings is as follows: <code>{ "ServiceAccessRoleArn": "string", "BucketName": "string", } </code></p>
400 pub fn get_dms_transfer_settings(&self) -> &::std::option::Option<crate::types::DmsTransferSettings> {
401 self.inner.get_dms_transfer_settings()
402 }
403 /// <p>Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#CHAP_Source.MongoDB.Configuration">Endpoint configuration settings when using MongoDB as a source for Database Migration Service</a> in the <i>Database Migration Service User Guide.</i></p>
404 pub fn mongo_db_settings(mut self, input: crate::types::MongoDbSettings) -> Self {
405 self.inner = self.inner.mongo_db_settings(input);
406 self
407 }
408 /// <p>Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#CHAP_Source.MongoDB.Configuration">Endpoint configuration settings when using MongoDB as a source for Database Migration Service</a> in the <i>Database Migration Service User Guide.</i></p>
409 pub fn set_mongo_db_settings(mut self, input: ::std::option::Option<crate::types::MongoDbSettings>) -> Self {
410 self.inner = self.inner.set_mongo_db_settings(input);
411 self
412 }
413 /// <p>Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#CHAP_Source.MongoDB.Configuration">Endpoint configuration settings when using MongoDB as a source for Database Migration Service</a> in the <i>Database Migration Service User Guide.</i></p>
414 pub fn get_mongo_db_settings(&self) -> &::std::option::Option<crate::types::MongoDbSettings> {
415 self.inner.get_mongo_db_settings()
416 }
417 /// <p>Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping">Using object mapping to migrate data to a Kinesis data stream</a> in the <i>Database Migration Service User Guide.</i></p>
418 pub fn kinesis_settings(mut self, input: crate::types::KinesisSettings) -> Self {
419 self.inner = self.inner.kinesis_settings(input);
420 self
421 }
422 /// <p>Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping">Using object mapping to migrate data to a Kinesis data stream</a> in the <i>Database Migration Service User Guide.</i></p>
423 pub fn set_kinesis_settings(mut self, input: ::std::option::Option<crate::types::KinesisSettings>) -> Self {
424 self.inner = self.inner.set_kinesis_settings(input);
425 self
426 }
427 /// <p>Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping">Using object mapping to migrate data to a Kinesis data stream</a> in the <i>Database Migration Service User Guide.</i></p>
428 pub fn get_kinesis_settings(&self) -> &::std::option::Option<crate::types::KinesisSettings> {
429 self.inner.get_kinesis_settings()
430 }
431 /// <p>Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kafka.html#CHAP_Target.Kafka.ObjectMapping">Using object mapping to migrate data to a Kafka topic</a> in the <i>Database Migration Service User Guide.</i></p>
432 pub fn kafka_settings(mut self, input: crate::types::KafkaSettings) -> Self {
433 self.inner = self.inner.kafka_settings(input);
434 self
435 }
436 /// <p>Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kafka.html#CHAP_Target.Kafka.ObjectMapping">Using object mapping to migrate data to a Kafka topic</a> in the <i>Database Migration Service User Guide.</i></p>
437 pub fn set_kafka_settings(mut self, input: ::std::option::Option<crate::types::KafkaSettings>) -> Self {
438 self.inner = self.inner.set_kafka_settings(input);
439 self
440 }
441 /// <p>Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kafka.html#CHAP_Target.Kafka.ObjectMapping">Using object mapping to migrate data to a Kafka topic</a> in the <i>Database Migration Service User Guide.</i></p>
442 pub fn get_kafka_settings(&self) -> &::std::option::Option<crate::types::KafkaSettings> {
443 self.inner.get_kafka_settings()
444 }
445 /// <p>Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration">Extra Connection Attributes When Using OpenSearch as a Target for DMS</a> in the <i>Database Migration Service User Guide</i>.</p>
446 pub fn elasticsearch_settings(mut self, input: crate::types::ElasticsearchSettings) -> Self {
447 self.inner = self.inner.elasticsearch_settings(input);
448 self
449 }
450 /// <p>Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration">Extra Connection Attributes When Using OpenSearch as a Target for DMS</a> in the <i>Database Migration Service User Guide</i>.</p>
451 pub fn set_elasticsearch_settings(mut self, input: ::std::option::Option<crate::types::ElasticsearchSettings>) -> Self {
452 self.inner = self.inner.set_elasticsearch_settings(input);
453 self
454 }
455 /// <p>Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration">Extra Connection Attributes When Using OpenSearch as a Target for DMS</a> in the <i>Database Migration Service User Guide</i>.</p>
456 pub fn get_elasticsearch_settings(&self) -> &::std::option::Option<crate::types::ElasticsearchSettings> {
457 self.inner.get_elasticsearch_settings()
458 }
459 /// <p>Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Neptune.html#CHAP_Target.Neptune.EndpointSettings">Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target</a> in the <i>Database Migration Service User Guide.</i></p>
460 pub fn neptune_settings(mut self, input: crate::types::NeptuneSettings) -> Self {
461 self.inner = self.inner.neptune_settings(input);
462 self
463 }
464 /// <p>Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Neptune.html#CHAP_Target.Neptune.EndpointSettings">Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target</a> in the <i>Database Migration Service User Guide.</i></p>
465 pub fn set_neptune_settings(mut self, input: ::std::option::Option<crate::types::NeptuneSettings>) -> Self {
466 self.inner = self.inner.set_neptune_settings(input);
467 self
468 }
469 /// <p>Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Neptune.html#CHAP_Target.Neptune.EndpointSettings">Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target</a> in the <i>Database Migration Service User Guide.</i></p>
470 pub fn get_neptune_settings(&self) -> &::std::option::Option<crate::types::NeptuneSettings> {
471 self.inner.get_neptune_settings()
472 }
473 /// <p>Provides information that defines an Amazon Redshift endpoint.</p>
474 pub fn redshift_settings(mut self, input: crate::types::RedshiftSettings) -> Self {
475 self.inner = self.inner.redshift_settings(input);
476 self
477 }
478 /// <p>Provides information that defines an Amazon Redshift endpoint.</p>
479 pub fn set_redshift_settings(mut self, input: ::std::option::Option<crate::types::RedshiftSettings>) -> Self {
480 self.inner = self.inner.set_redshift_settings(input);
481 self
482 }
483 /// <p>Provides information that defines an Amazon Redshift endpoint.</p>
484 pub fn get_redshift_settings(&self) -> &::std::option::Option<crate::types::RedshiftSettings> {
485 self.inner.get_redshift_settings()
486 }
487 /// <p>Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib">Extra connection attributes when using PostgreSQL as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html#CHAP_Target.PostgreSQL.ConnectionAttrib"> Extra connection attributes when using PostgreSQL as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
488 pub fn postgre_sql_settings(mut self, input: crate::types::PostgreSqlSettings) -> Self {
489 self.inner = self.inner.postgre_sql_settings(input);
490 self
491 }
492 /// <p>Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib">Extra connection attributes when using PostgreSQL as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html#CHAP_Target.PostgreSQL.ConnectionAttrib"> Extra connection attributes when using PostgreSQL as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
493 pub fn set_postgre_sql_settings(mut self, input: ::std::option::Option<crate::types::PostgreSqlSettings>) -> Self {
494 self.inner = self.inner.set_postgre_sql_settings(input);
495 self
496 }
497 /// <p>Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib">Extra connection attributes when using PostgreSQL as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html#CHAP_Target.PostgreSQL.ConnectionAttrib"> Extra connection attributes when using PostgreSQL as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
498 pub fn get_postgre_sql_settings(&self) -> &::std::option::Option<crate::types::PostgreSqlSettings> {
499 self.inner.get_postgre_sql_settings()
500 }
501 /// <p>Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib">Extra connection attributes when using MySQL as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib">Extra connection attributes when using a MySQL-compatible database as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
502 pub fn my_sql_settings(mut self, input: crate::types::MySqlSettings) -> Self {
503 self.inner = self.inner.my_sql_settings(input);
504 self
505 }
506 /// <p>Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib">Extra connection attributes when using MySQL as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib">Extra connection attributes when using a MySQL-compatible database as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
507 pub fn set_my_sql_settings(mut self, input: ::std::option::Option<crate::types::MySqlSettings>) -> Self {
508 self.inner = self.inner.set_my_sql_settings(input);
509 self
510 }
511 /// <p>Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib">Extra connection attributes when using MySQL as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib">Extra connection attributes when using a MySQL-compatible database as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
512 pub fn get_my_sql_settings(&self) -> &::std::option::Option<crate::types::MySqlSettings> {
513 self.inner.get_my_sql_settings()
514 }
515 /// <p>Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.ConnectionAttrib">Extra connection attributes when using Oracle as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html#CHAP_Target.Oracle.ConnectionAttrib"> Extra connection attributes when using Oracle as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
516 pub fn oracle_settings(mut self, input: crate::types::OracleSettings) -> Self {
517 self.inner = self.inner.oracle_settings(input);
518 self
519 }
520 /// <p>Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.ConnectionAttrib">Extra connection attributes when using Oracle as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html#CHAP_Target.Oracle.ConnectionAttrib"> Extra connection attributes when using Oracle as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
521 pub fn set_oracle_settings(mut self, input: ::std::option::Option<crate::types::OracleSettings>) -> Self {
522 self.inner = self.inner.set_oracle_settings(input);
523 self
524 }
525 /// <p>Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.ConnectionAttrib">Extra connection attributes when using Oracle as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html#CHAP_Target.Oracle.ConnectionAttrib"> Extra connection attributes when using Oracle as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
526 pub fn get_oracle_settings(&self) -> &::std::option::Option<crate::types::OracleSettings> {
527 self.inner.get_oracle_settings()
528 }
529 /// <p>Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html#CHAP_Source.SAP.ConnectionAttrib">Extra connection attributes when using SAP ASE as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html#CHAP_Target.SAP.ConnectionAttrib">Extra connection attributes when using SAP ASE as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
530 pub fn sybase_settings(mut self, input: crate::types::SybaseSettings) -> Self {
531 self.inner = self.inner.sybase_settings(input);
532 self
533 }
534 /// <p>Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html#CHAP_Source.SAP.ConnectionAttrib">Extra connection attributes when using SAP ASE as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html#CHAP_Target.SAP.ConnectionAttrib">Extra connection attributes when using SAP ASE as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
535 pub fn set_sybase_settings(mut self, input: ::std::option::Option<crate::types::SybaseSettings>) -> Self {
536 self.inner = self.inner.set_sybase_settings(input);
537 self
538 }
539 /// <p>Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html#CHAP_Source.SAP.ConnectionAttrib">Extra connection attributes when using SAP ASE as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html#CHAP_Target.SAP.ConnectionAttrib">Extra connection attributes when using SAP ASE as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
540 pub fn get_sybase_settings(&self) -> &::std::option::Option<crate::types::SybaseSettings> {
541 self.inner.get_sybase_settings()
542 }
543 /// <p>Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.ConnectionAttrib">Extra connection attributes when using SQL Server as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html#CHAP_Target.SQLServer.ConnectionAttrib"> Extra connection attributes when using SQL Server as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
544 pub fn microsoft_sql_server_settings(mut self, input: crate::types::MicrosoftSqlServerSettings) -> Self {
545 self.inner = self.inner.microsoft_sql_server_settings(input);
546 self
547 }
548 /// <p>Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.ConnectionAttrib">Extra connection attributes when using SQL Server as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html#CHAP_Target.SQLServer.ConnectionAttrib"> Extra connection attributes when using SQL Server as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
549 pub fn set_microsoft_sql_server_settings(mut self, input: ::std::option::Option<crate::types::MicrosoftSqlServerSettings>) -> Self {
550 self.inner = self.inner.set_microsoft_sql_server_settings(input);
551 self
552 }
553 /// <p>Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.ConnectionAttrib">Extra connection attributes when using SQL Server as a source for DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html#CHAP_Target.SQLServer.ConnectionAttrib"> Extra connection attributes when using SQL Server as a target for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
554 pub fn get_microsoft_sql_server_settings(&self) -> &::std::option::Option<crate::types::MicrosoftSqlServerSettings> {
555 self.inner.get_microsoft_sql_server_settings()
556 }
557 /// <p>Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html#CHAP_Source.DB2.ConnectionAttrib">Extra connection attributes when using Db2 LUW as a source for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
558 pub fn ibm_db2_settings(mut self, input: crate::types::IbmDb2Settings) -> Self {
559 self.inner = self.inner.ibm_db2_settings(input);
560 self
561 }
562 /// <p>Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html#CHAP_Source.DB2.ConnectionAttrib">Extra connection attributes when using Db2 LUW as a source for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
563 pub fn set_ibm_db2_settings(mut self, input: ::std::option::Option<crate::types::IbmDb2Settings>) -> Self {
564 self.inner = self.inner.set_ibm_db2_settings(input);
565 self
566 }
567 /// <p>Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html#CHAP_Source.DB2.ConnectionAttrib">Extra connection attributes when using Db2 LUW as a source for DMS</a> in the <i>Database Migration Service User Guide.</i></p>
568 pub fn get_ibm_db2_settings(&self) -> &::std::option::Option<crate::types::IbmDb2Settings> {
569 self.inner.get_ibm_db2_settings()
570 }
571 /// <p>A friendly name for the resource identifier at the end of the <code>EndpointArn</code> response parameter that is returned in the created <code>Endpoint</code> object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as <code>Example-App-ARN1</code>. For example, this value might result in the <code>EndpointArn</code> value <code>arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1</code>. If you don't specify a <code>ResourceIdentifier</code> value, DMS generates a default identifier value for the end of <code>EndpointArn</code>.</p>
572 pub fn resource_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
573 self.inner = self.inner.resource_identifier(input.into());
574 self
575 }
576 /// <p>A friendly name for the resource identifier at the end of the <code>EndpointArn</code> response parameter that is returned in the created <code>Endpoint</code> object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as <code>Example-App-ARN1</code>. For example, this value might result in the <code>EndpointArn</code> value <code>arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1</code>. If you don't specify a <code>ResourceIdentifier</code> value, DMS generates a default identifier value for the end of <code>EndpointArn</code>.</p>
577 pub fn set_resource_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
578 self.inner = self.inner.set_resource_identifier(input);
579 self
580 }
581 /// <p>A friendly name for the resource identifier at the end of the <code>EndpointArn</code> response parameter that is returned in the created <code>Endpoint</code> object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as <code>Example-App-ARN1</code>. For example, this value might result in the <code>EndpointArn</code> value <code>arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1</code>. If you don't specify a <code>ResourceIdentifier</code> value, DMS generates a default identifier value for the end of <code>EndpointArn</code>.</p>
582 pub fn get_resource_identifier(&self) -> &::std::option::Option<::std::string::String> {
583 self.inner.get_resource_identifier()
584 }
585 /// <p>Provides information that defines a DocumentDB endpoint.</p>
586 pub fn doc_db_settings(mut self, input: crate::types::DocDbSettings) -> Self {
587 self.inner = self.inner.doc_db_settings(input);
588 self
589 }
590 /// <p>Provides information that defines a DocumentDB endpoint.</p>
591 pub fn set_doc_db_settings(mut self, input: ::std::option::Option<crate::types::DocDbSettings>) -> Self {
592 self.inner = self.inner.set_doc_db_settings(input);
593 self
594 }
595 /// <p>Provides information that defines a DocumentDB endpoint.</p>
596 pub fn get_doc_db_settings(&self) -> &::std::option::Option<crate::types::DocDbSettings> {
597 self.inner.get_doc_db_settings()
598 }
599 /// <p>Settings in JSON format for the target Redis endpoint.</p>
600 pub fn redis_settings(mut self, input: crate::types::RedisSettings) -> Self {
601 self.inner = self.inner.redis_settings(input);
602 self
603 }
604 /// <p>Settings in JSON format for the target Redis endpoint.</p>
605 pub fn set_redis_settings(mut self, input: ::std::option::Option<crate::types::RedisSettings>) -> Self {
606 self.inner = self.inner.set_redis_settings(input);
607 self
608 }
609 /// <p>Settings in JSON format for the target Redis endpoint.</p>
610 pub fn get_redis_settings(&self) -> &::std::option::Option<crate::types::RedisSettings> {
611 self.inner.get_redis_settings()
612 }
613 /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
614 pub fn gcp_my_sql_settings(mut self, input: crate::types::GcpMySqlSettings) -> Self {
615 self.inner = self.inner.gcp_my_sql_settings(input);
616 self
617 }
618 /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
619 pub fn set_gcp_my_sql_settings(mut self, input: ::std::option::Option<crate::types::GcpMySqlSettings>) -> Self {
620 self.inner = self.inner.set_gcp_my_sql_settings(input);
621 self
622 }
623 /// <p>Settings in JSON format for the source GCP MySQL endpoint.</p>
624 pub fn get_gcp_my_sql_settings(&self) -> &::std::option::Option<crate::types::GcpMySqlSettings> {
625 self.inner.get_gcp_my_sql_settings()
626 }
627 /// <p>Settings in JSON format for the target Amazon Timestream endpoint.</p>
628 pub fn timestream_settings(mut self, input: crate::types::TimestreamSettings) -> Self {
629 self.inner = self.inner.timestream_settings(input);
630 self
631 }
632 /// <p>Settings in JSON format for the target Amazon Timestream endpoint.</p>
633 pub fn set_timestream_settings(mut self, input: ::std::option::Option<crate::types::TimestreamSettings>) -> Self {
634 self.inner = self.inner.set_timestream_settings(input);
635 self
636 }
637 /// <p>Settings in JSON format for the target Amazon Timestream endpoint.</p>
638 pub fn get_timestream_settings(&self) -> &::std::option::Option<crate::types::TimestreamSettings> {
639 self.inner.get_timestream_settings()
640 }
641}