aws_sdk_macie2/operation/create_classification_job/
builders.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::create_classification_job::_create_classification_job_output::CreateClassificationJobOutputBuilder;
3
4pub use crate::operation::create_classification_job::_create_classification_job_input::CreateClassificationJobInputBuilder;
5
6impl crate::operation::create_classification_job::builders::CreateClassificationJobInputBuilder {
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_classification_job::CreateClassificationJobOutput,
13        ::aws_smithy_runtime_api::client::result::SdkError<
14            crate::operation::create_classification_job::CreateClassificationJobError,
15            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16        >,
17    > {
18        let mut fluent_builder = client.create_classification_job();
19        fluent_builder.inner = self;
20        fluent_builder.send().await
21    }
22}
23/// Fluent builder constructing a request to `CreateClassificationJob`.
24///
25/// <p>Creates and defines the settings for a classification job.</p>
26#[derive(::std::clone::Clone, ::std::fmt::Debug)]
27pub struct CreateClassificationJobFluentBuilder {
28    handle: ::std::sync::Arc<crate::client::Handle>,
29    inner: crate::operation::create_classification_job::builders::CreateClassificationJobInputBuilder,
30    config_override: ::std::option::Option<crate::config::Builder>,
31}
32impl
33    crate::client::customize::internal::CustomizableSend<
34        crate::operation::create_classification_job::CreateClassificationJobOutput,
35        crate::operation::create_classification_job::CreateClassificationJobError,
36    > for CreateClassificationJobFluentBuilder
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_classification_job::CreateClassificationJobOutput,
44            crate::operation::create_classification_job::CreateClassificationJobError,
45        >,
46    > {
47        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
48    }
49}
50impl CreateClassificationJobFluentBuilder {
51    /// Creates a new `CreateClassificationJobFluentBuilder`.
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 CreateClassificationJob as a reference.
60    pub fn as_input(&self) -> &crate::operation::create_classification_job::builders::CreateClassificationJobInputBuilder {
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_classification_job::CreateClassificationJobOutput,
75        ::aws_smithy_runtime_api::client::result::SdkError<
76            crate::operation::create_classification_job::CreateClassificationJobError,
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_classification_job::CreateClassificationJob::operation_runtime_plugins(
85            self.handle.runtime_plugins.clone(),
86            &self.handle.conf,
87            self.config_override,
88        );
89        crate::operation::create_classification_job::CreateClassificationJob::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_classification_job::CreateClassificationJobOutput,
97        crate::operation::create_classification_job::CreateClassificationJobError,
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    ///
112    /// Appends an item to `allowListIds`.
113    ///
114    /// To override the contents of this collection use [`set_allow_list_ids`](Self::set_allow_list_ids).
115    ///
116    /// <p>An array of unique identifiers, one for each allow list for the job to use when it analyzes data.</p>
117    pub fn allow_list_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
118        self.inner = self.inner.allow_list_ids(input.into());
119        self
120    }
121    /// <p>An array of unique identifiers, one for each allow list for the job to use when it analyzes data.</p>
122    pub fn set_allow_list_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
123        self.inner = self.inner.set_allow_list_ids(input);
124        self
125    }
126    /// <p>An array of unique identifiers, one for each allow list for the job to use when it analyzes data.</p>
127    pub fn get_allow_list_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
128        self.inner.get_allow_list_ids()
129    }
130    /// <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
131    pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
132        self.inner = self.inner.client_token(input.into());
133        self
134    }
135    /// <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
136    pub fn set_client_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
137        self.inner = self.inner.set_client_token(input);
138        self
139    }
140    /// <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
141    pub fn get_client_token(&self) -> &::std::option::Option<::std::string::String> {
142        self.inner.get_client_token()
143    }
144    ///
145    /// Appends an item to `customDataIdentifierIds`.
146    ///
147    /// To override the contents of this collection use [`set_custom_data_identifier_ids`](Self::set_custom_data_identifier_ids).
148    ///
149    /// <p>An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.</p>
150    pub fn custom_data_identifier_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
151        self.inner = self.inner.custom_data_identifier_ids(input.into());
152        self
153    }
154    /// <p>An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.</p>
155    pub fn set_custom_data_identifier_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
156        self.inner = self.inner.set_custom_data_identifier_ids(input);
157        self
158    }
159    /// <p>An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.</p>
160    pub fn get_custom_data_identifier_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
161        self.inner.get_custom_data_identifier_ids()
162    }
163    /// <p>A custom description of the job. The description can contain as many as 200 characters.</p>
164    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
165        self.inner = self.inner.description(input.into());
166        self
167    }
168    /// <p>A custom description of the job. The description can contain as many as 200 characters.</p>
169    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
170        self.inner = self.inner.set_description(input);
171        self
172    }
173    /// <p>A custom description of the job. The description can contain as many as 200 characters.</p>
174    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
175        self.inner.get_description()
176    }
177    /// <p>For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.</p>
178    /// <p>If you configure the job to run only once, don't specify a value for this property.</p>
179    pub fn initial_run(mut self, input: bool) -> Self {
180        self.inner = self.inner.initial_run(input);
181        self
182    }
183    /// <p>For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.</p>
184    /// <p>If you configure the job to run only once, don't specify a value for this property.</p>
185    pub fn set_initial_run(mut self, input: ::std::option::Option<bool>) -> Self {
186        self.inner = self.inner.set_initial_run(input);
187        self
188    }
189    /// <p>For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.</p>
190    /// <p>If you configure the job to run only once, don't specify a value for this property.</p>
191    pub fn get_initial_run(&self) -> &::std::option::Option<bool> {
192        self.inner.get_initial_run()
193    }
194    /// <p>The schedule for running the job. Valid values are:</p>
195    /// <ul>
196    /// <li>
197    /// <p>ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.</p></li>
198    /// <li>
199    /// <p>SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to specify the recurrence pattern for the job.</p></li>
200    /// </ul>
201    pub fn job_type(mut self, input: crate::types::JobType) -> Self {
202        self.inner = self.inner.job_type(input);
203        self
204    }
205    /// <p>The schedule for running the job. Valid values are:</p>
206    /// <ul>
207    /// <li>
208    /// <p>ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.</p></li>
209    /// <li>
210    /// <p>SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to specify the recurrence pattern for the job.</p></li>
211    /// </ul>
212    pub fn set_job_type(mut self, input: ::std::option::Option<crate::types::JobType>) -> Self {
213        self.inner = self.inner.set_job_type(input);
214        self
215    }
216    /// <p>The schedule for running the job. Valid values are:</p>
217    /// <ul>
218    /// <li>
219    /// <p>ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.</p></li>
220    /// <li>
221    /// <p>SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to specify the recurrence pattern for the job.</p></li>
222    /// </ul>
223    pub fn get_job_type(&self) -> &::std::option::Option<crate::types::JobType> {
224        self.inner.get_job_type()
225    }
226    ///
227    /// Appends an item to `managedDataIdentifierIds`.
228    ///
229    /// To override the contents of this collection use [`set_managed_data_identifier_ids`](Self::set_managed_data_identifier_ids).
230    ///
231    /// <p>An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).</p>
232    /// <p>To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.</p>
233    pub fn managed_data_identifier_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
234        self.inner = self.inner.managed_data_identifier_ids(input.into());
235        self
236    }
237    /// <p>An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).</p>
238    /// <p>To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.</p>
239    pub fn set_managed_data_identifier_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
240        self.inner = self.inner.set_managed_data_identifier_ids(input);
241        self
242    }
243    /// <p>An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).</p>
244    /// <p>To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.</p>
245    pub fn get_managed_data_identifier_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
246        self.inner.get_managed_data_identifier_ids()
247    }
248    /// <p>The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:</p>
249    /// <ul>
250    /// <li>
251    /// <p>ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li>
252    /// <li>
253    /// <p>EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.</p></li>
254    /// <li>
255    /// <p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li>
256    /// <li>
257    /// <p>NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.</p></li>
258    /// <li>
259    /// <p>RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li>
260    /// </ul>
261    /// <p>If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.</p>
262    /// <p>If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.</p>
263    /// <p>To learn about individual managed data identifiers or determine which ones are in the recommended set, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> or <a href="https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-mdis-recommended.html">Recommended managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.</p>
264    pub fn managed_data_identifier_selector(mut self, input: crate::types::ManagedDataIdentifierSelector) -> Self {
265        self.inner = self.inner.managed_data_identifier_selector(input);
266        self
267    }
268    /// <p>The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:</p>
269    /// <ul>
270    /// <li>
271    /// <p>ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li>
272    /// <li>
273    /// <p>EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.</p></li>
274    /// <li>
275    /// <p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li>
276    /// <li>
277    /// <p>NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.</p></li>
278    /// <li>
279    /// <p>RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li>
280    /// </ul>
281    /// <p>If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.</p>
282    /// <p>If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.</p>
283    /// <p>To learn about individual managed data identifiers or determine which ones are in the recommended set, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> or <a href="https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-mdis-recommended.html">Recommended managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.</p>
284    pub fn set_managed_data_identifier_selector(mut self, input: ::std::option::Option<crate::types::ManagedDataIdentifierSelector>) -> Self {
285        self.inner = self.inner.set_managed_data_identifier_selector(input);
286        self
287    }
288    /// <p>The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:</p>
289    /// <ul>
290    /// <li>
291    /// <p>ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li>
292    /// <li>
293    /// <p>EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.</p></li>
294    /// <li>
295    /// <p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li>
296    /// <li>
297    /// <p>NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.</p></li>
298    /// <li>
299    /// <p>RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li>
300    /// </ul>
301    /// <p>If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.</p>
302    /// <p>If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.</p>
303    /// <p>To learn about individual managed data identifiers or determine which ones are in the recommended set, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> or <a href="https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-mdis-recommended.html">Recommended managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.</p>
304    pub fn get_managed_data_identifier_selector(&self) -> &::std::option::Option<crate::types::ManagedDataIdentifierSelector> {
305        self.inner.get_managed_data_identifier_selector()
306    }
307    /// <p>A custom name for the job. The name can contain as many as 500 characters.</p>
308    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
309        self.inner = self.inner.name(input.into());
310        self
311    }
312    /// <p>A custom name for the job. The name can contain as many as 500 characters.</p>
313    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
314        self.inner = self.inner.set_name(input);
315        self
316    }
317    /// <p>A custom name for the job. The name can contain as many as 500 characters.</p>
318    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
319        self.inner.get_name()
320    }
321    /// <p>The S3 buckets that contain the objects to analyze, and the scope of that analysis.</p>
322    pub fn s3_job_definition(mut self, input: crate::types::S3JobDefinition) -> Self {
323        self.inner = self.inner.s3_job_definition(input);
324        self
325    }
326    /// <p>The S3 buckets that contain the objects to analyze, and the scope of that analysis.</p>
327    pub fn set_s3_job_definition(mut self, input: ::std::option::Option<crate::types::S3JobDefinition>) -> Self {
328        self.inner = self.inner.set_s3_job_definition(input);
329        self
330    }
331    /// <p>The S3 buckets that contain the objects to analyze, and the scope of that analysis.</p>
332    pub fn get_s3_job_definition(&self) -> &::std::option::Option<crate::types::S3JobDefinition> {
333        self.inner.get_s3_job_definition()
334    }
335    /// <p>The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.</p>
336    pub fn sampling_percentage(mut self, input: i32) -> Self {
337        self.inner = self.inner.sampling_percentage(input);
338        self
339    }
340    /// <p>The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.</p>
341    pub fn set_sampling_percentage(mut self, input: ::std::option::Option<i32>) -> Self {
342        self.inner = self.inner.set_sampling_percentage(input);
343        self
344    }
345    /// <p>The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.</p>
346    pub fn get_sampling_percentage(&self) -> &::std::option::Option<i32> {
347        self.inner.get_sampling_percentage()
348    }
349    /// <p>The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.</p>
350    pub fn schedule_frequency(mut self, input: crate::types::JobScheduleFrequency) -> Self {
351        self.inner = self.inner.schedule_frequency(input);
352        self
353    }
354    /// <p>The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.</p>
355    pub fn set_schedule_frequency(mut self, input: ::std::option::Option<crate::types::JobScheduleFrequency>) -> Self {
356        self.inner = self.inner.set_schedule_frequency(input);
357        self
358    }
359    /// <p>The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.</p>
360    pub fn get_schedule_frequency(&self) -> &::std::option::Option<crate::types::JobScheduleFrequency> {
361        self.inner.get_schedule_frequency()
362    }
363    ///
364    /// Adds a key-value pair to `tags`.
365    ///
366    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
367    ///
368    /// <p>A map of key-value pairs that specifies the tags to associate with the job.</p>
369    /// <p>A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
370    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
371        self.inner = self.inner.tags(k.into(), v.into());
372        self
373    }
374    /// <p>A map of key-value pairs that specifies the tags to associate with the job.</p>
375    /// <p>A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
376    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
377        self.inner = self.inner.set_tags(input);
378        self
379    }
380    /// <p>A map of key-value pairs that specifies the tags to associate with the job.</p>
381    /// <p>A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
382    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
383        self.inner.get_tags()
384    }
385}