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
// 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 DescribeBackupVaultOutput {
/// <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.</p>
pub backup_vault_name: ::std::option::Option<::std::string::String>,
/// <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
pub backup_vault_arn: ::std::option::Option<::std::string::String>,
/// <p>This is the type of vault described.</p>
pub vault_type: ::std::option::Option<crate::types::VaultType>,
/// <p>The server-side encryption key that is used to protect your backups; for example, <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
pub encryption_key_arn: ::std::option::Option<::std::string::String>,
/// <p>The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub creation_date: ::std::option::Option<::aws_smithy_types::DateTime>,
/// <p>A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.</p>
pub creator_request_id: ::std::option::Option<::std::string::String>,
/// <p>The number of recovery points that are stored in a backup vault.</p>
pub number_of_recovery_points: i64,
/// <p>A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. <code>True</code> means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.</p>
pub locked: ::std::option::Option<bool>,
/// <p>The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub min_retention_days: ::std::option::Option<i64>,
/// <p>The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub max_retention_days: ::std::option::Option<i64>,
/// <p>The date and time when Backup Vault Lock configuration cannot be changed or deleted.</p>
/// <p>If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.</p>
/// <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub lock_date: ::std::option::Option<::aws_smithy_types::DateTime>,
_request_id: Option<String>,
}
impl DescribeBackupVaultOutput {
/// <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.</p>
pub fn backup_vault_name(&self) -> ::std::option::Option<&str> {
self.backup_vault_name.as_deref()
}
/// <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
pub fn backup_vault_arn(&self) -> ::std::option::Option<&str> {
self.backup_vault_arn.as_deref()
}
/// <p>This is the type of vault described.</p>
pub fn vault_type(&self) -> ::std::option::Option<&crate::types::VaultType> {
self.vault_type.as_ref()
}
/// <p>The server-side encryption key that is used to protect your backups; for example, <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
pub fn encryption_key_arn(&self) -> ::std::option::Option<&str> {
self.encryption_key_arn.as_deref()
}
/// <p>The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn creation_date(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
self.creation_date.as_ref()
}
/// <p>A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.</p>
pub fn creator_request_id(&self) -> ::std::option::Option<&str> {
self.creator_request_id.as_deref()
}
/// <p>The number of recovery points that are stored in a backup vault.</p>
pub fn number_of_recovery_points(&self) -> i64 {
self.number_of_recovery_points
}
/// <p>A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. <code>True</code> means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.</p>
pub fn locked(&self) -> ::std::option::Option<bool> {
self.locked
}
/// <p>The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn min_retention_days(&self) -> ::std::option::Option<i64> {
self.min_retention_days
}
/// <p>The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn max_retention_days(&self) -> ::std::option::Option<i64> {
self.max_retention_days
}
/// <p>The date and time when Backup Vault Lock configuration cannot be changed or deleted.</p>
/// <p>If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.</p>
/// <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn lock_date(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
self.lock_date.as_ref()
}
}
impl ::aws_types::request_id::RequestId for DescribeBackupVaultOutput {
fn request_id(&self) -> Option<&str> {
self._request_id.as_deref()
}
}
impl DescribeBackupVaultOutput {
/// Creates a new builder-style object to manufacture [`DescribeBackupVaultOutput`](crate::operation::describe_backup_vault::DescribeBackupVaultOutput).
pub fn builder() -> crate::operation::describe_backup_vault::builders::DescribeBackupVaultOutputBuilder {
crate::operation::describe_backup_vault::builders::DescribeBackupVaultOutputBuilder::default()
}
}
/// A builder for [`DescribeBackupVaultOutput`](crate::operation::describe_backup_vault::DescribeBackupVaultOutput).
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct DescribeBackupVaultOutputBuilder {
pub(crate) backup_vault_name: ::std::option::Option<::std::string::String>,
pub(crate) backup_vault_arn: ::std::option::Option<::std::string::String>,
pub(crate) vault_type: ::std::option::Option<crate::types::VaultType>,
pub(crate) encryption_key_arn: ::std::option::Option<::std::string::String>,
pub(crate) creation_date: ::std::option::Option<::aws_smithy_types::DateTime>,
pub(crate) creator_request_id: ::std::option::Option<::std::string::String>,
pub(crate) number_of_recovery_points: ::std::option::Option<i64>,
pub(crate) locked: ::std::option::Option<bool>,
pub(crate) min_retention_days: ::std::option::Option<i64>,
pub(crate) max_retention_days: ::std::option::Option<i64>,
pub(crate) lock_date: ::std::option::Option<::aws_smithy_types::DateTime>,
_request_id: Option<String>,
}
impl DescribeBackupVaultOutputBuilder {
/// <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.</p>
pub fn backup_vault_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.backup_vault_name = ::std::option::Option::Some(input.into());
self
}
/// <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.</p>
pub fn set_backup_vault_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.backup_vault_name = input;
self
}
/// <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.</p>
pub fn get_backup_vault_name(&self) -> &::std::option::Option<::std::string::String> {
&self.backup_vault_name
}
/// <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
pub fn backup_vault_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.backup_vault_arn = ::std::option::Option::Some(input.into());
self
}
/// <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
pub fn set_backup_vault_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.backup_vault_arn = input;
self
}
/// <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
pub fn get_backup_vault_arn(&self) -> &::std::option::Option<::std::string::String> {
&self.backup_vault_arn
}
/// <p>This is the type of vault described.</p>
pub fn vault_type(mut self, input: crate::types::VaultType) -> Self {
self.vault_type = ::std::option::Option::Some(input);
self
}
/// <p>This is the type of vault described.</p>
pub fn set_vault_type(mut self, input: ::std::option::Option<crate::types::VaultType>) -> Self {
self.vault_type = input;
self
}
/// <p>This is the type of vault described.</p>
pub fn get_vault_type(&self) -> &::std::option::Option<crate::types::VaultType> {
&self.vault_type
}
/// <p>The server-side encryption key that is used to protect your backups; for example, <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
pub fn encryption_key_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.encryption_key_arn = ::std::option::Option::Some(input.into());
self
}
/// <p>The server-side encryption key that is used to protect your backups; for example, <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
pub fn set_encryption_key_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.encryption_key_arn = input;
self
}
/// <p>The server-side encryption key that is used to protect your backups; for example, <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
pub fn get_encryption_key_arn(&self) -> &::std::option::Option<::std::string::String> {
&self.encryption_key_arn
}
/// <p>The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn creation_date(mut self, input: ::aws_smithy_types::DateTime) -> Self {
self.creation_date = ::std::option::Option::Some(input);
self
}
/// <p>The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn set_creation_date(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
self.creation_date = input;
self
}
/// <p>The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn get_creation_date(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
&self.creation_date
}
/// <p>A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.</p>
pub fn creator_request_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.creator_request_id = ::std::option::Option::Some(input.into());
self
}
/// <p>A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.</p>
pub fn set_creator_request_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.creator_request_id = input;
self
}
/// <p>A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.</p>
pub fn get_creator_request_id(&self) -> &::std::option::Option<::std::string::String> {
&self.creator_request_id
}
/// <p>The number of recovery points that are stored in a backup vault.</p>
pub fn number_of_recovery_points(mut self, input: i64) -> Self {
self.number_of_recovery_points = ::std::option::Option::Some(input);
self
}
/// <p>The number of recovery points that are stored in a backup vault.</p>
pub fn set_number_of_recovery_points(mut self, input: ::std::option::Option<i64>) -> Self {
self.number_of_recovery_points = input;
self
}
/// <p>The number of recovery points that are stored in a backup vault.</p>
pub fn get_number_of_recovery_points(&self) -> &::std::option::Option<i64> {
&self.number_of_recovery_points
}
/// <p>A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. <code>True</code> means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.</p>
pub fn locked(mut self, input: bool) -> Self {
self.locked = ::std::option::Option::Some(input);
self
}
/// <p>A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. <code>True</code> means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.</p>
pub fn set_locked(mut self, input: ::std::option::Option<bool>) -> Self {
self.locked = input;
self
}
/// <p>A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. <code>True</code> means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.</p>
pub fn get_locked(&self) -> &::std::option::Option<bool> {
&self.locked
}
/// <p>The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn min_retention_days(mut self, input: i64) -> Self {
self.min_retention_days = ::std::option::Option::Some(input);
self
}
/// <p>The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn set_min_retention_days(mut self, input: ::std::option::Option<i64>) -> Self {
self.min_retention_days = input;
self
}
/// <p>The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn get_min_retention_days(&self) -> &::std::option::Option<i64> {
&self.min_retention_days
}
/// <p>The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn max_retention_days(mut self, input: i64) -> Self {
self.max_retention_days = ::std::option::Option::Some(input);
self
}
/// <p>The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn set_max_retention_days(mut self, input: ::std::option::Option<i64>) -> Self {
self.max_retention_days = input;
self
}
/// <p>The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).</p>
/// <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.</p>
pub fn get_max_retention_days(&self) -> &::std::option::Option<i64> {
&self.max_retention_days
}
/// <p>The date and time when Backup Vault Lock configuration cannot be changed or deleted.</p>
/// <p>If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.</p>
/// <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn lock_date(mut self, input: ::aws_smithy_types::DateTime) -> Self {
self.lock_date = ::std::option::Option::Some(input);
self
}
/// <p>The date and time when Backup Vault Lock configuration cannot be changed or deleted.</p>
/// <p>If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.</p>
/// <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn set_lock_date(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
self.lock_date = input;
self
}
/// <p>The date and time when Backup Vault Lock configuration cannot be changed or deleted.</p>
/// <p>If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.</p>
/// <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
pub fn get_lock_date(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
&self.lock_date
}
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 [`DescribeBackupVaultOutput`](crate::operation::describe_backup_vault::DescribeBackupVaultOutput).
pub fn build(self) -> crate::operation::describe_backup_vault::DescribeBackupVaultOutput {
crate::operation::describe_backup_vault::DescribeBackupVaultOutput {
backup_vault_name: self.backup_vault_name,
backup_vault_arn: self.backup_vault_arn,
vault_type: self.vault_type,
encryption_key_arn: self.encryption_key_arn,
creation_date: self.creation_date,
creator_request_id: self.creator_request_id,
number_of_recovery_points: self.number_of_recovery_points.unwrap_or_default(),
locked: self.locked,
min_retention_days: self.min_retention_days,
max_retention_days: self.max_retention_days,
lock_date: self.lock_date,
_request_id: self._request_id,
}
}
}