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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>A Recovery Instance is a replica of a Source Server running on EC2.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
pub struct RecoveryInstance {
    /// <p>The EC2 instance ID of the Recovery Instance.</p>
    pub ec2_instance_id: ::std::option::Option<::std::string::String>,
    /// <p>The state of the EC2 instance for this Recovery Instance.</p>
    pub ec2_instance_state: ::std::option::Option<crate::types::Ec2InstanceState>,
    /// <p>The ID of the Job that created the Recovery Instance.</p>
    pub job_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the Recovery Instance.</p>
    pub recovery_instance_id: ::std::option::Option<::std::string::String>,
    /// <p>The Source Server ID that this Recovery Instance is associated with.</p>
    pub source_server_id: ::std::option::Option<::std::string::String>,
    /// <p>The ARN of the Recovery Instance.</p>
    pub arn: ::std::option::Option<::std::string::String>,
    /// <p>An array of tags that are associated with the Recovery Instance.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>An object representing failback related information of the Recovery Instance.</p>
    pub failback: ::std::option::Option<crate::types::RecoveryInstanceFailback>,
    /// <p>The Data Replication Info of the Recovery Instance.</p>
    pub data_replication_info: ::std::option::Option<crate::types::RecoveryInstanceDataReplicationInfo>,
    /// <p>Properties of the Recovery Instance machine.</p>
    pub recovery_instance_properties: ::std::option::Option<crate::types::RecoveryInstanceProperties>,
    /// <p>The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.</p>
    pub point_in_time_snapshot_date_time: ::std::option::Option<::std::string::String>,
    /// <p>Whether this Recovery Instance was created for a drill or for an actual Recovery event.</p>
    pub is_drill: ::std::option::Option<bool>,
    /// <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from.</p>
    pub origin_environment: ::std::option::Option<crate::types::OriginEnvironment>,
    /// <p>AWS availability zone associated with the recovery instance.</p>
    pub origin_availability_zone: ::std::option::Option<::std::string::String>,
    /// <p>The version of the DRS agent installed on the recovery instance</p>
    pub agent_version: ::std::option::Option<::std::string::String>,
    /// <p>The ARN of the source Outpost</p>
    pub source_outpost_arn: ::std::option::Option<::std::string::String>,
}
impl RecoveryInstance {
    /// <p>The EC2 instance ID of the Recovery Instance.</p>
    pub fn ec2_instance_id(&self) -> ::std::option::Option<&str> {
        self.ec2_instance_id.as_deref()
    }
    /// <p>The state of the EC2 instance for this Recovery Instance.</p>
    pub fn ec2_instance_state(&self) -> ::std::option::Option<&crate::types::Ec2InstanceState> {
        self.ec2_instance_state.as_ref()
    }
    /// <p>The ID of the Job that created the Recovery Instance.</p>
    pub fn job_id(&self) -> ::std::option::Option<&str> {
        self.job_id.as_deref()
    }
    /// <p>The ID of the Recovery Instance.</p>
    pub fn recovery_instance_id(&self) -> ::std::option::Option<&str> {
        self.recovery_instance_id.as_deref()
    }
    /// <p>The Source Server ID that this Recovery Instance is associated with.</p>
    pub fn source_server_id(&self) -> ::std::option::Option<&str> {
        self.source_server_id.as_deref()
    }
    /// <p>The ARN of the Recovery Instance.</p>
    pub fn arn(&self) -> ::std::option::Option<&str> {
        self.arn.as_deref()
    }
    /// <p>An array of tags that are associated with the Recovery Instance.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>An object representing failback related information of the Recovery Instance.</p>
    pub fn failback(&self) -> ::std::option::Option<&crate::types::RecoveryInstanceFailback> {
        self.failback.as_ref()
    }
    /// <p>The Data Replication Info of the Recovery Instance.</p>
    pub fn data_replication_info(&self) -> ::std::option::Option<&crate::types::RecoveryInstanceDataReplicationInfo> {
        self.data_replication_info.as_ref()
    }
    /// <p>Properties of the Recovery Instance machine.</p>
    pub fn recovery_instance_properties(&self) -> ::std::option::Option<&crate::types::RecoveryInstanceProperties> {
        self.recovery_instance_properties.as_ref()
    }
    /// <p>The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.</p>
    pub fn point_in_time_snapshot_date_time(&self) -> ::std::option::Option<&str> {
        self.point_in_time_snapshot_date_time.as_deref()
    }
    /// <p>Whether this Recovery Instance was created for a drill or for an actual Recovery event.</p>
    pub fn is_drill(&self) -> ::std::option::Option<bool> {
        self.is_drill
    }
    /// <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from.</p>
    pub fn origin_environment(&self) -> ::std::option::Option<&crate::types::OriginEnvironment> {
        self.origin_environment.as_ref()
    }
    /// <p>AWS availability zone associated with the recovery instance.</p>
    pub fn origin_availability_zone(&self) -> ::std::option::Option<&str> {
        self.origin_availability_zone.as_deref()
    }
    /// <p>The version of the DRS agent installed on the recovery instance</p>
    pub fn agent_version(&self) -> ::std::option::Option<&str> {
        self.agent_version.as_deref()
    }
    /// <p>The ARN of the source Outpost</p>
    pub fn source_outpost_arn(&self) -> ::std::option::Option<&str> {
        self.source_outpost_arn.as_deref()
    }
}
impl ::std::fmt::Debug for RecoveryInstance {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("RecoveryInstance");
        formatter.field("ec2_instance_id", &self.ec2_instance_id);
        formatter.field("ec2_instance_state", &self.ec2_instance_state);
        formatter.field("job_id", &self.job_id);
        formatter.field("recovery_instance_id", &self.recovery_instance_id);
        formatter.field("source_server_id", &self.source_server_id);
        formatter.field("arn", &self.arn);
        formatter.field("tags", &"*** Sensitive Data Redacted ***");
        formatter.field("failback", &self.failback);
        formatter.field("data_replication_info", &self.data_replication_info);
        formatter.field("recovery_instance_properties", &self.recovery_instance_properties);
        formatter.field("point_in_time_snapshot_date_time", &self.point_in_time_snapshot_date_time);
        formatter.field("is_drill", &self.is_drill);
        formatter.field("origin_environment", &self.origin_environment);
        formatter.field("origin_availability_zone", &self.origin_availability_zone);
        formatter.field("agent_version", &self.agent_version);
        formatter.field("source_outpost_arn", &self.source_outpost_arn);
        formatter.finish()
    }
}
impl RecoveryInstance {
    /// Creates a new builder-style object to manufacture [`RecoveryInstance`](crate::types::RecoveryInstance).
    pub fn builder() -> crate::types::builders::RecoveryInstanceBuilder {
        crate::types::builders::RecoveryInstanceBuilder::default()
    }
}

