#[non_exhaustive]pub struct DestinationConfigurationRequestBuilder { /* private fields */ }
Expand description
A builder for DestinationConfigurationRequest
.
Implementations§
source§impl DestinationConfigurationRequestBuilder
impl DestinationConfigurationRequestBuilder
sourcepub fn destination_ip(self, input: impl Into<String>) -> Self
pub fn destination_ip(self, input: impl Into<String>) -> Self
The IP address where you want MediaConnect to send contents of the media stream. 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 you want MediaConnect to send contents of the media stream.
sourcepub fn get_destination_ip(&self) -> &Option<String>
pub fn get_destination_ip(&self) -> &Option<String>
The IP address where you want MediaConnect to send contents of the media stream.
sourcepub fn destination_port(self, input: i32) -> Self
pub fn destination_port(self, input: i32) -> Self
The port that you want MediaConnect to use when it distributes the media stream 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 that you want MediaConnect to use when it distributes the media stream to the output.
sourcepub fn get_destination_port(&self) -> &Option<i32>
pub fn get_destination_port(&self) -> &Option<i32>
The port that you want MediaConnect to use when it distributes the media stream to the output.
sourcepub fn interface(self, input: InterfaceRequest) -> Self
pub fn interface(self, input: InterfaceRequest) -> Self
The VPC interface that you want to use for the media stream associated with the output. This field is required.
sourcepub fn set_interface(self, input: Option<InterfaceRequest>) -> Self
pub fn set_interface(self, input: Option<InterfaceRequest>) -> Self
The VPC interface that you want to use for the media stream associated with the output.
sourcepub fn get_interface(&self) -> &Option<InterfaceRequest>
pub fn get_interface(&self) -> &Option<InterfaceRequest>
The VPC interface that you want to use for the media stream associated with the output.
sourcepub fn build(self) -> DestinationConfigurationRequest
pub fn build(self) -> DestinationConfigurationRequest
Consumes the builder and constructs a DestinationConfigurationRequest
.
Trait Implementations§
source§impl Clone for DestinationConfigurationRequestBuilder
impl Clone for DestinationConfigurationRequestBuilder
source§fn clone(&self) -> DestinationConfigurationRequestBuilder
fn clone(&self) -> DestinationConfigurationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DestinationConfigurationRequestBuilder
impl Default for DestinationConfigurationRequestBuilder
source§fn default() -> DestinationConfigurationRequestBuilder
fn default() -> DestinationConfigurationRequestBuilder
source§impl PartialEq for DestinationConfigurationRequestBuilder
impl PartialEq for DestinationConfigurationRequestBuilder
source§fn eq(&self, other: &DestinationConfigurationRequestBuilder) -> bool
fn eq(&self, other: &DestinationConfigurationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DestinationConfigurationRequestBuilder
Auto Trait Implementations§
impl Freeze for DestinationConfigurationRequestBuilder
impl RefUnwindSafe for DestinationConfigurationRequestBuilder
impl Send for DestinationConfigurationRequestBuilder
impl Sync for DestinationConfigurationRequestBuilder
impl Unpin for DestinationConfigurationRequestBuilder
impl UnwindSafe for DestinationConfigurationRequestBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more