Struct aws_sdk_mediaconnect::types::builders::GatewayNetworkBuilder
source · #[non_exhaustive]pub struct GatewayNetworkBuilder { /* private fields */ }
Expand description
A builder for GatewayNetwork
.
Implementations§
source§impl GatewayNetworkBuilder
impl GatewayNetworkBuilder
sourcepub fn cidr_block(self, input: impl Into<String>) -> Self
pub fn cidr_block(self, input: impl Into<String>) -> Self
A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. This field is required.
sourcepub fn set_cidr_block(self, input: Option<String>) -> Self
pub fn set_cidr_block(self, input: Option<String>) -> Self
A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
sourcepub fn get_cidr_block(&self) -> &Option<String>
pub fn get_cidr_block(&self) -> &Option<String>
A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the network. This name is used to reference the network and must be unique among networks in this gateway. 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. This name is used to reference the network and must be unique among networks in this gateway.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
sourcepub fn build(self) -> GatewayNetwork
pub fn build(self) -> GatewayNetwork
Consumes the builder and constructs a GatewayNetwork
.
Trait Implementations§
source§impl Clone for GatewayNetworkBuilder
impl Clone for GatewayNetworkBuilder
source§fn clone(&self) -> GatewayNetworkBuilder
fn clone(&self) -> GatewayNetworkBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GatewayNetworkBuilder
impl Debug for GatewayNetworkBuilder
source§impl Default for GatewayNetworkBuilder
impl Default for GatewayNetworkBuilder
source§fn default() -> GatewayNetworkBuilder
fn default() -> GatewayNetworkBuilder
source§impl PartialEq for GatewayNetworkBuilder
impl PartialEq for GatewayNetworkBuilder
source§fn eq(&self, other: &GatewayNetworkBuilder) -> bool
fn eq(&self, other: &GatewayNetworkBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GatewayNetworkBuilder
Auto Trait Implementations§
impl Freeze for GatewayNetworkBuilder
impl RefUnwindSafe for GatewayNetworkBuilder
impl Send for GatewayNetworkBuilder
impl Sync for GatewayNetworkBuilder
impl Unpin for GatewayNetworkBuilder
impl UnwindSafe for GatewayNetworkBuilder
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