pub struct Builder { /* private fields */ }Expand description
A builder for AllocateTransitVirtualInterfaceInput.
Implementations
sourceimpl Builder
impl Builder
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.
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 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.
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 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.
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 build(self) -> Result<AllocateTransitVirtualInterfaceInput, BuildError>
pub fn build(self) -> Result<AllocateTransitVirtualInterfaceInput, BuildError>
Consumes the builder and constructs a AllocateTransitVirtualInterfaceInput.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more