/// A builder for [`RecoveryInstance`](crate::types::RecoveryInstance).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
#[non_exhaustive]
pub struct RecoveryInstanceBuilder {
    pub(crate) ec2_instance_id: ::std::option::Option<::std::string::String>,
    pub(crate) ec2_instance_state: ::std::option::Option<crate::types::Ec2InstanceState>,
    pub(crate) job_id: ::std::option::Option<::std::string::String>,
    pub(crate) recovery_instance_id: ::std::option::Option<::std::string::String>,
    pub(crate) source_server_id: ::std::option::Option<::std::string::String>,
    pub(crate) arn: ::std::option::Option<::std::string::String>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) failback: ::std::option::Option<crate::types::RecoveryInstanceFailback>,
    pub(crate) data_replication_info: ::std::option::Option<crate::types::RecoveryInstanceDataReplicationInfo>,
    pub(crate) recovery_instance_properties: ::std::option::Option<crate::types::RecoveryInstanceProperties>,
    pub(crate) point_in_time_snapshot_date_time: ::std::option::Option<::std::string::String>,
    pub(crate) is_drill: ::std::option::Option<bool>,
    pub(crate) origin_environment: ::std::option::Option<crate::types::OriginEnvironment>,
    pub(crate) origin_availability_zone: ::std::option::Option<::std::string::String>,
    pub(crate) agent_version: ::std::option::Option<::std::string::String>,
    pub(crate) source_outpost_arn: ::std::option::Option<::std::string::String>,
}
impl RecoveryInstanceBuilder {
    /// <p>The EC2 instance ID of the Recovery Instance.</p>
    pub fn ec2_instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.ec2_instance_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The EC2 instance ID of the Recovery Instance.</p>
    pub fn set_ec2_instance_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.ec2_instance_id = input;
        self
    }
    /// <p>The EC2 instance ID of the Recovery Instance.</p>
    pub fn get_ec2_instance_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.ec2_instance_id
    }
    /// <p>The state of the EC2 instance for this Recovery Instance.</p>
    pub fn ec2_instance_state(mut self, input: crate::types::Ec2InstanceState) -> Self {
        self.ec2_instance_state = ::std::option::Option::Some(input);
        self
    }
    /// <p>The state of the EC2 instance for this Recovery Instance.</p>
    pub fn set_ec2_instance_state(mut self, input: ::std::option::Option<crate::types::Ec2InstanceState>) -> Self {
        self.ec2_instance_state = input;
        self
    }
    /// <p>The state of the EC2 instance for this Recovery Instance.</p>
    pub fn get_ec2_instance_state(&self) -> &::std::option::Option<crate::types::Ec2InstanceState> {
        &self.ec2_instance_state
    }
    /// <p>The ID of the Job that created the Recovery Instance.</p>
    pub fn job_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.job_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the Job that created the Recovery Instance.</p>
    pub fn set_job_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.job_id = input;
        self
    }
    /// <p>The ID of the Job that created the Recovery Instance.</p>
    pub fn get_job_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.job_id
    }
    /// <p>The ID of the Recovery Instance.</p>
    pub fn recovery_instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.recovery_instance_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the Recovery Instance.</p>
    pub fn set_recovery_instance_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.recovery_instance_id = input;
        self
    }
    /// <p>The ID of the Recovery Instance.</p>
    pub fn get_recovery_instance_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.recovery_instance_id
    }
    /// <p>The Source Server ID that this Recovery Instance is associated with.</p>
    pub fn source_server_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.source_server_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Source Server ID that this Recovery Instance is associated with.</p>
    pub fn set_source_server_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.source_server_id = input;
        self
    }
    /// <p>The Source Server ID that this Recovery Instance is associated with.</p>
    pub fn get_source_server_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.source_server_id
    }
    /// <p>The ARN of the Recovery Instance.</p>
    pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ARN of the Recovery Instance.</p>
    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.arn = input;
        self
    }
    /// <p>The ARN of the Recovery Instance.</p>
    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.arn
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>An array of tags that are associated with the Recovery Instance.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>An array of tags that are associated with the Recovery Instance.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>An array of tags that are associated with the Recovery Instance.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>An object representing failback related information of the Recovery Instance.</p>
    pub fn failback(mut self, input: crate::types::RecoveryInstanceFailback) -> Self {
        self.failback = ::std::option::Option::Some(input);
        self
    }
    /// <p>An object representing failback related information of the Recovery Instance.</p>
    pub fn set_failback(mut self, input: ::std::option::Option<crate::types::RecoveryInstanceFailback>) -> Self {
        self.failback = input;
        self
    }
    /// <p>An object representing failback related information of the Recovery Instance.</p>
    pub fn get_failback(&self) -> &::std::option::Option<crate::types::RecoveryInstanceFailback> {
        &self.failback
    }
    /// <p>The Data Replication Info of the Recovery Instance.</p>
    pub fn data_replication_info(mut self, input: crate::types::RecoveryInstanceDataReplicationInfo) -> Self {
        self.data_replication_info = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Data Replication Info of the Recovery Instance.</p>
    pub fn set_data_replication_info(mut self, input: ::std::option::Option<crate::types::RecoveryInstanceDataReplicationInfo>) -> Self {
        self.data_replication_info = input;
        self
    }
    /// <p>The Data Replication Info of the Recovery Instance.</p>
    pub fn get_data_replication_info(&self) -> &::std::option::Option<crate::types::RecoveryInstanceDataReplicationInfo> {
        &self.data_replication_info
    }
    /// <p>Properties of the Recovery Instance machine.</p>
    pub fn recovery_instance_properties(mut self, input: crate::types::RecoveryInstanceProperties) -> Self {
        self.recovery_instance_properties = ::std::option::Option::Some(input);
        self
    }
    /// <p>Properties of the Recovery Instance machine.</p>
    pub fn set_recovery_instance_properties(mut self, input: ::std::option::Option<crate::types::RecoveryInstanceProperties>) -> Self {
        self.recovery_instance_properties = input;
        self
    }
    /// <p>Properties of the Recovery Instance machine.</p>
    pub fn get_recovery_instance_properties(&self) -> &::std::option::Option<crate::types::RecoveryInstanceProperties> {
        &self.recovery_instance_properties
    }
    /// <p>The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.</p>
    pub fn point_in_time_snapshot_date_time(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.point_in_time_snapshot_date_time = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.</p>
    pub fn set_point_in_time_snapshot_date_time(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.point_in_time_snapshot_date_time = input;
        self
    }
    /// <p>The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.</p>
    pub fn get_point_in_time_snapshot_date_time(&self) -> &::std::option::Option<::std::string::String> {
        &self.point_in_time_snapshot_date_time
    }
    /// <p>Whether this Recovery Instance was created for a drill or for an actual Recovery event.</p>
    pub fn is_drill(mut self, input: bool) -> Self {
        self.is_drill = ::std::option::Option::Some(input);
        self
    }
    /// <p>Whether this Recovery Instance was created for a drill or for an actual Recovery event.</p>
    pub fn set_is_drill(mut self, input: ::std::option::Option<bool>) -> Self {
        self.is_drill = input;
        self
    }
    /// <p>Whether this Recovery Instance was created for a drill or for an actual Recovery event.</p>
    pub fn get_is_drill(&self) -> &::std::option::Option<bool> {
        &self.is_drill
    }
    /// <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from.</p>
    pub fn origin_environment(mut self, input: crate::types::OriginEnvironment) -> Self {
        self.origin_environment = ::std::option::Option::Some(input);
        self
    }
    /// <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from.</p>
    pub fn set_origin_environment(mut self, input: ::std::option::Option<crate::types::OriginEnvironment>) -> Self {
        self.origin_environment = input;
        self
    }
    /// <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from.</p>
    pub fn get_origin_environment(&self) -> &::std::option::Option<crate::types::OriginEnvironment> {
        &self.origin_environment
    }
    /// <p>AWS availability zone associated with the recovery instance.</p>
    pub fn origin_availability_zone(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.origin_availability_zone = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>AWS availability zone associated with the recovery instance.</p>
    pub fn set_origin_availability_zone(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.origin_availability_zone = input;
        self
    }
    /// <p>AWS availability zone associated with the recovery instance.</p>
    pub fn get_origin_availability_zone(&self) -> &::std::option::Option<::std::string::String> {
        &self.origin_availability_zone
    }
    /// <p>The version of the DRS agent installed on the recovery instance</p>
    pub fn agent_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.agent_version = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The version of the DRS agent installed on the recovery instance</p>
    pub fn set_agent_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.agent_version = input;
        self
    }
    /// <p>The version of the DRS agent installed on the recovery instance</p>
    pub fn get_agent_version(&self) -> &::std::option::Option<::std::string::String> {
        &self.agent_version
    }
    /// <p>The ARN of the source Outpost</p>
    pub fn source_outpost_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.source_outpost_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ARN of the source Outpost</p>
    pub fn set_source_outpost_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.source_outpost_arn = input;
        self
    }
    /// <p>The ARN of the source Outpost</p>
    pub fn get_source_outpost_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.source_outpost_arn
    }
    /// Consumes the builder and constructs a [`RecoveryInstance`](crate::types::RecoveryInstance).
    pub fn build(self) -> crate::types::RecoveryInstance {
        crate::types::RecoveryInstance {
            ec2_instance_id: self.ec2_instance_id,
            ec2_instance_state: self.ec2_instance_state,
            job_id: self.job_id,
            recovery_instance_id: self.recovery_instance_id,
            source_server_id: self.source_server_id,
            arn: self.arn,
            tags: self.tags,
            failback: self.failback,
            data_replication_info: self.data_replication_info,
            recovery_instance_properties: self.recovery_instance_properties,
            point_in_time_snapshot_date_time: self.point_in_time_snapshot_date_time,
            is_drill: self.is_drill,
            origin_environment: self.origin_environment,
            origin_availability_zone: self.origin_availability_zone,
            agent_version: self.agent_version,
            source_outpost_arn: self.source_outpost_arn,
        }
    }
}
impl ::std::fmt::Debug for RecoveryInstanceBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("RecoveryInstanceBuilder");
        formatter.field("ec2_instance_id", &self.ec2_instance_id);
        formatter.field("ec2_instance_state", &self.ec2_instance_state);
        formatter.field("job_id", &self.job_id);
        formatter.field("recovery_instance_id", &self.recovery_instance_id);
        formatter.field("source_server_id", &self.source_server_id);
        formatter.field("arn", &self.arn);
        formatter.field("tags", &"*** Sensitive Data Redacted ***");
        formatter.field("failback", &self.failback);
        formatter.field("data_replication_info", &self.data_replication_info);
        formatter.field("recovery_instance_properties", &self.recovery_instance_properties);
        formatter.field("point_in_time_snapshot_date_time", &self.point_in_time_snapshot_date_time);
        formatter.field("is_drill", &self.is_drill);
        formatter.field("origin_environment", &self.origin_environment);
        formatter.field("origin_availability_zone", &self.origin_availability_zone);
        formatter.field("agent_version", &self.agent_version);
        formatter.field("source_outpost_arn", &self.source_outpost_arn);
        formatter.finish()
    }
}