Struct aws_sdk_mediaconnect::types::VpcInterfaceRequest
source · #[non_exhaustive]pub struct VpcInterfaceRequest {
pub name: Option<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
Desired VPC Interface for a Flow
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>
The name of the VPC Interface. This value must be unique within the current flow.
network_interface_type: Option<NetworkInterfaceType>
The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
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 VpcInterfaceRequest
impl VpcInterfaceRequest
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the VPC Interface. This value must be unique within the current flow.
sourcepub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
pub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
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 VpcInterfaceRequest
impl VpcInterfaceRequest
sourcepub fn builder() -> VpcInterfaceRequestBuilder
pub fn builder() -> VpcInterfaceRequestBuilder
Creates a new builder-style object to manufacture VpcInterfaceRequest
.
Trait Implementations§
source§impl Clone for VpcInterfaceRequest
impl Clone for VpcInterfaceRequest
source§fn clone(&self) -> VpcInterfaceRequest
fn clone(&self) -> VpcInterfaceRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcInterfaceRequest
impl Debug for VpcInterfaceRequest
source§impl PartialEq for VpcInterfaceRequest
impl PartialEq for VpcInterfaceRequest
source§fn eq(&self, other: &VpcInterfaceRequest) -> bool
fn eq(&self, other: &VpcInterfaceRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcInterfaceRequest
Auto Trait Implementations§
impl Freeze for VpcInterfaceRequest
impl RefUnwindSafe for VpcInterfaceRequest
impl Send for VpcInterfaceRequest
impl Sync for VpcInterfaceRequest
impl Unpin for VpcInterfaceRequest
impl UnwindSafe for VpcInterfaceRequest
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