Struct aws_sdk_directconnect::operation::create_private_virtual_interface::builders::CreatePrivateVirtualInterfaceFluentBuilder
source · pub struct CreatePrivateVirtualInterfaceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePrivateVirtualInterface
.
Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region.
Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections
. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces
.
Implementations§
source§impl CreatePrivateVirtualInterfaceFluentBuilder
impl CreatePrivateVirtualInterfaceFluentBuilder
sourcepub fn as_input(&self) -> &CreatePrivateVirtualInterfaceInputBuilder
pub fn as_input(&self) -> &CreatePrivateVirtualInterfaceInputBuilder
Access the CreatePrivateVirtualInterface as a reference.
sourcepub async fn send(
self
) -> Result<CreatePrivateVirtualInterfaceOutput, SdkError<CreatePrivateVirtualInterfaceError, HttpResponse>>
pub async fn send( self ) -> Result<CreatePrivateVirtualInterfaceOutput, SdkError<CreatePrivateVirtualInterfaceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreatePrivateVirtualInterfaceOutput, CreatePrivateVirtualInterfaceError, Self>
pub fn customize( self ) -> CustomizableOperation<CreatePrivateVirtualInterfaceOutput, CreatePrivateVirtualInterfaceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the connection.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the connection.
sourcepub fn new_private_virtual_interface(
self,
input: NewPrivateVirtualInterface
) -> Self
pub fn new_private_virtual_interface( self, input: NewPrivateVirtualInterface ) -> Self
Information about the private virtual interface.
sourcepub fn set_new_private_virtual_interface(
self,
input: Option<NewPrivateVirtualInterface>
) -> Self
pub fn set_new_private_virtual_interface( self, input: Option<NewPrivateVirtualInterface> ) -> Self
Information about the private virtual interface.
sourcepub fn get_new_private_virtual_interface(
&self
) -> &Option<NewPrivateVirtualInterface>
pub fn get_new_private_virtual_interface( &self ) -> &Option<NewPrivateVirtualInterface>
Information about the private virtual interface.
Trait Implementations§
source§impl Clone for CreatePrivateVirtualInterfaceFluentBuilder
impl Clone for CreatePrivateVirtualInterfaceFluentBuilder
source§fn clone(&self) -> CreatePrivateVirtualInterfaceFluentBuilder
fn clone(&self) -> CreatePrivateVirtualInterfaceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more