Struct aws_sdk_directconnect::operation::delete_virtual_interface::builders::DeleteVirtualInterfaceInputBuilder
source · #[non_exhaustive]pub struct DeleteVirtualInterfaceInputBuilder { /* private fields */ }Expand description
A builder for DeleteVirtualInterfaceInput.
Implementations§
source§impl DeleteVirtualInterfaceInputBuilder
impl DeleteVirtualInterfaceInputBuilder
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 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 interface.
sourcepub fn get_virtual_interface_id(&self) -> &Option<String>
pub fn get_virtual_interface_id(&self) -> &Option<String>
The ID of the virtual interface.
sourcepub fn build(self) -> Result<DeleteVirtualInterfaceInput, BuildError>
pub fn build(self) -> Result<DeleteVirtualInterfaceInput, BuildError>
Consumes the builder and constructs a DeleteVirtualInterfaceInput.
source§impl DeleteVirtualInterfaceInputBuilder
impl DeleteVirtualInterfaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteVirtualInterfaceOutput, SdkError<DeleteVirtualInterfaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteVirtualInterfaceOutput, SdkError<DeleteVirtualInterfaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteVirtualInterfaceInputBuilder
impl Clone for DeleteVirtualInterfaceInputBuilder
source§fn clone(&self) -> DeleteVirtualInterfaceInputBuilder
fn clone(&self) -> DeleteVirtualInterfaceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteVirtualInterfaceInputBuilder
impl Default for DeleteVirtualInterfaceInputBuilder
source§fn default() -> DeleteVirtualInterfaceInputBuilder
fn default() -> DeleteVirtualInterfaceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteVirtualInterfaceInputBuilder
impl PartialEq for DeleteVirtualInterfaceInputBuilder
source§fn eq(&self, other: &DeleteVirtualInterfaceInputBuilder) -> bool
fn eq(&self, other: &DeleteVirtualInterfaceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteVirtualInterfaceInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteVirtualInterfaceInputBuilder
impl RefUnwindSafe for DeleteVirtualInterfaceInputBuilder
impl Send for DeleteVirtualInterfaceInputBuilder
impl Sync for DeleteVirtualInterfaceInputBuilder
impl Unpin for DeleteVirtualInterfaceInputBuilder
impl UnwindSafe for DeleteVirtualInterfaceInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.