Struct aws_sdk_directconnect::operation::allocate_transit_virtual_interface::builders::AllocateTransitVirtualInterfaceInputBuilder
source · #[non_exhaustive]pub struct AllocateTransitVirtualInterfaceInputBuilder { /* private fields */ }Expand description
A builder for AllocateTransitVirtualInterfaceInput.
Implementations§
source§impl AllocateTransitVirtualInterfaceInputBuilder
impl AllocateTransitVirtualInterfaceInputBuilder
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 on which the transit virtual interface is provisioned.
This field is required.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 on which the transit virtual interface is provisioned.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the connection on which the transit virtual interface is provisioned.
sourcepub fn owner_account(self, input: impl Into<String>) -> Self
pub fn owner_account(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the transit virtual interface.
This field is required.sourcepub fn set_owner_account(self, input: Option<String>) -> Self
pub fn set_owner_account(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the transit virtual interface.
sourcepub fn get_owner_account(&self) -> &Option<String>
pub fn get_owner_account(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the transit virtual interface.
sourcepub fn new_transit_virtual_interface_allocation(
self,
input: NewTransitVirtualInterfaceAllocation,
) -> Self
pub fn new_transit_virtual_interface_allocation( self, input: NewTransitVirtualInterfaceAllocation, ) -> Self
Information about the transit virtual interface.
This field is required.sourcepub fn set_new_transit_virtual_interface_allocation(
self,
input: Option<NewTransitVirtualInterfaceAllocation>,
) -> Self
pub fn set_new_transit_virtual_interface_allocation( self, input: Option<NewTransitVirtualInterfaceAllocation>, ) -> Self
Information about the transit virtual interface.
sourcepub fn get_new_transit_virtual_interface_allocation(
&self,
) -> &Option<NewTransitVirtualInterfaceAllocation>
pub fn get_new_transit_virtual_interface_allocation( &self, ) -> &Option<NewTransitVirtualInterfaceAllocation>
Information about the transit virtual interface.
sourcepub fn build(self) -> Result<AllocateTransitVirtualInterfaceInput, BuildError>
pub fn build(self) -> Result<AllocateTransitVirtualInterfaceInput, BuildError>
Consumes the builder and constructs a AllocateTransitVirtualInterfaceInput.
source§impl AllocateTransitVirtualInterfaceInputBuilder
impl AllocateTransitVirtualInterfaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AllocateTransitVirtualInterfaceOutput, SdkError<AllocateTransitVirtualInterfaceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AllocateTransitVirtualInterfaceOutput, SdkError<AllocateTransitVirtualInterfaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AllocateTransitVirtualInterfaceInputBuilder
impl Clone for AllocateTransitVirtualInterfaceInputBuilder
source§fn clone(&self) -> AllocateTransitVirtualInterfaceInputBuilder
fn clone(&self) -> AllocateTransitVirtualInterfaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AllocateTransitVirtualInterfaceInputBuilder
impl Default for AllocateTransitVirtualInterfaceInputBuilder
source§fn default() -> AllocateTransitVirtualInterfaceInputBuilder
fn default() -> AllocateTransitVirtualInterfaceInputBuilder
source§impl PartialEq for AllocateTransitVirtualInterfaceInputBuilder
impl PartialEq for AllocateTransitVirtualInterfaceInputBuilder
source§fn eq(&self, other: &AllocateTransitVirtualInterfaceInputBuilder) -> bool
fn eq(&self, other: &AllocateTransitVirtualInterfaceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AllocateTransitVirtualInterfaceInputBuilder
Auto Trait Implementations§
impl Freeze for AllocateTransitVirtualInterfaceInputBuilder
impl RefUnwindSafe for AllocateTransitVirtualInterfaceInputBuilder
impl Send for AllocateTransitVirtualInterfaceInputBuilder
impl Sync for AllocateTransitVirtualInterfaceInputBuilder
impl Unpin for AllocateTransitVirtualInterfaceInputBuilder
impl UnwindSafe for AllocateTransitVirtualInterfaceInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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