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 ==.