aws-sdk-sagemaker 1.196.0

AWS SDK for Amazon SageMaker Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DescribeFeatureGroupOutput {
    /// <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>.</p>
    pub feature_group_arn: ::std::option::Option<::std::string::String>,
    /// <p>he name of the <code>FeatureGroup</code>.</p>
    pub feature_group_name: ::std::option::Option<::std::string::String>,
    /// <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
    pub record_identifier_feature_name: ::std::option::Option<::std::string::String>,
    /// <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p>
    /// <p>An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
    pub event_time_feature_name: ::std::option::Option<::std::string::String>,
    /// <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
    pub feature_definitions: ::std::option::Option<::std::vec::Vec<crate::types::FeatureDefinition>>,
    /// <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
    pub creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>A timestamp indicating when the feature group was last updated.</p>
    pub last_modified_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The configuration for the <code>OnlineStore</code>.</p>
    pub online_store_config: ::std::option::Option<crate::types::OnlineStoreConfig>,
    /// <p>The configuration of the offline store. It includes the following configurations:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon S3 location of the offline store.</p></li>
    /// <li>
    /// <p>Configuration of the Glue data catalog.</p></li>
    /// <li>
    /// <p>Table format of the offline store.</p></li>
    /// <li>
    /// <p>Option to disable the automatic creation of a Glue table for the offline store.</p></li>
    /// <li>
    /// <p>Encryption configuration.</p></li>
    /// </ul>
    pub offline_store_config: ::std::option::Option<crate::types::OfflineStoreConfig>,
    /// <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.</p>
    /// <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store.</p>
    pub throughput_config: ::std::option::Option<crate::types::ThroughputConfigDescription>,
    /// <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
    pub role_arn: ::std::option::Option<::std::string::String>,
    /// <p>The status of the feature group.</p>
    pub feature_group_status: ::std::option::Option<crate::types::FeatureGroupStatus>,
    /// <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code></p>
    pub offline_store_status: ::std::option::Option<crate::types::OfflineStoreStatus>,
    /// <p>A value indicating whether the update made to the feature group was successful.</p>
    pub last_update_status: ::std::option::Option<crate::types::LastUpdateStatus>,
    /// <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p></li>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p></li>
    /// </ul>
    pub failure_reason: ::std::option::Option<::std::string::String>,
    /// <p>A free form description of the feature group.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
    pub next_token: ::std::option::Option<::std::string::String>,
    /// <p>The size of the <code>OnlineStore</code> in bytes.</p>
    pub online_store_total_size_bytes: ::std::option::Option<i64>,
    _request_id: Option<String>,
}
impl DescribeFeatureGroupOutput {
    /// <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>.</p>
    pub fn feature_group_arn(&self) -> ::std::option::Option<&str> {
        self.feature_group_arn.as_deref()
    }
    /// <p>he name of the <code>FeatureGroup</code>.</p>
    pub fn feature_group_name(&self) -> ::std::option::Option<&str> {
        self.feature_group_name.as_deref()
    }
    /// <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
    pub fn record_identifier_feature_name(&self) -> ::std::option::Option<&str> {
        self.record_identifier_feature_name.as_deref()
    }
    /// <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p>
    /// <p>An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
    pub fn event_time_feature_name(&self) -> ::std::option::Option<&str> {
        self.event_time_feature_name.as_deref()
    }
    /// <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.feature_definitions.is_none()`.
    pub fn feature_definitions(&self) -> &[crate::types::FeatureDefinition] {
        self.feature_definitions.as_deref().unwrap_or_default()
    }
    /// <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
    pub fn creation_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.creation_time.as_ref()
    }
    /// <p>A timestamp indicating when the feature group was last updated.</p>
    pub fn last_modified_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.last_modified_time.as_ref()
    }
    /// <p>The configuration for the <code>OnlineStore</code>.</p>
    pub fn online_store_config(&self) -> ::std::option::Option<&crate::types::OnlineStoreConfig> {
        self.online_store_config.as_ref()
    }
    /// <p>The configuration of the offline store. It includes the following configurations:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon S3 location of the offline store.</p></li>
    /// <li>
    /// <p>Configuration of the Glue data catalog.</p></li>
    /// <li>
    /// <p>Table format of the offline store.</p></li>
    /// <li>
    /// <p>Option to disable the automatic creation of a Glue table for the offline store.</p></li>
    /// <li>
    /// <p>Encryption configuration.</p></li>
    /// </ul>
    pub fn offline_store_config(&self) -> ::std::option::Option<&crate::types::OfflineStoreConfig> {
        self.offline_store_config.as_ref()
    }
    /// <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.</p>
    /// <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store.</p>
    pub fn throughput_config(&self) -> ::std::option::Option<&crate::types::ThroughputConfigDescription> {
        self.throughput_config.as_ref()
    }
    /// <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
    pub fn role_arn(&self) -> ::std::option::Option<&str> {
        self.role_arn.as_deref()
    }
    /// <p>The status of the feature group.</p>
    pub fn feature_group_status(&self) -> ::std::option::Option<&crate::types::FeatureGroupStatus> {
        self.feature_group_status.as_ref()
    }
    /// <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code></p>
    pub fn offline_store_status(&self) -> ::std::option::Option<&crate::types::OfflineStoreStatus> {
        self.offline_store_status.as_ref()
    }
    /// <p>A value indicating whether the update made to the feature group was successful.</p>
    pub fn last_update_status(&self) -> ::std::option::Option<&crate::types::LastUpdateStatus> {
        self.last_update_status.as_ref()
    }
    /// <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p></li>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p></li>
    /// </ul>
    pub fn failure_reason(&self) -> ::std::option::Option<&str> {
        self.failure_reason.as_deref()
    }
    /// <p>A free form description of the feature group.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
    pub fn next_token(&self) -> ::std::option::Option<&str> {
        self.next_token.as_deref()
    }
    /// <p>The size of the <code>OnlineStore</code> in bytes.</p>
    pub fn online_store_total_size_bytes(&self) -> ::std::option::Option<i64> {
        self.online_store_total_size_bytes
    }
}
impl ::aws_types::request_id::RequestId for DescribeFeatureGroupOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl DescribeFeatureGroupOutput {
    /// Creates a new builder-style object to manufacture [`DescribeFeatureGroupOutput`](crate::operation::describe_feature_group::DescribeFeatureGroupOutput).
    pub fn builder() -> crate::operation::describe_feature_group::builders::DescribeFeatureGroupOutputBuilder {
        crate::operation::describe_feature_group::builders::DescribeFeatureGroupOutputBuilder::default()
    }
}

