Struct aws_sdk_directconnect::operation::update_virtual_interface_attributes::builders::UpdateVirtualInterfaceAttributesInputBuilder
source · #[non_exhaustive]pub struct UpdateVirtualInterfaceAttributesInputBuilder { /* private fields */ }
Expand description
A builder for UpdateVirtualInterfaceAttributesInput
.
Implementations§
source§impl UpdateVirtualInterfaceAttributesInputBuilder
impl UpdateVirtualInterfaceAttributesInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateVirtualInterfaceAttributesInput, BuildError>
pub fn build(self) -> Result<UpdateVirtualInterfaceAttributesInput, BuildError>
Consumes the builder and constructs a UpdateVirtualInterfaceAttributesInput
.
source§impl UpdateVirtualInterfaceAttributesInputBuilder
impl UpdateVirtualInterfaceAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateVirtualInterfaceAttributesOutput, SdkError<UpdateVirtualInterfaceAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateVirtualInterfaceAttributesOutput, SdkError<UpdateVirtualInterfaceAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateVirtualInterfaceAttributesInputBuilder
impl Clone for UpdateVirtualInterfaceAttributesInputBuilder
source§fn clone(&self) -> UpdateVirtualInterfaceAttributesInputBuilder
fn clone(&self) -> UpdateVirtualInterfaceAttributesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateVirtualInterfaceAttributesInputBuilder
impl Default for UpdateVirtualInterfaceAttributesInputBuilder
source§fn default() -> UpdateVirtualInterfaceAttributesInputBuilder
fn default() -> UpdateVirtualInterfaceAttributesInputBuilder
source§impl PartialEq for UpdateVirtualInterfaceAttributesInputBuilder
impl PartialEq for UpdateVirtualInterfaceAttributesInputBuilder
source§fn eq(&self, other: &UpdateVirtualInterfaceAttributesInputBuilder) -> bool
fn eq(&self, other: &UpdateVirtualInterfaceAttributesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.