Struct aws_sdk_mediaconnect::types::builders::VpcInterfaceBuilder
source · #[non_exhaustive]pub struct VpcInterfaceBuilder { /* private fields */ }Expand description
A builder for VpcInterface.
Implementations§
source§impl VpcInterfaceBuilder
impl VpcInterfaceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Immutable and has to be a unique against other VpcInterfaces in this Flow. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Immutable and has to be a unique against other VpcInterfaces in this Flow.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Immutable and has to be a unique against other VpcInterfaces in this Flow.
sourcepub fn network_interface_ids(self, input: impl Into<String>) -> Self
pub fn network_interface_ids(self, input: impl Into<String>) -> Self
Appends an item to network_interface_ids.
To override the contents of this collection use set_network_interface_ids.
IDs of the network interfaces created in customer’s account by MediaConnect.
sourcepub fn set_network_interface_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_network_interface_ids(self, input: Option<Vec<String>>) -> Self
IDs of the network interfaces created in customer’s account by MediaConnect.
sourcepub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
pub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
IDs of the network interfaces created in customer’s account by MediaConnect.
sourcepub fn network_interface_type(self, input: NetworkInterfaceType) -> Self
pub fn network_interface_type(self, input: NetworkInterfaceType) -> Self
The type of network interface. This field is required.
sourcepub fn set_network_interface_type(
self,
input: Option<NetworkInterfaceType>
) -> Self
pub fn set_network_interface_type( self, input: Option<NetworkInterfaceType> ) -> Self
The type of network interface.
sourcepub fn get_network_interface_type(&self) -> &Option<NetworkInterfaceType>
pub fn get_network_interface_type(&self) -> &Option<NetworkInterfaceType>
The type of network interface.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
Role Arn MediaConnect can assumes to create ENIs in customer’s account This field is required.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
Role Arn MediaConnect can assumes to create ENIs in customer’s account
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
Role Arn MediaConnect can assumes to create ENIs in customer’s account
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids.
To override the contents of this collection use set_security_group_ids.
Security Group IDs to be used on ENI.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
Security Group IDs to be used on ENI.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
Security Group IDs to be used on ENI.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
Subnet must be in the AZ of the Flow This field is required.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
Subnet must be in the AZ of the Flow
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
Subnet must be in the AZ of the Flow
sourcepub fn build(self) -> VpcInterface
pub fn build(self) -> VpcInterface
Consumes the builder and constructs a VpcInterface.
Trait Implementations§
source§impl Clone for VpcInterfaceBuilder
impl Clone for VpcInterfaceBuilder
source§fn clone(&self) -> VpcInterfaceBuilder
fn clone(&self) -> VpcInterfaceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcInterfaceBuilder
impl Debug for VpcInterfaceBuilder
source§impl Default for VpcInterfaceBuilder
impl Default for VpcInterfaceBuilder
source§fn default() -> VpcInterfaceBuilder
fn default() -> VpcInterfaceBuilder
source§impl PartialEq for VpcInterfaceBuilder
impl PartialEq for VpcInterfaceBuilder
source§fn eq(&self, other: &VpcInterfaceBuilder) -> bool
fn eq(&self, other: &VpcInterfaceBuilder) -> bool
self and other values to be equal, and is used
by ==.