Struct aws_sdk_mediaconnect::types::Gateway
source · #[non_exhaustive]pub struct Gateway {
pub egress_cidr_blocks: Option<Vec<String>>,
pub gateway_arn: Option<String>,
pub gateway_messages: Option<Vec<MessageDetail>>,
pub gateway_state: Option<GatewayState>,
pub name: Option<String>,
pub networks: Option<Vec<GatewayNetwork>>,
}
Expand description
The settings for a gateway, including its networks.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.egress_cidr_blocks: Option<Vec<String>>
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway.
gateway_messages: Option<Vec<MessageDetail>>
§gateway_state: Option<GatewayState>
The current status of the gateway.
name: Option<String>
The name of the gateway. This name can not be modified after the gateway is created.
networks: Option<Vec<GatewayNetwork>>
The list of networks in the gateway.
Implementations§
source§impl Gateway
impl Gateway
sourcepub fn egress_cidr_blocks(&self) -> &[String]
pub fn egress_cidr_blocks(&self) -> &[String]
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .egress_cidr_blocks.is_none()
.
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway.
sourcepub fn gateway_messages(&self) -> &[MessageDetail]
pub fn gateway_messages(&self) -> &[MessageDetail]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .gateway_messages.is_none()
.
sourcepub fn gateway_state(&self) -> Option<&GatewayState>
pub fn gateway_state(&self) -> Option<&GatewayState>
The current status of the gateway.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the gateway. This name can not be modified after the gateway is created.
sourcepub fn networks(&self) -> &[GatewayNetwork]
pub fn networks(&self) -> &[GatewayNetwork]
The list of networks in the gateway.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .networks.is_none()
.
Trait Implementations§
source§impl PartialEq for Gateway
impl PartialEq for Gateway
impl StructuralPartialEq for Gateway
Auto Trait Implementations§
impl Freeze for Gateway
impl RefUnwindSafe for Gateway
impl Send for Gateway
impl Sync for Gateway
impl Unpin for Gateway
impl UnwindSafe for Gateway
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