pub struct Builder { /* private fields */ }Expand description
A builder for AssociateVirtualInterfaceInput.
Implementations§
source§impl Builder
impl Builder
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.
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 connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the LAG or connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the LAG or connection.
sourcepub fn build(self) -> Result<AssociateVirtualInterfaceInput, BuildError>
pub fn build(self) -> Result<AssociateVirtualInterfaceInput, BuildError>
Consumes the builder and constructs a AssociateVirtualInterfaceInput.