pub struct Builder { /* private fields */ }Expand description
A builder for AllocateTransitVirtualInterfaceInput.
Implementations§
source§impl 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.