#[non_exhaustive]pub struct DestinationConfigurationBuilder { /* private fields */ }Expand description
A builder for DestinationConfiguration.
Implementations§
source§impl DestinationConfigurationBuilder
impl DestinationConfigurationBuilder
sourcepub fn destination_ip(self, input: impl Into<String>) -> Self
pub fn destination_ip(self, input: impl Into<String>) -> Self
The IP address where contents of the media stream will be sent. This field is required.
sourcepub fn set_destination_ip(self, input: Option<String>) -> Self
pub fn set_destination_ip(self, input: Option<String>) -> Self
The IP address where contents of the media stream will be sent.
sourcepub fn get_destination_ip(&self) -> &Option<String>
pub fn get_destination_ip(&self) -> &Option<String>
The IP address where contents of the media stream will be sent.
sourcepub fn destination_port(self, input: i32) -> Self
pub fn destination_port(self, input: i32) -> Self
The port to use when the content of the media stream is distributed to the output. This field is required.
sourcepub fn set_destination_port(self, input: Option<i32>) -> Self
pub fn set_destination_port(self, input: Option<i32>) -> Self
The port to use when the content of the media stream is distributed to the output.
sourcepub fn get_destination_port(&self) -> &Option<i32>
pub fn get_destination_port(&self) -> &Option<i32>
The port to use when the content of the media stream is distributed to the output.
sourcepub fn interface(self, input: Interface) -> Self
pub fn interface(self, input: Interface) -> Self
The VPC interface that is used for the media stream associated with the output. This field is required.
sourcepub fn set_interface(self, input: Option<Interface>) -> Self
pub fn set_interface(self, input: Option<Interface>) -> Self
The VPC interface that is used for the media stream associated with the output.
sourcepub fn get_interface(&self) -> &Option<Interface>
pub fn get_interface(&self) -> &Option<Interface>
The VPC interface that is used for the media stream associated with the output.
sourcepub fn outbound_ip(self, input: impl Into<String>) -> Self
pub fn outbound_ip(self, input: impl Into<String>) -> Self
The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol. This field is required.
sourcepub fn set_outbound_ip(self, input: Option<String>) -> Self
pub fn set_outbound_ip(self, input: Option<String>) -> Self
The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.
sourcepub fn get_outbound_ip(&self) -> &Option<String>
pub fn get_outbound_ip(&self) -> &Option<String>
The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.
sourcepub fn build(self) -> DestinationConfiguration
pub fn build(self) -> DestinationConfiguration
Consumes the builder and constructs a DestinationConfiguration.
Trait Implementations§
source§impl Clone for DestinationConfigurationBuilder
impl Clone for DestinationConfigurationBuilder
source§fn clone(&self) -> DestinationConfigurationBuilder
fn clone(&self) -> DestinationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DestinationConfigurationBuilder
impl Default for DestinationConfigurationBuilder
source§fn default() -> DestinationConfigurationBuilder
fn default() -> DestinationConfigurationBuilder
source§impl PartialEq for DestinationConfigurationBuilder
impl PartialEq for DestinationConfigurationBuilder
source§fn eq(&self, other: &DestinationConfigurationBuilder) -> bool
fn eq(&self, other: &DestinationConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.