#[non_exhaustive]pub struct VpcInterfaceRequestBuilder { /* private fields */ }Expand description
A builder for VpcInterfaceRequest.
Implementations§
source§impl VpcInterfaceRequestBuilder
impl VpcInterfaceRequestBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the VPC Interface. This value must be unique within the current flow. 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 VPC Interface. This value must be unique within the current flow.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the VPC Interface. This value must be unique within the current flow.
sourcepub fn network_interface_type(self, input: NetworkInterfaceType) -> Self
pub fn network_interface_type(self, input: NetworkInterfaceType) -> Self
The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
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. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
sourcepub fn get_network_interface_type(&self) -> &Option<NetworkInterfaceType>
pub fn get_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, 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) -> VpcInterfaceRequest
pub fn build(self) -> VpcInterfaceRequest
Consumes the builder and constructs a VpcInterfaceRequest.
Trait Implementations§
source§impl Clone for VpcInterfaceRequestBuilder
impl Clone for VpcInterfaceRequestBuilder
source§fn clone(&self) -> VpcInterfaceRequestBuilder
fn clone(&self) -> VpcInterfaceRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcInterfaceRequestBuilder
impl Debug for VpcInterfaceRequestBuilder
source§impl Default for VpcInterfaceRequestBuilder
impl Default for VpcInterfaceRequestBuilder
source§fn default() -> VpcInterfaceRequestBuilder
fn default() -> VpcInterfaceRequestBuilder
source§impl PartialEq for VpcInterfaceRequestBuilder
impl PartialEq for VpcInterfaceRequestBuilder
source§fn eq(&self, other: &VpcInterfaceRequestBuilder) -> bool
fn eq(&self, other: &VpcInterfaceRequestBuilder) -> bool
self and other values to be equal, and is used
by ==.