aws_sdk_glue/operation/create_dev_endpoint/builders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::create_dev_endpoint::_create_dev_endpoint_output::CreateDevEndpointOutputBuilder;
3
4pub use crate::operation::create_dev_endpoint::_create_dev_endpoint_input::CreateDevEndpointInputBuilder;
5
6impl crate::operation::create_dev_endpoint::builders::CreateDevEndpointInputBuilder {
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_dev_endpoint::CreateDevEndpointOutput,
13 ::aws_smithy_runtime_api::client::result::SdkError<
14 crate::operation::create_dev_endpoint::CreateDevEndpointError,
15 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16 >,
17 > {
18 let mut fluent_builder = client.create_dev_endpoint();
19 fluent_builder.inner = self;
20 fluent_builder.send().await
21 }
22}
23/// Fluent builder constructing a request to `CreateDevEndpoint`.
24///
25/// <p>Creates a new development endpoint.</p>
26#[derive(::std::clone::Clone, ::std::fmt::Debug)]
27pub struct CreateDevEndpointFluentBuilder {
28 handle: ::std::sync::Arc<crate::client::Handle>,
29 inner: crate::operation::create_dev_endpoint::builders::CreateDevEndpointInputBuilder,
30 config_override: ::std::option::Option<crate::config::Builder>,
31}
32impl
33 crate::client::customize::internal::CustomizableSend<
34 crate::operation::create_dev_endpoint::CreateDevEndpointOutput,
35 crate::operation::create_dev_endpoint::CreateDevEndpointError,
36 > for CreateDevEndpointFluentBuilder
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_dev_endpoint::CreateDevEndpointOutput,
44 crate::operation::create_dev_endpoint::CreateDevEndpointError,
45 >,
46 > {
47 ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
48 }
49}
50impl CreateDevEndpointFluentBuilder {
51 /// Creates a new `CreateDevEndpointFluentBuilder`.
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 CreateDevEndpoint as a reference.
60 pub fn as_input(&self) -> &crate::operation::create_dev_endpoint::builders::CreateDevEndpointInputBuilder {
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_dev_endpoint::CreateDevEndpointOutput,
75 ::aws_smithy_runtime_api::client::result::SdkError<
76 crate::operation::create_dev_endpoint::CreateDevEndpointError,
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_dev_endpoint::CreateDevEndpoint::operation_runtime_plugins(
85 self.handle.runtime_plugins.clone(),
86 &self.handle.conf,
87 self.config_override,
88 );
89 crate::operation::create_dev_endpoint::CreateDevEndpoint::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_dev_endpoint::CreateDevEndpointOutput,
97 crate::operation::create_dev_endpoint::CreateDevEndpointError,
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 name to be assigned to the new <code>DevEndpoint</code>.</p>
112 pub fn endpoint_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
113 self.inner = self.inner.endpoint_name(input.into());
114 self
115 }
116 /// <p>The name to be assigned to the new <code>DevEndpoint</code>.</p>
117 pub fn set_endpoint_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
118 self.inner = self.inner.set_endpoint_name(input);
119 self
120 }
121 /// <p>The name to be assigned to the new <code>DevEndpoint</code>.</p>
122 pub fn get_endpoint_name(&self) -> &::std::option::Option<::std::string::String> {
123 self.inner.get_endpoint_name()
124 }
125 /// <p>The IAM role for the <code>DevEndpoint</code>.</p>
126 pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
127 self.inner = self.inner.role_arn(input.into());
128 self
129 }
130 /// <p>The IAM role for the <code>DevEndpoint</code>.</p>
131 pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
132 self.inner = self.inner.set_role_arn(input);
133 self
134 }
135 /// <p>The IAM role for the <code>DevEndpoint</code>.</p>
136 pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
137 self.inner.get_role_arn()
138 }
139 ///
140 /// Appends an item to `SecurityGroupIds`.
141 ///
142 /// To override the contents of this collection use [`set_security_group_ids`](Self::set_security_group_ids).
143 ///
144 /// <p>Security group IDs for the security groups to be used by the new <code>DevEndpoint</code>.</p>
145 pub fn security_group_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
146 self.inner = self.inner.security_group_ids(input.into());
147 self
148 }
149 /// <p>Security group IDs for the security groups to be used by the new <code>DevEndpoint</code>.</p>
150 pub fn set_security_group_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
151 self.inner = self.inner.set_security_group_ids(input);
152 self
153 }
154 /// <p>Security group IDs for the security groups to be used by the new <code>DevEndpoint</code>.</p>
155 pub fn get_security_group_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
156 self.inner.get_security_group_ids()
157 }
158 /// <p>The subnet ID for the new <code>DevEndpoint</code> to use.</p>
159 pub fn subnet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
160 self.inner = self.inner.subnet_id(input.into());
161 self
162 }
163 /// <p>The subnet ID for the new <code>DevEndpoint</code> to use.</p>
164 pub fn set_subnet_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
165 self.inner = self.inner.set_subnet_id(input);
166 self
167 }
168 /// <p>The subnet ID for the new <code>DevEndpoint</code> to use.</p>
169 pub fn get_subnet_id(&self) -> &::std::option::Option<::std::string::String> {
170 self.inner.get_subnet_id()
171 }
172 /// <p>The public key to be used by this <code>DevEndpoint</code> for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.</p>
173 pub fn public_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
174 self.inner = self.inner.public_key(input.into());
175 self
176 }
177 /// <p>The public key to be used by this <code>DevEndpoint</code> for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.</p>
178 pub fn set_public_key(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
179 self.inner = self.inner.set_public_key(input);
180 self
181 }
182 /// <p>The public key to be used by this <code>DevEndpoint</code> for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.</p>
183 pub fn get_public_key(&self) -> &::std::option::Option<::std::string::String> {
184 self.inner.get_public_key()
185 }
186 ///
187 /// Appends an item to `PublicKeys`.
188 ///
189 /// To override the contents of this collection use [`set_public_keys`](Self::set_public_keys).
190 ///
191 /// <p>A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.</p><note>
192 /// <p>If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the <code>UpdateDevEndpoint</code> API with the public key content in the <code>deletePublicKeys</code> attribute, and the list of new keys in the <code>addPublicKeys</code> attribute.</p>
193 /// </note>
194 pub fn public_keys(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
195 self.inner = self.inner.public_keys(input.into());
196 self
197 }
198 /// <p>A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.</p><note>
199 /// <p>If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the <code>UpdateDevEndpoint</code> API with the public key content in the <code>deletePublicKeys</code> attribute, and the list of new keys in the <code>addPublicKeys</code> attribute.</p>
200 /// </note>
201 pub fn set_public_keys(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
202 self.inner = self.inner.set_public_keys(input);
203 self
204 }
205 /// <p>A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.</p><note>
206 /// <p>If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the <code>UpdateDevEndpoint</code> API with the public key content in the <code>deletePublicKeys</code> attribute, and the list of new keys in the <code>addPublicKeys</code> attribute.</p>
207 /// </note>
208 pub fn get_public_keys(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
209 self.inner.get_public_keys()
210 }
211 /// <p>The number of Glue Data Processing Units (DPUs) to allocate to this <code>DevEndpoint</code>.</p>
212 pub fn number_of_nodes(mut self, input: i32) -> Self {
213 self.inner = self.inner.number_of_nodes(input);
214 self
215 }
216 /// <p>The number of Glue Data Processing Units (DPUs) to allocate to this <code>DevEndpoint</code>.</p>
217 pub fn set_number_of_nodes(mut self, input: ::std::option::Option<i32>) -> Self {
218 self.inner = self.inner.set_number_of_nodes(input);
219 self
220 }
221 /// <p>The number of Glue Data Processing Units (DPUs) to allocate to this <code>DevEndpoint</code>.</p>
222 pub fn get_number_of_nodes(&self) -> &::std::option::Option<i32> {
223 self.inner.get_number_of_nodes()
224 }
225 /// <p>The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.</p>
226 /// <ul>
227 /// <li>
228 /// <p>For the <code>Standard</code> worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.</p></li>
229 /// <li>
230 /// <p>For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.</p></li>
231 /// <li>
232 /// <p>For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.</p></li>
233 /// </ul>
234 /// <p>Known issue: when a development endpoint is created with the <code>G.2X</code> <code>WorkerType</code> configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.</p>
235 pub fn worker_type(mut self, input: crate::types::WorkerType) -> Self {
236 self.inner = self.inner.worker_type(input);
237 self
238 }
239 /// <p>The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.</p>
240 /// <ul>
241 /// <li>
242 /// <p>For the <code>Standard</code> worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.</p></li>
243 /// <li>
244 /// <p>For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.</p></li>
245 /// <li>
246 /// <p>For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.</p></li>
247 /// </ul>
248 /// <p>Known issue: when a development endpoint is created with the <code>G.2X</code> <code>WorkerType</code> configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.</p>
249 pub fn set_worker_type(mut self, input: ::std::option::Option<crate::types::WorkerType>) -> Self {
250 self.inner = self.inner.set_worker_type(input);
251 self
252 }
253 /// <p>The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.</p>
254 /// <ul>
255 /// <li>
256 /// <p>For the <code>Standard</code> worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.</p></li>
257 /// <li>
258 /// <p>For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.</p></li>
259 /// <li>
260 /// <p>For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.</p></li>
261 /// </ul>
262 /// <p>Known issue: when a development endpoint is created with the <code>G.2X</code> <code>WorkerType</code> configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.</p>
263 pub fn get_worker_type(&self) -> &::std::option::Option<crate::types::WorkerType> {
264 self.inner.get_worker_type()
265 }
266 /// <p>Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.</p>
267 /// <p>For more information about the available Glue versions and corresponding Spark and Python versions, see <a href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a> in the developer guide.</p>
268 /// <p>Development endpoints that are created without specifying a Glue version default to Glue 0.9.</p>
269 /// <p>You can specify a version of Python support for development endpoints by using the <code>Arguments</code> parameter in the <code>CreateDevEndpoint</code> or <code>UpdateDevEndpoint</code> APIs. If no arguments are provided, the version defaults to Python 2.</p>
270 pub fn glue_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
271 self.inner = self.inner.glue_version(input.into());
272 self
273 }
274 /// <p>Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.</p>
275 /// <p>For more information about the available Glue versions and corresponding Spark and Python versions, see <a href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a> in the developer guide.</p>
276 /// <p>Development endpoints that are created without specifying a Glue version default to Glue 0.9.</p>
277 /// <p>You can specify a version of Python support for development endpoints by using the <code>Arguments</code> parameter in the <code>CreateDevEndpoint</code> or <code>UpdateDevEndpoint</code> APIs. If no arguments are provided, the version defaults to Python 2.</p>
278 pub fn set_glue_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
279 self.inner = self.inner.set_glue_version(input);
280 self
281 }
282 /// <p>Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.</p>
283 /// <p>For more information about the available Glue versions and corresponding Spark and Python versions, see <a href="https://docs.aws.amazon.com/glue/latest/dg/add-job.html">Glue version</a> in the developer guide.</p>
284 /// <p>Development endpoints that are created without specifying a Glue version default to Glue 0.9.</p>
285 /// <p>You can specify a version of Python support for development endpoints by using the <code>Arguments</code> parameter in the <code>CreateDevEndpoint</code> or <code>UpdateDevEndpoint</code> APIs. If no arguments are provided, the version defaults to Python 2.</p>
286 pub fn get_glue_version(&self) -> &::std::option::Option<::std::string::String> {
287 self.inner.get_glue_version()
288 }
289 /// <p>The number of workers of a defined <code>workerType</code> that are allocated to the development endpoint.</p>
290 /// <p>The maximum number of workers you can define are 299 for <code>G.1X</code>, and 149 for <code>G.2X</code>.</p>
291 pub fn number_of_workers(mut self, input: i32) -> Self {
292 self.inner = self.inner.number_of_workers(input);
293 self
294 }
295 /// <p>The number of workers of a defined <code>workerType</code> that are allocated to the development endpoint.</p>
296 /// <p>The maximum number of workers you can define are 299 for <code>G.1X</code>, and 149 for <code>G.2X</code>.</p>
297 pub fn set_number_of_workers(mut self, input: ::std::option::Option<i32>) -> Self {
298 self.inner = self.inner.set_number_of_workers(input);
299 self
300 }
301 /// <p>The number of workers of a defined <code>workerType</code> that are allocated to the development endpoint.</p>
302 /// <p>The maximum number of workers you can define are 299 for <code>G.1X</code>, and 149 for <code>G.2X</code>.</p>
303 pub fn get_number_of_workers(&self) -> &::std::option::Option<i32> {
304 self.inner.get_number_of_workers()
305 }
306 /// <p>The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your <code>DevEndpoint</code>. Multiple values must be complete paths separated by a comma.</p><note>
307 /// <p>You can only use pure Python libraries with a <code>DevEndpoint</code>. Libraries that rely on C extensions, such as the <a href="http://pandas.pydata.org/">pandas</a> Python data analysis library, are not yet supported.</p>
308 /// </note>
309 pub fn extra_python_libs_s3_path(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
310 self.inner = self.inner.extra_python_libs_s3_path(input.into());
311 self
312 }
313 /// <p>The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your <code>DevEndpoint</code>. Multiple values must be complete paths separated by a comma.</p><note>
314 /// <p>You can only use pure Python libraries with a <code>DevEndpoint</code>. Libraries that rely on C extensions, such as the <a href="http://pandas.pydata.org/">pandas</a> Python data analysis library, are not yet supported.</p>
315 /// </note>
316 pub fn set_extra_python_libs_s3_path(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
317 self.inner = self.inner.set_extra_python_libs_s3_path(input);
318 self
319 }
320 /// <p>The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your <code>DevEndpoint</code>. Multiple values must be complete paths separated by a comma.</p><note>
321 /// <p>You can only use pure Python libraries with a <code>DevEndpoint</code>. Libraries that rely on C extensions, such as the <a href="http://pandas.pydata.org/">pandas</a> Python data analysis library, are not yet supported.</p>
322 /// </note>
323 pub fn get_extra_python_libs_s3_path(&self) -> &::std::option::Option<::std::string::String> {
324 self.inner.get_extra_python_libs_s3_path()
325 }
326 /// <p>The path to one or more Java <code>.jar</code> files in an S3 bucket that should be loaded in your <code>DevEndpoint</code>.</p>
327 pub fn extra_jars_s3_path(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
328 self.inner = self.inner.extra_jars_s3_path(input.into());
329 self
330 }
331 /// <p>The path to one or more Java <code>.jar</code> files in an S3 bucket that should be loaded in your <code>DevEndpoint</code>.</p>
332 pub fn set_extra_jars_s3_path(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
333 self.inner = self.inner.set_extra_jars_s3_path(input);
334 self
335 }
336 /// <p>The path to one or more Java <code>.jar</code> files in an S3 bucket that should be loaded in your <code>DevEndpoint</code>.</p>
337 pub fn get_extra_jars_s3_path(&self) -> &::std::option::Option<::std::string::String> {
338 self.inner.get_extra_jars_s3_path()
339 }
340 /// <p>The name of the <code>SecurityConfiguration</code> structure to be used with this <code>DevEndpoint</code>.</p>
341 pub fn security_configuration(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
342 self.inner = self.inner.security_configuration(input.into());
343 self
344 }
345 /// <p>The name of the <code>SecurityConfiguration</code> structure to be used with this <code>DevEndpoint</code>.</p>
346 pub fn set_security_configuration(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
347 self.inner = self.inner.set_security_configuration(input);
348 self
349 }
350 /// <p>The name of the <code>SecurityConfiguration</code> structure to be used with this <code>DevEndpoint</code>.</p>
351 pub fn get_security_configuration(&self) -> &::std::option::Option<::std::string::String> {
352 self.inner.get_security_configuration()
353 }
354 ///
355 /// Adds a key-value pair to `Tags`.
356 ///
357 /// To override the contents of this collection use [`set_tags`](Self::set_tags).
358 ///
359 /// <p>The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see <a href="https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html">Amazon Web Services Tags in Glue</a> in the developer guide.</p>
360 pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
361 self.inner = self.inner.tags(k.into(), v.into());
362 self
363 }
364 /// <p>The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see <a href="https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html">Amazon Web Services Tags in Glue</a> in the developer guide.</p>
365 pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
366 self.inner = self.inner.set_tags(input);
367 self
368 }
369 /// <p>The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see <a href="https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html">Amazon Web Services Tags in Glue</a> in the developer guide.</p>
370 pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
371 self.inner.get_tags()
372 }
373 ///
374 /// Adds a key-value pair to `Arguments`.
375 ///
376 /// To override the contents of this collection use [`set_arguments`](Self::set_arguments).
377 ///
378 /// <p>A map of arguments used to configure the <code>DevEndpoint</code>.</p>
379 pub fn arguments(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
380 self.inner = self.inner.arguments(k.into(), v.into());
381 self
382 }
383 /// <p>A map of arguments used to configure the <code>DevEndpoint</code>.</p>
384 pub fn set_arguments(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
385 self.inner = self.inner.set_arguments(input);
386 self
387 }
388 /// <p>A map of arguments used to configure the <code>DevEndpoint</code>.</p>
389 pub fn get_arguments(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
390 self.inner.get_arguments()
391 }
392}