/// A builder for [`DescribeFeatureGroupOutput`](crate::operation::describe_feature_group::DescribeFeatureGroupOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DescribeFeatureGroupOutputBuilder {
    pub(crate) feature_group_arn: ::std::option::Option<::std::string::String>,
    pub(crate) feature_group_name: ::std::option::Option<::std::string::String>,
    pub(crate) record_identifier_feature_name: ::std::option::Option<::std::string::String>,
    pub(crate) event_time_feature_name: ::std::option::Option<::std::string::String>,
    pub(crate) feature_definitions: ::std::option::Option<::std::vec::Vec<crate::types::FeatureDefinition>>,
    pub(crate) creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) last_modified_time: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) online_store_config: ::std::option::Option<crate::types::OnlineStoreConfig>,
    pub(crate) offline_store_config: ::std::option::Option<crate::types::OfflineStoreConfig>,
    pub(crate) throughput_config: ::std::option::Option<crate::types::ThroughputConfigDescription>,
    pub(crate) role_arn: ::std::option::Option<::std::string::String>,
    pub(crate) feature_group_status: ::std::option::Option<crate::types::FeatureGroupStatus>,
    pub(crate) offline_store_status: ::std::option::Option<crate::types::OfflineStoreStatus>,
    pub(crate) last_update_status: ::std::option::Option<crate::types::LastUpdateStatus>,
    pub(crate) failure_reason: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) next_token: ::std::option::Option<::std::string::String>,
    pub(crate) online_store_total_size_bytes: ::std::option::Option<i64>,
    _request_id: Option<String>,
}
impl DescribeFeatureGroupOutputBuilder {
    /// <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>.</p>
    /// This field is required.
    pub fn feature_group_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.feature_group_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>.</p>
    pub fn set_feature_group_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.feature_group_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>.</p>
    pub fn get_feature_group_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.feature_group_arn
    }
    /// <p>he name of the <code>FeatureGroup</code>.</p>
    /// This field is required.
    pub fn feature_group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.feature_group_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>he name of the <code>FeatureGroup</code>.</p>
    pub fn set_feature_group_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.feature_group_name = input;
        self
    }
    /// <p>he name of the <code>FeatureGroup</code>.</p>
    pub fn get_feature_group_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.feature_group_name
    }
    /// <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
    /// This field is required.
    pub fn record_identifier_feature_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.record_identifier_feature_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
    pub fn set_record_identifier_feature_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.record_identifier_feature_name = input;
        self
    }
    /// <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
    pub fn get_record_identifier_feature_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.record_identifier_feature_name
    }
    /// <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p>
    /// <p>An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
    /// This field is required.
    pub fn event_time_feature_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.event_time_feature_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p>
    /// <p>An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
    pub fn set_event_time_feature_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.event_time_feature_name = input;
        self
    }
    /// <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p>
    /// <p>An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
    pub fn get_event_time_feature_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.event_time_feature_name
    }
    /// Appends an item to `feature_definitions`.
    ///
    /// To override the contents of this collection use [`set_feature_definitions`](Self::set_feature_definitions).
    ///
    /// <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
    pub fn feature_definitions(mut self, input: crate::types::FeatureDefinition) -> Self {
        let mut v = self.feature_definitions.unwrap_or_default();
        v.push(input);
        self.feature_definitions = ::std::option::Option::Some(v);
        self
    }
    /// <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
    pub fn set_feature_definitions(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::FeatureDefinition>>) -> Self {
        self.feature_definitions = input;
        self
    }
    /// <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
    pub fn get_feature_definitions(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::FeatureDefinition>> {
        &self.feature_definitions
    }
    /// <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
    /// This field is required.
    pub fn creation_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.creation_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
    pub fn set_creation_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.creation_time = input;
        self
    }
    /// <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
    pub fn get_creation_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.creation_time
    }
    /// <p>A timestamp indicating when the feature group was last updated.</p>
    pub fn last_modified_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.last_modified_time = ::std::option::Option::Some(input);
        self
    }
    /// <p>A timestamp indicating when the feature group was last updated.</p>
    pub fn set_last_modified_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.last_modified_time = input;
        self
    }
    /// <p>A timestamp indicating when the feature group was last updated.</p>
    pub fn get_last_modified_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.last_modified_time
    }
    /// <p>The configuration for the <code>OnlineStore</code>.</p>
    pub fn online_store_config(mut self, input: crate::types::OnlineStoreConfig) -> Self {
        self.online_store_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration for the <code>OnlineStore</code>.</p>
    pub fn set_online_store_config(mut self, input: ::std::option::Option<crate::types::OnlineStoreConfig>) -> Self {
        self.online_store_config = input;
        self
    }
    /// <p>The configuration for the <code>OnlineStore</code>.</p>
    pub fn get_online_store_config(&self) -> &::std::option::Option<crate::types::OnlineStoreConfig> {
        &self.online_store_config
    }
    /// <p>The configuration of the offline store. It includes the following configurations:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon S3 location of the offline store.</p></li>
    /// <li>
    /// <p>Configuration of the Glue data catalog.</p></li>
    /// <li>
    /// <p>Table format of the offline store.</p></li>
    /// <li>
    /// <p>Option to disable the automatic creation of a Glue table for the offline store.</p></li>
    /// <li>
    /// <p>Encryption configuration.</p></li>
    /// </ul>
    pub fn offline_store_config(mut self, input: crate::types::OfflineStoreConfig) -> Self {
        self.offline_store_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration of the offline store. It includes the following configurations:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon S3 location of the offline store.</p></li>
    /// <li>
    /// <p>Configuration of the Glue data catalog.</p></li>
    /// <li>
    /// <p>Table format of the offline store.</p></li>
    /// <li>
    /// <p>Option to disable the automatic creation of a Glue table for the offline store.</p></li>
    /// <li>
    /// <p>Encryption configuration.</p></li>
    /// </ul>
    pub fn set_offline_store_config(mut self, input: ::std::option::Option<crate::types::OfflineStoreConfig>) -> Self {
        self.offline_store_config = input;
        self
    }
    /// <p>The configuration of the offline store. It includes the following configurations:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon S3 location of the offline store.</p></li>
    /// <li>
    /// <p>Configuration of the Glue data catalog.</p></li>
    /// <li>
    /// <p>Table format of the offline store.</p></li>
    /// <li>
    /// <p>Option to disable the automatic creation of a Glue table for the offline store.</p></li>
    /// <li>
    /// <p>Encryption configuration.</p></li>
    /// </ul>
    pub fn get_offline_store_config(&self) -> &::std::option::Option<crate::types::OfflineStoreConfig> {
        &self.offline_store_config
    }
    /// <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.</p>
    /// <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store.</p>
    pub fn throughput_config(mut self, input: crate::types::ThroughputConfigDescription) -> Self {
        self.throughput_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.</p>
    /// <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store.</p>
    pub fn set_throughput_config(mut self, input: ::std::option::Option<crate::types::ThroughputConfigDescription>) -> Self {
        self.throughput_config = input;
        self
    }
    /// <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.</p>
    /// <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store.</p>
    pub fn get_throughput_config(&self) -> &::std::option::Option<crate::types::ThroughputConfigDescription> {
        &self.throughput_config
    }
    /// <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
    pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.role_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
    pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.role_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
    pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.role_arn
    }
    /// <p>The status of the feature group.</p>
    pub fn feature_group_status(mut self, input: crate::types::FeatureGroupStatus) -> Self {
        self.feature_group_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The status of the feature group.</p>
    pub fn set_feature_group_status(mut self, input: ::std::option::Option<crate::types::FeatureGroupStatus>) -> Self {
        self.feature_group_status = input;
        self
    }
    /// <p>The status of the feature group.</p>
    pub fn get_feature_group_status(&self) -> &::std::option::Option<crate::types::FeatureGroupStatus> {
        &self.feature_group_status
    }
    /// <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code></p>
    pub fn offline_store_status(mut self, input: crate::types::OfflineStoreStatus) -> Self {
        self.offline_store_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code></p>
    pub fn set_offline_store_status(mut self, input: ::std::option::Option<crate::types::OfflineStoreStatus>) -> Self {
        self.offline_store_status = input;
        self
    }
    /// <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code></p>
    pub fn get_offline_store_status(&self) -> &::std::option::Option<crate::types::OfflineStoreStatus> {
        &self.offline_store_status
    }
    /// <p>A value indicating whether the update made to the feature group was successful.</p>
    pub fn last_update_status(mut self, input: crate::types::LastUpdateStatus) -> Self {
        self.last_update_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>A value indicating whether the update made to the feature group was successful.</p>
    pub fn set_last_update_status(mut self, input: ::std::option::Option<crate::types::LastUpdateStatus>) -> Self {
        self.last_update_status = input;
        self
    }
    /// <p>A value indicating whether the update made to the feature group was successful.</p>
    pub fn get_last_update_status(&self) -> &::std::option::Option<crate::types::LastUpdateStatus> {
        &self.last_update_status
    }
    /// <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p></li>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p></li>
    /// </ul>
    pub fn failure_reason(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.failure_reason = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p></li>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p></li>
    /// </ul>
    pub fn set_failure_reason(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.failure_reason = input;
        self
    }
    /// <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p></li>
    /// <li>
    /// <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p></li>
    /// </ul>
    pub fn get_failure_reason(&self) -> &::std::option::Option<::std::string::String> {
        &self.failure_reason
    }
    /// <p>A free form description of the feature group.</p>
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A free form description of the feature group.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>A free form description of the feature group.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
    /// This field is required.
    pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.next_token = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
    pub fn set_next_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.next_token = input;
        self
    }
    /// <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
    pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
        &self.next_token
    }
    /// <p>The size of the <code>OnlineStore</code> in bytes.</p>
    pub fn online_store_total_size_bytes(mut self, input: i64) -> Self {
        self.online_store_total_size_bytes = ::std::option::Option::Some(input);
        self
    }
    /// <p>The size of the <code>OnlineStore</code> in bytes.</p>
    pub fn set_online_store_total_size_bytes(mut self, input: ::std::option::Option<i64>) -> Self {
        self.online_store_total_size_bytes = input;
        self
    }
    /// <p>The size of the <code>OnlineStore</code> in bytes.</p>
    pub fn get_online_store_total_size_bytes(&self) -> &::std::option::Option<i64> {
        &self.online_store_total_size_bytes
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`DescribeFeatureGroupOutput`](crate::operation::describe_feature_group::DescribeFeatureGroupOutput).
    pub fn build(self) -> crate::operation::describe_feature_group::DescribeFeatureGroupOutput {
        crate::operation::describe_feature_group::DescribeFeatureGroupOutput {
            feature_group_arn: self.feature_group_arn,
            feature_group_name: self.feature_group_name,
            record_identifier_feature_name: self.record_identifier_feature_name,
            event_time_feature_name: self.event_time_feature_name,
            feature_definitions: self.feature_definitions,
            creation_time: self.creation_time,
            last_modified_time: self.last_modified_time,
            online_store_config: self.online_store_config,
            offline_store_config: self.offline_store_config,
            throughput_config: self.throughput_config,
            role_arn: self.role_arn,
            feature_group_status: self.feature_group_status,
            offline_store_status: self.offline_store_status,
            last_update_status: self.last_update_status,
            failure_reason: self.failure_reason,
            description: self.description,
            next_token: self.next_token,
            online_store_total_size_bytes: self.online_store_total_size_bytes,
            _request_id: self._request_id,
        }
    }
}