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 ==.impl StructuralPartialEq for UpdateVirtualInterfaceAttributesInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateVirtualInterfaceAttributesInputBuilder
impl RefUnwindSafe for UpdateVirtualInterfaceAttributesInputBuilder
impl Send for UpdateVirtualInterfaceAttributesInputBuilder
impl Sync for UpdateVirtualInterfaceAttributesInputBuilder
impl Unpin for UpdateVirtualInterfaceAttributesInputBuilder
impl UnwindSafe for UpdateVirtualInterfaceAttributesInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more