Struct aws_sdk_mediaconnect::types::VpcInterface
source · #[non_exhaustive]pub struct VpcInterface {
pub name: Option<String>,
pub network_interface_ids: Option<Vec<String>>,
pub network_interface_type: Option<NetworkInterfaceType>,
pub role_arn: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub subnet_id: Option<String>,
}
Expand description
The settings for a VPC Source.
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.name: Option<String>
Immutable and has to be a unique against other VpcInterfaces in this Flow.
network_interface_ids: Option<Vec<String>>
IDs of the network interfaces created in customer’s account by MediaConnect.
network_interface_type: Option<NetworkInterfaceType>
The type of network interface.
role_arn: Option<String>
Role Arn MediaConnect can assumes to create ENIs in customer’s account
security_group_ids: Option<Vec<String>>
Security Group IDs to be used on ENI.
subnet_id: Option<String>
Subnet must be in the AZ of the Flow
Implementations§
source§impl VpcInterface
impl VpcInterface
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Immutable and has to be a unique against other VpcInterfaces in this Flow.
sourcepub fn network_interface_ids(&self) -> &[String]
pub fn network_interface_ids(&self) -> &[String]
IDs of the network interfaces created in customer’s account by MediaConnect.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interface_ids.is_none()
.
sourcepub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
pub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
The type of network interface.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
Role Arn MediaConnect can assumes to create ENIs in customer’s account
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
Security Group IDs to be used on ENI.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
source§impl VpcInterface
impl VpcInterface
sourcepub fn builder() -> VpcInterfaceBuilder
pub fn builder() -> VpcInterfaceBuilder
Creates a new builder-style object to manufacture VpcInterface
.
Trait Implementations§
source§impl Clone for VpcInterface
impl Clone for VpcInterface
source§fn clone(&self) -> VpcInterface
fn clone(&self) -> VpcInterface
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcInterface
impl Debug for VpcInterface
source§impl PartialEq for VpcInterface
impl PartialEq for VpcInterface
source§fn eq(&self, other: &VpcInterface) -> bool
fn eq(&self, other: &VpcInterface) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcInterface
Auto Trait Implementations§
impl Freeze for VpcInterface
impl RefUnwindSafe for VpcInterface
impl Send for VpcInterface
impl Sync for VpcInterface
impl Unpin for VpcInterface
impl UnwindSafe for VpcInterface
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