#[non_exhaustive]pub struct AddBridgeNetworkSourceRequestBuilder { /* private fields */ }
Expand description
A builder for AddBridgeNetworkSourceRequest
.
Implementations§
source§impl AddBridgeNetworkSourceRequestBuilder
impl AddBridgeNetworkSourceRequestBuilder
sourcepub fn multicast_ip(self, input: impl Into<String>) -> Self
pub fn multicast_ip(self, input: impl Into<String>) -> Self
The network source multicast IP. This field is required.
sourcepub fn set_multicast_ip(self, input: Option<String>) -> Self
pub fn set_multicast_ip(self, input: Option<String>) -> Self
The network source multicast IP.
sourcepub fn get_multicast_ip(&self) -> &Option<String>
pub fn get_multicast_ip(&self) -> &Option<String>
The network source multicast IP.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the network source. This name is used to reference the source and must be unique among sources in this bridge. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.
sourcepub fn network_name(self, input: impl Into<String>) -> Self
pub fn network_name(self, input: impl Into<String>) -> Self
The network source’s gateway network name. This field is required.
sourcepub fn set_network_name(self, input: Option<String>) -> Self
pub fn set_network_name(self, input: Option<String>) -> Self
The network source’s gateway network name.
sourcepub fn get_network_name(&self) -> &Option<String>
pub fn get_network_name(&self) -> &Option<String>
The network source’s gateway network name.
sourcepub fn protocol(self, input: Protocol) -> Self
pub fn protocol(self, input: Protocol) -> Self
The network source protocol. This field is required.
sourcepub fn set_protocol(self, input: Option<Protocol>) -> Self
pub fn set_protocol(self, input: Option<Protocol>) -> Self
The network source protocol.
sourcepub fn get_protocol(&self) -> &Option<Protocol>
pub fn get_protocol(&self) -> &Option<Protocol>
The network source protocol.
sourcepub fn build(self) -> AddBridgeNetworkSourceRequest
pub fn build(self) -> AddBridgeNetworkSourceRequest
Consumes the builder and constructs a AddBridgeNetworkSourceRequest
.
Trait Implementations§
source§impl Clone for AddBridgeNetworkSourceRequestBuilder
impl Clone for AddBridgeNetworkSourceRequestBuilder
source§fn clone(&self) -> AddBridgeNetworkSourceRequestBuilder
fn clone(&self) -> AddBridgeNetworkSourceRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AddBridgeNetworkSourceRequestBuilder
impl Default for AddBridgeNetworkSourceRequestBuilder
source§fn default() -> AddBridgeNetworkSourceRequestBuilder
fn default() -> AddBridgeNetworkSourceRequestBuilder
source§impl PartialEq for AddBridgeNetworkSourceRequestBuilder
impl PartialEq for AddBridgeNetworkSourceRequestBuilder
source§fn eq(&self, other: &AddBridgeNetworkSourceRequestBuilder) -> bool
fn eq(&self, other: &AddBridgeNetworkSourceRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddBridgeNetworkSourceRequestBuilder
Auto Trait Implementations§
impl Freeze for AddBridgeNetworkSourceRequestBuilder
impl RefUnwindSafe for AddBridgeNetworkSourceRequestBuilder
impl Send for AddBridgeNetworkSourceRequestBuilder
impl Sync for AddBridgeNetworkSourceRequestBuilder
impl Unpin for AddBridgeNetworkSourceRequestBuilder
impl UnwindSafe for AddBridgeNetworkSourceRequestBuilder
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