pub struct CreatePrivateVirtualInterface { /* 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
sourceimpl CreatePrivateVirtualInterface
impl CreatePrivateVirtualInterface
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreatePrivateVirtualInterface, AwsResponseRetryClassifier>, SdkError<CreatePrivateVirtualInterfaceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreatePrivateVirtualInterface, AwsResponseRetryClassifier>, SdkError<CreatePrivateVirtualInterfaceError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreatePrivateVirtualInterfaceOutput, SdkError<CreatePrivateVirtualInterfaceError>>
pub async fn send(
self
) -> Result<CreatePrivateVirtualInterfaceOutput, SdkError<CreatePrivateVirtualInterfaceError>>
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 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 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.
Trait Implementations
sourceimpl Clone for CreatePrivateVirtualInterface
impl Clone for CreatePrivateVirtualInterface
sourcefn clone(&self) -> CreatePrivateVirtualInterface
fn clone(&self) -> CreatePrivateVirtualInterface
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more