Struct aws_sdk_directconnect::operation::update_virtual_interface_attributes::builders::UpdateVirtualInterfaceAttributesFluentBuilder
source · pub struct UpdateVirtualInterfaceAttributesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateVirtualInterfaceAttributes
.
Updates the specified attributes of the specified virtual private interface.
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 UpdateVirtualInterfaceAttributesFluentBuilder
impl UpdateVirtualInterfaceAttributesFluentBuilder
sourcepub fn as_input(&self) -> &UpdateVirtualInterfaceAttributesInputBuilder
pub fn as_input(&self) -> &UpdateVirtualInterfaceAttributesInputBuilder
Access the UpdateVirtualInterfaceAttributes as a reference.
sourcepub async fn send(
self
) -> Result<UpdateVirtualInterfaceAttributesOutput, SdkError<UpdateVirtualInterfaceAttributesError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateVirtualInterfaceAttributesOutput, SdkError<UpdateVirtualInterfaceAttributesError, 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<UpdateVirtualInterfaceAttributesOutput, UpdateVirtualInterfaceAttributesError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateVirtualInterfaceAttributesOutput, UpdateVirtualInterfaceAttributesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn virtual_interface_id(self, input: impl Into<String>) -> Self
pub fn virtual_interface_id(self, input: impl Into<String>) -> Self
The ID of the virtual private interface.
sourcepub fn set_virtual_interface_id(self, input: Option<String>) -> Self
pub fn set_virtual_interface_id(self, input: Option<String>) -> Self
The ID of the virtual private interface.
sourcepub fn get_virtual_interface_id(&self) -> &Option<String>
pub fn get_virtual_interface_id(&self) -> &Option<String>
The ID of the virtual private interface.
sourcepub fn mtu(self, input: i32) -> Self
pub fn mtu(self, input: i32) -> Self
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
sourcepub fn set_mtu(self, input: Option<i32>) -> Self
pub fn set_mtu(self, input: Option<i32>) -> Self
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
sourcepub fn get_mtu(&self) -> &Option<i32>
pub fn get_mtu(&self) -> &Option<i32>
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
sourcepub fn enable_site_link(self, input: bool) -> Self
pub fn enable_site_link(self, input: bool) -> Self
Indicates whether to enable or disable SiteLink.
sourcepub fn set_enable_site_link(self, input: Option<bool>) -> Self
pub fn set_enable_site_link(self, input: Option<bool>) -> Self
Indicates whether to enable or disable SiteLink.
sourcepub fn get_enable_site_link(&self) -> &Option<bool>
pub fn get_enable_site_link(&self) -> &Option<bool>
Indicates whether to enable or disable SiteLink.
sourcepub fn virtual_interface_name(self, input: impl Into<String>) -> Self
pub fn virtual_interface_name(self, input: impl Into<String>) -> Self
The name of the virtual private interface.
sourcepub fn set_virtual_interface_name(self, input: Option<String>) -> Self
pub fn set_virtual_interface_name(self, input: Option<String>) -> Self
The name of the virtual private interface.
sourcepub fn get_virtual_interface_name(&self) -> &Option<String>
pub fn get_virtual_interface_name(&self) -> &Option<String>
The name of the virtual private interface.
Trait Implementations§
source§impl Clone for UpdateVirtualInterfaceAttributesFluentBuilder
impl Clone for UpdateVirtualInterfaceAttributesFluentBuilder
source§fn clone(&self) -> UpdateVirtualInterfaceAttributesFluentBuilder
fn clone(&self) -> UpdateVirtualInterfaceAttributesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more