Skip to main content

aws_sdk_mediaconnect/operation/update_flow_source/
builders.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::update_flow_source::_update_flow_source_output::UpdateFlowSourceOutputBuilder;
3
4pub use crate::operation::update_flow_source::_update_flow_source_input::UpdateFlowSourceInputBuilder;
5
6impl crate::operation::update_flow_source::builders::UpdateFlowSourceInputBuilder {
7    /// Sends a request with this input using the given client.
8    pub async fn send_with(
9        self,
10        client: &crate::Client,
11    ) -> ::std::result::Result<
12        crate::operation::update_flow_source::UpdateFlowSourceOutput,
13        ::aws_smithy_runtime_api::client::result::SdkError<
14            crate::operation::update_flow_source::UpdateFlowSourceError,
15            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16        >,
17    > {
18        let mut fluent_builder = client.update_flow_source();
19        fluent_builder.inner = self;
20        fluent_builder.send().await
21    }
22}
23/// Fluent builder constructing a request to `UpdateFlowSource`.
24///
25/// <p>Updates the source of a flow.</p><note>
26/// <p>Because <code>UpdateFlowSources</code> and <code>UpdateFlow</code> are separate operations, you can't change both the source type AND the flow size in a single request.</p>
27/// <ul>
28/// <li>
29/// <p>If you have a <code>MEDIUM</code> flow and you want to change the flow source to NDI®:</p>
30/// <ul>
31/// <li>
32/// <p>First, use the <code>UpdateFlow</code> operation to upgrade the flow size to <code>LARGE</code>.</p></li>
33/// <li>
34/// <p>After that, you can then use the <code>UpdateFlowSource</code> operation to configure the NDI source.</p></li>
35/// </ul></li>
36/// <li>
37/// <p>If you're switching from an NDI source to a transport stream (TS) source and want to downgrade the flow size:</p>
38/// <ul>
39/// <li>
40/// <p>First, use the <code>UpdateFlowSource</code> operation to change the flow source type.</p></li>
41/// <li>
42/// <p>After that, you can then use the <code>UpdateFlow</code> operation to downgrade the flow size to <code>MEDIUM</code>.</p></li>
43/// </ul></li>
44/// </ul>
45/// </note>
46#[derive(::std::clone::Clone, ::std::fmt::Debug)]
47pub struct UpdateFlowSourceFluentBuilder {
48    handle: ::std::sync::Arc<crate::client::Handle>,
49    inner: crate::operation::update_flow_source::builders::UpdateFlowSourceInputBuilder,
50    config_override: ::std::option::Option<crate::config::Builder>,
51}
52impl
53    crate::client::customize::internal::CustomizableSend<
54        crate::operation::update_flow_source::UpdateFlowSourceOutput,
55        crate::operation::update_flow_source::UpdateFlowSourceError,
56    > for UpdateFlowSourceFluentBuilder
57{
58    fn send(
59        self,
60        config_override: crate::config::Builder,
61    ) -> crate::client::customize::internal::BoxFuture<
62        crate::client::customize::internal::SendResult<
63            crate::operation::update_flow_source::UpdateFlowSourceOutput,
64            crate::operation::update_flow_source::UpdateFlowSourceError,
65        >,
66    > {
67        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
68    }
69}
70impl UpdateFlowSourceFluentBuilder {
71    /// Creates a new `UpdateFlowSourceFluentBuilder`.
72    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
73        Self {
74            handle,
75            inner: ::std::default::Default::default(),
76            config_override: ::std::option::Option::None,
77        }
78    }
79    /// Access the UpdateFlowSource as a reference.
80    pub fn as_input(&self) -> &crate::operation::update_flow_source::builders::UpdateFlowSourceInputBuilder {
81        &self.inner
82    }
83    /// Sends the request and returns the response.
84    ///
85    /// If an error occurs, an `SdkError` will be returned with additional details that
86    /// can be matched against.
87    ///
88    /// By default, any retryable failures will be retried twice. Retry behavior
89    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
90    /// set when configuring the client.
91    pub async fn send(
92        self,
93    ) -> ::std::result::Result<
94        crate::operation::update_flow_source::UpdateFlowSourceOutput,
95        ::aws_smithy_runtime_api::client::result::SdkError<
96            crate::operation::update_flow_source::UpdateFlowSourceError,
97            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
98        >,
99    > {
100        let input = self
101            .inner
102            .build()
103            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
104        let runtime_plugins = crate::operation::update_flow_source::UpdateFlowSource::operation_runtime_plugins(
105            self.handle.runtime_plugins.clone(),
106            &self.handle.conf,
107            self.config_override,
108        );
109        crate::operation::update_flow_source::UpdateFlowSource::orchestrate(&runtime_plugins, input).await
110    }
111
112    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
113    pub fn customize(
114        self,
115    ) -> crate::client::customize::CustomizableOperation<
116        crate::operation::update_flow_source::UpdateFlowSourceOutput,
117        crate::operation::update_flow_source::UpdateFlowSourceError,
118        Self,
119    > {
120        crate::client::customize::CustomizableOperation::new(self)
121    }
122    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
123        self.set_config_override(::std::option::Option::Some(config_override.into()));
124        self
125    }
126
127    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
128        self.config_override = config_override;
129        self
130    }
131    /// <p>The type of encryption that is used on the content ingested from the source.</p>
132    pub fn decryption(mut self, input: crate::types::UpdateEncryption) -> Self {
133        self.inner = self.inner.decryption(input);
134        self
135    }
136    /// <p>The type of encryption that is used on the content ingested from the source.</p>
137    pub fn set_decryption(mut self, input: ::std::option::Option<crate::types::UpdateEncryption>) -> Self {
138        self.inner = self.inner.set_decryption(input);
139        self
140    }
141    /// <p>The type of encryption that is used on the content ingested from the source.</p>
142    pub fn get_decryption(&self) -> &::std::option::Option<crate::types::UpdateEncryption> {
143        self.inner.get_decryption()
144    }
145    /// <p>A description of the source. This description is not visible outside of the current Amazon Web Services account.</p>
146    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
147        self.inner = self.inner.description(input.into());
148        self
149    }
150    /// <p>A description of the source. This description is not visible outside of the current Amazon Web Services account.</p>
151    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
152        self.inner = self.inner.set_description(input);
153        self
154    }
155    /// <p>A description of the source. This description is not visible outside of the current Amazon Web Services account.</p>
156    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
157        self.inner.get_description()
158    }
159    /// <p>The Amazon Resource Name (ARN) of the entitlement that allows you to subscribe to the flow. The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.</p>
160    pub fn entitlement_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
161        self.inner = self.inner.entitlement_arn(input.into());
162        self
163    }
164    /// <p>The Amazon Resource Name (ARN) of the entitlement that allows you to subscribe to the flow. The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.</p>
165    pub fn set_entitlement_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
166        self.inner = self.inner.set_entitlement_arn(input);
167        self
168    }
169    /// <p>The Amazon Resource Name (ARN) of the entitlement that allows you to subscribe to the flow. The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.</p>
170    pub fn get_entitlement_arn(&self) -> &::std::option::Option<::std::string::String> {
171        self.inner.get_entitlement_arn()
172    }
173    /// <p>The ARN of the flow that you want to update.</p>
174    pub fn flow_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
175        self.inner = self.inner.flow_arn(input.into());
176        self
177    }
178    /// <p>The ARN of the flow that you want to update.</p>
179    pub fn set_flow_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
180        self.inner = self.inner.set_flow_arn(input);
181        self
182    }
183    /// <p>The ARN of the flow that you want to update.</p>
184    pub fn get_flow_arn(&self) -> &::std::option::Option<::std::string::String> {
185        self.inner.get_flow_arn()
186    }
187    /// <p>The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.</p>
188    pub fn ingest_port(mut self, input: i32) -> Self {
189        self.inner = self.inner.ingest_port(input);
190        self
191    }
192    /// <p>The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.</p>
193    pub fn set_ingest_port(mut self, input: ::std::option::Option<i32>) -> Self {
194        self.inner = self.inner.set_ingest_port(input);
195        self
196    }
197    /// <p>The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.</p>
198    pub fn get_ingest_port(&self) -> &::std::option::Option<i32> {
199        self.inner.get_ingest_port()
200    }
201    /// <p>The maximum bitrate for RIST, RTP, and RTP-FEC streams.</p>
202    pub fn max_bitrate(mut self, input: i32) -> Self {
203        self.inner = self.inner.max_bitrate(input);
204        self
205    }
206    /// <p>The maximum bitrate for RIST, RTP, and RTP-FEC streams.</p>
207    pub fn set_max_bitrate(mut self, input: ::std::option::Option<i32>) -> Self {
208        self.inner = self.inner.set_max_bitrate(input);
209        self
210    }
211    /// <p>The maximum bitrate for RIST, RTP, and RTP-FEC streams.</p>
212    pub fn get_max_bitrate(&self) -> &::std::option::Option<i32> {
213        self.inner.get_max_bitrate()
214    }
215    /// <p>The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.</p>
216    pub fn max_latency(mut self, input: i32) -> Self {
217        self.inner = self.inner.max_latency(input);
218        self
219    }
220    /// <p>The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.</p>
221    pub fn set_max_latency(mut self, input: ::std::option::Option<i32>) -> Self {
222        self.inner = self.inner.set_max_latency(input);
223        self
224    }
225    /// <p>The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.</p>
226    pub fn get_max_latency(&self) -> &::std::option::Option<i32> {
227        self.inner.get_max_latency()
228    }
229    /// <p>The size of the buffer (in milliseconds) to use to sync incoming source data.</p>
230    pub fn max_sync_buffer(mut self, input: i32) -> Self {
231        self.inner = self.inner.max_sync_buffer(input);
232        self
233    }
234    /// <p>The size of the buffer (in milliseconds) to use to sync incoming source data.</p>
235    pub fn set_max_sync_buffer(mut self, input: ::std::option::Option<i32>) -> Self {
236        self.inner = self.inner.set_max_sync_buffer(input);
237        self
238    }
239    /// <p>The size of the buffer (in milliseconds) to use to sync incoming source data.</p>
240    pub fn get_max_sync_buffer(&self) -> &::std::option::Option<i32> {
241        self.inner.get_max_sync_buffer()
242    }
243    ///
244    /// Appends an item to `MediaStreamSourceConfigurations`.
245    ///
246    /// To override the contents of this collection use [`set_media_stream_source_configurations`](Self::set_media_stream_source_configurations).
247    ///
248    /// <p>The media stream that is associated with the source, and the parameters for that association.</p>
249    pub fn media_stream_source_configurations(mut self, input: crate::types::MediaStreamSourceConfigurationRequest) -> Self {
250        self.inner = self.inner.media_stream_source_configurations(input);
251        self
252    }
253    /// <p>The media stream that is associated with the source, and the parameters for that association.</p>
254    pub fn set_media_stream_source_configurations(
255        mut self,
256        input: ::std::option::Option<::std::vec::Vec<crate::types::MediaStreamSourceConfigurationRequest>>,
257    ) -> Self {
258        self.inner = self.inner.set_media_stream_source_configurations(input);
259        self
260    }
261    /// <p>The media stream that is associated with the source, and the parameters for that association.</p>
262    pub fn get_media_stream_source_configurations(
263        &self,
264    ) -> &::std::option::Option<::std::vec::Vec<crate::types::MediaStreamSourceConfigurationRequest>> {
265        self.inner.get_media_stream_source_configurations()
266    }
267    /// <p>The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.</p>
268    pub fn min_latency(mut self, input: i32) -> Self {
269        self.inner = self.inner.min_latency(input);
270        self
271    }
272    /// <p>The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.</p>
273    pub fn set_min_latency(mut self, input: ::std::option::Option<i32>) -> Self {
274        self.inner = self.inner.set_min_latency(input);
275        self
276    }
277    /// <p>The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.</p>
278    pub fn get_min_latency(&self) -> &::std::option::Option<i32> {
279        self.inner.get_min_latency()
280    }
281    /// <p>The protocol that the source uses to deliver the content to MediaConnect.</p><note>
282    /// <p>Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.</p>
283    /// </note>
284    pub fn protocol(mut self, input: crate::types::Protocol) -> Self {
285        self.inner = self.inner.protocol(input);
286        self
287    }
288    /// <p>The protocol that the source uses to deliver the content to MediaConnect.</p><note>
289    /// <p>Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.</p>
290    /// </note>
291    pub fn set_protocol(mut self, input: ::std::option::Option<crate::types::Protocol>) -> Self {
292        self.inner = self.inner.set_protocol(input);
293        self
294    }
295    /// <p>The protocol that the source uses to deliver the content to MediaConnect.</p><note>
296    /// <p>Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.</p>
297    /// </note>
298    pub fn get_protocol(&self) -> &::std::option::Option<crate::types::Protocol> {
299        self.inner.get_protocol()
300    }
301    /// <p>The port that the flow uses to send outbound requests to initiate connection with the sender.</p>
302    pub fn sender_control_port(mut self, input: i32) -> Self {
303        self.inner = self.inner.sender_control_port(input);
304        self
305    }
306    /// <p>The port that the flow uses to send outbound requests to initiate connection with the sender.</p>
307    pub fn set_sender_control_port(mut self, input: ::std::option::Option<i32>) -> Self {
308        self.inner = self.inner.set_sender_control_port(input);
309        self
310    }
311    /// <p>The port that the flow uses to send outbound requests to initiate connection with the sender.</p>
312    pub fn get_sender_control_port(&self) -> &::std::option::Option<i32> {
313        self.inner.get_sender_control_port()
314    }
315    /// <p>The IP address that the flow communicates with to initiate connection with the sender.</p>
316    pub fn sender_ip_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
317        self.inner = self.inner.sender_ip_address(input.into());
318        self
319    }
320    /// <p>The IP address that the flow communicates with to initiate connection with the sender.</p>
321    pub fn set_sender_ip_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
322        self.inner = self.inner.set_sender_ip_address(input);
323        self
324    }
325    /// <p>The IP address that the flow communicates with to initiate connection with the sender.</p>
326    pub fn get_sender_ip_address(&self) -> &::std::option::Option<::std::string::String> {
327        self.inner.get_sender_ip_address()
328    }
329    /// <p>The ARN of the source that you want to update.</p>
330    pub fn source_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
331        self.inner = self.inner.source_arn(input.into());
332        self
333    }
334    /// <p>The ARN of the source that you want to update.</p>
335    pub fn set_source_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
336        self.inner = self.inner.set_source_arn(input);
337        self
338    }
339    /// <p>The ARN of the source that you want to update.</p>
340    pub fn get_source_arn(&self) -> &::std::option::Option<::std::string::String> {
341        self.inner.get_source_arn()
342    }
343    /// <p>The source IP or domain name for SRT-caller protocol.</p>
344    pub fn source_listener_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
345        self.inner = self.inner.source_listener_address(input.into());
346        self
347    }
348    /// <p>The source IP or domain name for SRT-caller protocol.</p>
349    pub fn set_source_listener_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
350        self.inner = self.inner.set_source_listener_address(input);
351        self
352    }
353    /// <p>The source IP or domain name for SRT-caller protocol.</p>
354    pub fn get_source_listener_address(&self) -> &::std::option::Option<::std::string::String> {
355        self.inner.get_source_listener_address()
356    }
357    /// <p>Source port for SRT-caller protocol.</p>
358    pub fn source_listener_port(mut self, input: i32) -> Self {
359        self.inner = self.inner.source_listener_port(input);
360        self
361    }
362    /// <p>Source port for SRT-caller protocol.</p>
363    pub fn set_source_listener_port(mut self, input: ::std::option::Option<i32>) -> Self {
364        self.inner = self.inner.set_source_listener_port(input);
365        self
366    }
367    /// <p>Source port for SRT-caller protocol.</p>
368    pub fn get_source_listener_port(&self) -> &::std::option::Option<i32> {
369        self.inner.get_source_listener_port()
370    }
371    /// <p>The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.</p>
372    pub fn stream_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
373        self.inner = self.inner.stream_id(input.into());
374        self
375    }
376    /// <p>The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.</p>
377    pub fn set_stream_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
378        self.inner = self.inner.set_stream_id(input);
379        self
380    }
381    /// <p>The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.</p>
382    pub fn get_stream_id(&self) -> &::std::option::Option<::std::string::String> {
383        self.inner.get_stream_id()
384    }
385    /// <p>The name of the VPC interface that you want to send your output to.</p>
386    pub fn vpc_interface_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
387        self.inner = self.inner.vpc_interface_name(input.into());
388        self
389    }
390    /// <p>The name of the VPC interface that you want to send your output to.</p>
391    pub fn set_vpc_interface_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
392        self.inner = self.inner.set_vpc_interface_name(input);
393        self
394    }
395    /// <p>The name of the VPC interface that you want to send your output to.</p>
396    pub fn get_vpc_interface_name(&self) -> &::std::option::Option<::std::string::String> {
397        self.inner.get_vpc_interface_name()
398    }
399    /// <p>The range of IP addresses that are allowed to contribute content to your source. Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.</p>
400    pub fn whitelist_cidr(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
401        self.inner = self.inner.whitelist_cidr(input.into());
402        self
403    }
404    /// <p>The range of IP addresses that are allowed to contribute content to your source. Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.</p>
405    pub fn set_whitelist_cidr(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
406        self.inner = self.inner.set_whitelist_cidr(input);
407        self
408    }
409    /// <p>The range of IP addresses that are allowed to contribute content to your source. Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.</p>
410    pub fn get_whitelist_cidr(&self) -> &::std::option::Option<::std::string::String> {
411        self.inner.get_whitelist_cidr()
412    }
413    /// <p>The source configuration for cloud flows receiving a stream from a bridge.</p>
414    pub fn gateway_bridge_source(mut self, input: crate::types::UpdateGatewayBridgeSourceRequest) -> Self {
415        self.inner = self.inner.gateway_bridge_source(input);
416        self
417    }
418    /// <p>The source configuration for cloud flows receiving a stream from a bridge.</p>
419    pub fn set_gateway_bridge_source(mut self, input: ::std::option::Option<crate::types::UpdateGatewayBridgeSourceRequest>) -> Self {
420        self.inner = self.inner.set_gateway_bridge_source(input);
421        self
422    }
423    /// <p>The source configuration for cloud flows receiving a stream from a bridge.</p>
424    pub fn get_gateway_bridge_source(&self) -> &::std::option::Option<crate::types::UpdateGatewayBridgeSourceRequest> {
425        self.inner.get_gateway_bridge_source()
426    }
427    /// <p>The settings for the NDI source. This includes the exact name of the upstream NDI sender that you want to connect to your source.</p>
428    pub fn ndi_source_settings(mut self, input: crate::types::NdiSourceSettings) -> Self {
429        self.inner = self.inner.ndi_source_settings(input);
430        self
431    }
432    /// <p>The settings for the NDI source. This includes the exact name of the upstream NDI sender that you want to connect to your source.</p>
433    pub fn set_ndi_source_settings(mut self, input: ::std::option::Option<crate::types::NdiSourceSettings>) -> Self {
434        self.inner = self.inner.set_ndi_source_settings(input);
435        self
436    }
437    /// <p>The settings for the NDI source. This includes the exact name of the upstream NDI sender that you want to connect to your source.</p>
438    pub fn get_ndi_source_settings(&self) -> &::std::option::Option<crate::types::NdiSourceSettings> {
439        self.inner.get_ndi_source_settings()
440    }
441    /// <p>Indicates whether to enable or disable router integration for this flow source.</p>
442    pub fn router_integration_state(mut self, input: crate::types::State) -> Self {
443        self.inner = self.inner.router_integration_state(input);
444        self
445    }
446    /// <p>Indicates whether to enable or disable router integration for this flow source.</p>
447    pub fn set_router_integration_state(mut self, input: ::std::option::Option<crate::types::State>) -> Self {
448        self.inner = self.inner.set_router_integration_state(input);
449        self
450    }
451    /// <p>Indicates whether to enable or disable router integration for this flow source.</p>
452    pub fn get_router_integration_state(&self) -> &::std::option::Option<crate::types::State> {
453        self.inner.get_router_integration_state()
454    }
455    /// <p>The encryption configuration for the flow source when router integration is enabled.</p>
456    pub fn router_integration_transit_decryption(mut self, input: crate::types::FlowTransitEncryption) -> Self {
457        self.inner = self.inner.router_integration_transit_decryption(input);
458        self
459    }
460    /// <p>The encryption configuration for the flow source when router integration is enabled.</p>
461    pub fn set_router_integration_transit_decryption(mut self, input: ::std::option::Option<crate::types::FlowTransitEncryption>) -> Self {
462        self.inner = self.inner.set_router_integration_transit_decryption(input);
463        self
464    }
465    /// <p>The encryption configuration for the flow source when router integration is enabled.</p>
466    pub fn get_router_integration_transit_decryption(&self) -> &::std::option::Option<crate::types::FlowTransitEncryption> {
467        self.inner.get_router_integration_transit_decryption()
468    }
469}