Struct aws_sdk_ec2::operation::create_vpn_connection_route::builders::CreateVpnConnectionRouteFluentBuilder
source · pub struct CreateVpnConnectionRouteFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateVpnConnectionRoute
.
Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.
Implementations§
source§impl CreateVpnConnectionRouteFluentBuilder
impl CreateVpnConnectionRouteFluentBuilder
sourcepub fn as_input(&self) -> &CreateVpnConnectionRouteInputBuilder
pub fn as_input(&self) -> &CreateVpnConnectionRouteInputBuilder
Access the CreateVpnConnectionRoute as a reference.
sourcepub async fn send(
self
) -> Result<CreateVpnConnectionRouteOutput, SdkError<CreateVpnConnectionRouteError, HttpResponse>>
pub async fn send( self ) -> Result<CreateVpnConnectionRouteOutput, SdkError<CreateVpnConnectionRouteError, 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 async fn customize(
self
) -> Result<CustomizableOperation<CreateVpnConnectionRouteOutput, CreateVpnConnectionRouteError>, SdkError<CreateVpnConnectionRouteError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateVpnConnectionRouteOutput, CreateVpnConnectionRouteError>, SdkError<CreateVpnConnectionRouteError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn destination_cidr_block(self, input: impl Into<String>) -> Self
pub fn destination_cidr_block(self, input: impl Into<String>) -> Self
The CIDR block associated with the local subnet of the customer network.
sourcepub fn set_destination_cidr_block(self, input: Option<String>) -> Self
pub fn set_destination_cidr_block(self, input: Option<String>) -> Self
The CIDR block associated with the local subnet of the customer network.
sourcepub fn get_destination_cidr_block(&self) -> &Option<String>
pub fn get_destination_cidr_block(&self) -> &Option<String>
The CIDR block associated with the local subnet of the customer network.
sourcepub fn vpn_connection_id(self, input: impl Into<String>) -> Self
pub fn vpn_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPN connection.
sourcepub fn set_vpn_connection_id(self, input: Option<String>) -> Self
pub fn set_vpn_connection_id(self, input: Option<String>) -> Self
The ID of the VPN connection.
sourcepub fn get_vpn_connection_id(&self) -> &Option<String>
pub fn get_vpn_connection_id(&self) -> &Option<String>
The ID of the VPN connection.
Trait Implementations§
source§impl Clone for CreateVpnConnectionRouteFluentBuilder
impl Clone for CreateVpnConnectionRouteFluentBuilder
source§fn clone(&self) -> CreateVpnConnectionRouteFluentBuilder
fn clone(&self) -> CreateVpnConnectionRouteFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more