aws_sdk_ec2/operation/create_route/
_create_route_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct CreateRouteInput {
6    /// <p>The ID of a prefix list used for the destination match.</p>
7    pub destination_prefix_list_id: ::std::option::Option<::std::string::String>,
8    /// <p>The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>
9    pub vpc_endpoint_id: ::std::option::Option<::std::string::String>,
10    /// <p>The ID of a transit gateway.</p>
11    pub transit_gateway_id: ::std::option::Option<::std::string::String>,
12    /// <p>The ID of the local gateway.</p>
13    pub local_gateway_id: ::std::option::Option<::std::string::String>,
14    /// <p>The ID of the carrier gateway.</p>
15    /// <p>You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.</p>
16    pub carrier_gateway_id: ::std::option::Option<::std::string::String>,
17    /// <p>The Amazon Resource Name (ARN) of the core network.</p>
18    pub core_network_arn: ::std::option::Option<::std::string::String>,
19    /// <p>The Amazon Resource Name (ARN) of the ODB network.</p>
20    pub odb_network_arn: ::std::option::Option<::std::string::String>,
21    /// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
22    pub dry_run: ::std::option::Option<bool>,
23    /// <p>The ID of the route table for the route.</p>
24    pub route_table_id: ::std::option::Option<::std::string::String>,
25    /// <p>The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
26    pub destination_cidr_block: ::std::option::Option<::std::string::String>,
27    /// <p>The ID of an internet gateway or virtual private gateway attached to your VPC.</p>
28    pub gateway_id: ::std::option::Option<::std::string::String>,
29    /// <p>The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.</p>
30    pub destination_ipv6_cidr_block: ::std::option::Option<::std::string::String>,
31    /// <p>\[IPv6 traffic only\] The ID of an egress-only internet gateway.</p>
32    pub egress_only_internet_gateway_id: ::std::option::Option<::std::string::String>,
33    /// <p>The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.</p>
34    pub instance_id: ::std::option::Option<::std::string::String>,
35    /// <p>The ID of a network interface.</p>
36    pub network_interface_id: ::std::option::Option<::std::string::String>,
37    /// <p>The ID of a VPC peering connection.</p>
38    pub vpc_peering_connection_id: ::std::option::Option<::std::string::String>,
39    /// <p>\[IPv4 traffic only\] The ID of a NAT gateway.</p>
40    pub nat_gateway_id: ::std::option::Option<::std::string::String>,
41}
42impl CreateRouteInput {
43    /// <p>The ID of a prefix list used for the destination match.</p>
44    pub fn destination_prefix_list_id(&self) -> ::std::option::Option<&str> {
45        self.destination_prefix_list_id.as_deref()
46    }
47    /// <p>The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>
48    pub fn vpc_endpoint_id(&self) -> ::std::option::Option<&str> {
49        self.vpc_endpoint_id.as_deref()
50    }
51    /// <p>The ID of a transit gateway.</p>
52    pub fn transit_gateway_id(&self) -> ::std::option::Option<&str> {
53        self.transit_gateway_id.as_deref()
54    }
55    /// <p>The ID of the local gateway.</p>
56    pub fn local_gateway_id(&self) -> ::std::option::Option<&str> {
57        self.local_gateway_id.as_deref()
58    }
59    /// <p>The ID of the carrier gateway.</p>
60    /// <p>You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.</p>
61    pub fn carrier_gateway_id(&self) -> ::std::option::Option<&str> {
62        self.carrier_gateway_id.as_deref()
63    }
64    /// <p>The Amazon Resource Name (ARN) of the core network.</p>
65    pub fn core_network_arn(&self) -> ::std::option::Option<&str> {
66        self.core_network_arn.as_deref()
67    }
68    /// <p>The Amazon Resource Name (ARN) of the ODB network.</p>
69    pub fn odb_network_arn(&self) -> ::std::option::Option<&str> {
70        self.odb_network_arn.as_deref()
71    }
72    /// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
73    pub fn dry_run(&self) -> ::std::option::Option<bool> {
74        self.dry_run
75    }
76    /// <p>The ID of the route table for the route.</p>
77    pub fn route_table_id(&self) -> ::std::option::Option<&str> {
78        self.route_table_id.as_deref()
79    }
80    /// <p>The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
81    pub fn destination_cidr_block(&self) -> ::std::option::Option<&str> {
82        self.destination_cidr_block.as_deref()
83    }
84    /// <p>The ID of an internet gateway or virtual private gateway attached to your VPC.</p>
85    pub fn gateway_id(&self) -> ::std::option::Option<&str> {
86        self.gateway_id.as_deref()
87    }
88    /// <p>The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.</p>
89    pub fn destination_ipv6_cidr_block(&self) -> ::std::option::Option<&str> {
90        self.destination_ipv6_cidr_block.as_deref()
91    }
92    /// <p>\[IPv6 traffic only\] The ID of an egress-only internet gateway.</p>
93    pub fn egress_only_internet_gateway_id(&self) -> ::std::option::Option<&str> {
94        self.egress_only_internet_gateway_id.as_deref()
95    }
96    /// <p>The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.</p>
97    pub fn instance_id(&self) -> ::std::option::Option<&str> {
98        self.instance_id.as_deref()
99    }
100    /// <p>The ID of a network interface.</p>
101    pub fn network_interface_id(&self) -> ::std::option::Option<&str> {
102        self.network_interface_id.as_deref()
103    }
104    /// <p>The ID of a VPC peering connection.</p>
105    pub fn vpc_peering_connection_id(&self) -> ::std::option::Option<&str> {
106        self.vpc_peering_connection_id.as_deref()
107    }
108    /// <p>\[IPv4 traffic only\] The ID of a NAT gateway.</p>
109    pub fn nat_gateway_id(&self) -> ::std::option::Option<&str> {
110        self.nat_gateway_id.as_deref()
111    }
112}
113impl CreateRouteInput {
114    /// Creates a new builder-style object to manufacture [`CreateRouteInput`](crate::operation::create_route::CreateRouteInput).
115    pub fn builder() -> crate::operation::create_route::builders::CreateRouteInputBuilder {
116        crate::operation::create_route::builders::CreateRouteInputBuilder::default()
117    }
118}
119
120/// A builder for [`CreateRouteInput`](crate::operation::create_route::CreateRouteInput).
121#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
122#[non_exhaustive]
123pub struct CreateRouteInputBuilder {
124    pub(crate) destination_prefix_list_id: ::std::option::Option<::std::string::String>,
125    pub(crate) vpc_endpoint_id: ::std::option::Option<::std::string::String>,
126    pub(crate) transit_gateway_id: ::std::option::Option<::std::string::String>,
127    pub(crate) local_gateway_id: ::std::option::Option<::std::string::String>,
128    pub(crate) carrier_gateway_id: ::std::option::Option<::std::string::String>,
129    pub(crate) core_network_arn: ::std::option::Option<::std::string::String>,
130    pub(crate) odb_network_arn: ::std::option::Option<::std::string::String>,
131    pub(crate) dry_run: ::std::option::Option<bool>,
132    pub(crate) route_table_id: ::std::option::Option<::std::string::String>,
133    pub(crate) destination_cidr_block: ::std::option::Option<::std::string::String>,
134    pub(crate) gateway_id: ::std::option::Option<::std::string::String>,
135    pub(crate) destination_ipv6_cidr_block: ::std::option::Option<::std::string::String>,
136    pub(crate) egress_only_internet_gateway_id: ::std::option::Option<::std::string::String>,
137    pub(crate) instance_id: ::std::option::Option<::std::string::String>,
138    pub(crate) network_interface_id: ::std::option::Option<::std::string::String>,
139    pub(crate) vpc_peering_connection_id: ::std::option::Option<::std::string::String>,
140    pub(crate) nat_gateway_id: ::std::option::Option<::std::string::String>,
141}
142impl CreateRouteInputBuilder {
143    /// <p>The ID of a prefix list used for the destination match.</p>
144    pub fn destination_prefix_list_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
145        self.destination_prefix_list_id = ::std::option::Option::Some(input.into());
146        self
147    }
148    /// <p>The ID of a prefix list used for the destination match.</p>
149    pub fn set_destination_prefix_list_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
150        self.destination_prefix_list_id = input;
151        self
152    }
153    /// <p>The ID of a prefix list used for the destination match.</p>
154    pub fn get_destination_prefix_list_id(&self) -> &::std::option::Option<::std::string::String> {
155        &self.destination_prefix_list_id
156    }
157    /// <p>The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>
158    pub fn vpc_endpoint_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
159        self.vpc_endpoint_id = ::std::option::Option::Some(input.into());
160        self
161    }
162    /// <p>The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>
163    pub fn set_vpc_endpoint_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
164        self.vpc_endpoint_id = input;
165        self
166    }
167    /// <p>The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>
168    pub fn get_vpc_endpoint_id(&self) -> &::std::option::Option<::std::string::String> {
169        &self.vpc_endpoint_id
170    }
171    /// <p>The ID of a transit gateway.</p>
172    pub fn transit_gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
173        self.transit_gateway_id = ::std::option::Option::Some(input.into());
174        self
175    }
176    /// <p>The ID of a transit gateway.</p>
177    pub fn set_transit_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
178        self.transit_gateway_id = input;
179        self
180    }
181    /// <p>The ID of a transit gateway.</p>
182    pub fn get_transit_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
183        &self.transit_gateway_id
184    }
185    /// <p>The ID of the local gateway.</p>
186    pub fn local_gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
187        self.local_gateway_id = ::std::option::Option::Some(input.into());
188        self
189    }
190    /// <p>The ID of the local gateway.</p>
191    pub fn set_local_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
192        self.local_gateway_id = input;
193        self
194    }
195    /// <p>The ID of the local gateway.</p>
196    pub fn get_local_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
197        &self.local_gateway_id
198    }
199    /// <p>The ID of the carrier gateway.</p>
200    /// <p>You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.</p>
201    pub fn carrier_gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
202        self.carrier_gateway_id = ::std::option::Option::Some(input.into());
203        self
204    }
205    /// <p>The ID of the carrier gateway.</p>
206    /// <p>You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.</p>
207    pub fn set_carrier_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
208        self.carrier_gateway_id = input;
209        self
210    }
211    /// <p>The ID of the carrier gateway.</p>
212    /// <p>You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.</p>
213    pub fn get_carrier_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
214        &self.carrier_gateway_id
215    }
216    /// <p>The Amazon Resource Name (ARN) of the core network.</p>
217    pub fn core_network_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
218        self.core_network_arn = ::std::option::Option::Some(input.into());
219        self
220    }
221    /// <p>The Amazon Resource Name (ARN) of the core network.</p>
222    pub fn set_core_network_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
223        self.core_network_arn = input;
224        self
225    }
226    /// <p>The Amazon Resource Name (ARN) of the core network.</p>
227    pub fn get_core_network_arn(&self) -> &::std::option::Option<::std::string::String> {
228        &self.core_network_arn
229    }
230    /// <p>The Amazon Resource Name (ARN) of the ODB network.</p>
231    pub fn odb_network_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
232        self.odb_network_arn = ::std::option::Option::Some(input.into());
233        self
234    }
235    /// <p>The Amazon Resource Name (ARN) of the ODB network.</p>
236    pub fn set_odb_network_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
237        self.odb_network_arn = input;
238        self
239    }
240    /// <p>The Amazon Resource Name (ARN) of the ODB network.</p>
241    pub fn get_odb_network_arn(&self) -> &::std::option::Option<::std::string::String> {
242        &self.odb_network_arn
243    }
244    /// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
245    pub fn dry_run(mut self, input: bool) -> Self {
246        self.dry_run = ::std::option::Option::Some(input);
247        self
248    }
249    /// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
250    pub fn set_dry_run(mut self, input: ::std::option::Option<bool>) -> Self {
251        self.dry_run = input;
252        self
253    }
254    /// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
255    pub fn get_dry_run(&self) -> &::std::option::Option<bool> {
256        &self.dry_run
257    }
258    /// <p>The ID of the route table for the route.</p>
259    /// This field is required.
260    pub fn route_table_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
261        self.route_table_id = ::std::option::Option::Some(input.into());
262        self
263    }
264    /// <p>The ID of the route table for the route.</p>
265    pub fn set_route_table_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
266        self.route_table_id = input;
267        self
268    }
269    /// <p>The ID of the route table for the route.</p>
270    pub fn get_route_table_id(&self) -> &::std::option::Option<::std::string::String> {
271        &self.route_table_id
272    }
273    /// <p>The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
274    pub fn destination_cidr_block(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
275        self.destination_cidr_block = ::std::option::Option::Some(input.into());
276        self
277    }
278    /// <p>The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
279    pub fn set_destination_cidr_block(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
280        self.destination_cidr_block = input;
281        self
282    }
283    /// <p>The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
284    pub fn get_destination_cidr_block(&self) -> &::std::option::Option<::std::string::String> {
285        &self.destination_cidr_block
286    }
287    /// <p>The ID of an internet gateway or virtual private gateway attached to your VPC.</p>
288    pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
289        self.gateway_id = ::std::option::Option::Some(input.into());
290        self
291    }
292    /// <p>The ID of an internet gateway or virtual private gateway attached to your VPC.</p>
293    pub fn set_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
294        self.gateway_id = input;
295        self
296    }
297    /// <p>The ID of an internet gateway or virtual private gateway attached to your VPC.</p>
298    pub fn get_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
299        &self.gateway_id
300    }
301    /// <p>The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.</p>
302    pub fn destination_ipv6_cidr_block(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
303        self.destination_ipv6_cidr_block = ::std::option::Option::Some(input.into());
304        self
305    }
306    /// <p>The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.</p>
307    pub fn set_destination_ipv6_cidr_block(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
308        self.destination_ipv6_cidr_block = input;
309        self
310    }
311    /// <p>The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.</p>
312    pub fn get_destination_ipv6_cidr_block(&self) -> &::std::option::Option<::std::string::String> {
313        &self.destination_ipv6_cidr_block
314    }
315    /// <p>\[IPv6 traffic only\] The ID of an egress-only internet gateway.</p>
316    pub fn egress_only_internet_gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
317        self.egress_only_internet_gateway_id = ::std::option::Option::Some(input.into());
318        self
319    }
320    /// <p>\[IPv6 traffic only\] The ID of an egress-only internet gateway.</p>
321    pub fn set_egress_only_internet_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
322        self.egress_only_internet_gateway_id = input;
323        self
324    }
325    /// <p>\[IPv6 traffic only\] The ID of an egress-only internet gateway.</p>
326    pub fn get_egress_only_internet_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
327        &self.egress_only_internet_gateway_id
328    }
329    /// <p>The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.</p>
330    pub fn instance_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
331        self.instance_id = ::std::option::Option::Some(input.into());
332        self
333    }
334    /// <p>The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.</p>
335    pub fn set_instance_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
336        self.instance_id = input;
337        self
338    }
339    /// <p>The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.</p>
340    pub fn get_instance_id(&self) -> &::std::option::Option<::std::string::String> {
341        &self.instance_id
342    }
343    /// <p>The ID of a network interface.</p>
344    pub fn network_interface_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
345        self.network_interface_id = ::std::option::Option::Some(input.into());
346        self
347    }
348    /// <p>The ID of a network interface.</p>
349    pub fn set_network_interface_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
350        self.network_interface_id = input;
351        self
352    }
353    /// <p>The ID of a network interface.</p>
354    pub fn get_network_interface_id(&self) -> &::std::option::Option<::std::string::String> {
355        &self.network_interface_id
356    }
357    /// <p>The ID of a VPC peering connection.</p>
358    pub fn vpc_peering_connection_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
359        self.vpc_peering_connection_id = ::std::option::Option::Some(input.into());
360        self
361    }
362    /// <p>The ID of a VPC peering connection.</p>
363    pub fn set_vpc_peering_connection_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
364        self.vpc_peering_connection_id = input;
365        self
366    }
367    /// <p>The ID of a VPC peering connection.</p>
368    pub fn get_vpc_peering_connection_id(&self) -> &::std::option::Option<::std::string::String> {
369        &self.vpc_peering_connection_id
370    }
371    /// <p>\[IPv4 traffic only\] The ID of a NAT gateway.</p>
372    pub fn nat_gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
373        self.nat_gateway_id = ::std::option::Option::Some(input.into());
374        self
375    }
376    /// <p>\[IPv4 traffic only\] The ID of a NAT gateway.</p>
377    pub fn set_nat_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
378        self.nat_gateway_id = input;
379        self
380    }
381    /// <p>\[IPv4 traffic only\] The ID of a NAT gateway.</p>
382    pub fn get_nat_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
383        &self.nat_gateway_id
384    }
385    /// Consumes the builder and constructs a [`CreateRouteInput`](crate::operation::create_route::CreateRouteInput).
386    pub fn build(self) -> ::std::result::Result<crate::operation::create_route::CreateRouteInput, ::aws_smithy_types::error::operation::BuildError> {
387        ::std::result::Result::Ok(crate::operation::create_route::CreateRouteInput {
388            destination_prefix_list_id: self.destination_prefix_list_id,
389            vpc_endpoint_id: self.vpc_endpoint_id,
390            transit_gateway_id: self.transit_gateway_id,
391            local_gateway_id: self.local_gateway_id,
392            carrier_gateway_id: self.carrier_gateway_id,
393            core_network_arn: self.core_network_arn,
394            odb_network_arn: self.odb_network_arn,
395            dry_run: self.dry_run,
396            route_table_id: self.route_table_id,
397            destination_cidr_block: self.destination_cidr_block,
398            gateway_id: self.gateway_id,
399            destination_ipv6_cidr_block: self.destination_ipv6_cidr_block,
400            egress_only_internet_gateway_id: self.egress_only_internet_gateway_id,
401            instance_id: self.instance_id,
402            network_interface_id: self.network_interface_id,
403            vpc_peering_connection_id: self.vpc_peering_connection_id,
404            nat_gateway_id: self.nat_gateway_id,
405        })
406    }
407}