Struct aws_sdk_directconnect::operation::confirm_private_virtual_interface::builders::ConfirmPrivateVirtualInterfaceFluentBuilder
source · pub struct ConfirmPrivateVirtualInterfaceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ConfirmPrivateVirtualInterface.
Accepts ownership of a private virtual interface created by another Amazon Web Services account.
After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.
Implementations§
source§impl ConfirmPrivateVirtualInterfaceFluentBuilder
impl ConfirmPrivateVirtualInterfaceFluentBuilder
sourcepub fn as_input(&self) -> &ConfirmPrivateVirtualInterfaceInputBuilder
pub fn as_input(&self) -> &ConfirmPrivateVirtualInterfaceInputBuilder
Access the ConfirmPrivateVirtualInterface as a reference.
sourcepub async fn send(
self
) -> Result<ConfirmPrivateVirtualInterfaceOutput, SdkError<ConfirmPrivateVirtualInterfaceError, HttpResponse>>
pub async fn send( self ) -> Result<ConfirmPrivateVirtualInterfaceOutput, SdkError<ConfirmPrivateVirtualInterfaceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ConfirmPrivateVirtualInterfaceOutput, ConfirmPrivateVirtualInterfaceError, Self>
pub fn customize( self ) -> CustomizableOperation<ConfirmPrivateVirtualInterfaceOutput, ConfirmPrivateVirtualInterfaceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_virtual_interface_id(&self) -> &Option<String>
pub fn get_virtual_interface_id(&self) -> &Option<String>
The ID of the virtual interface.
sourcepub fn virtual_gateway_id(self, input: impl Into<String>) -> Self
pub fn virtual_gateway_id(self, input: impl Into<String>) -> Self
The ID of the virtual private gateway.
sourcepub fn set_virtual_gateway_id(self, input: Option<String>) -> Self
pub fn set_virtual_gateway_id(self, input: Option<String>) -> Self
The ID of the virtual private gateway.
sourcepub fn get_virtual_gateway_id(&self) -> &Option<String>
pub fn get_virtual_gateway_id(&self) -> &Option<String>
The ID of the virtual private gateway.
sourcepub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
pub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
pub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn get_direct_connect_gateway_id(&self) -> &Option<String>
pub fn get_direct_connect_gateway_id(&self) -> &Option<String>
The ID of the Direct Connect gateway.
Trait Implementations§
source§impl Clone for ConfirmPrivateVirtualInterfaceFluentBuilder
impl Clone for ConfirmPrivateVirtualInterfaceFluentBuilder
source§fn clone(&self) -> ConfirmPrivateVirtualInterfaceFluentBuilder
fn clone(&self) -> ConfirmPrivateVirtualInterfaceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more