Struct aws_sdk_ec2::input::CreateClientVpnRouteInput
source · [−]#[non_exhaustive]pub struct CreateClientVpnRouteInput { /* private fields */ }
Implementations
sourceimpl CreateClientVpnRouteInput
impl CreateClientVpnRouteInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateClientVpnRoute, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateClientVpnRoute, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateClientVpnRoute
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateClientVpnRouteInput
.
sourceimpl CreateClientVpnRouteInput
impl CreateClientVpnRouteInput
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint to which to add the route.
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, of the route destination. For example:
-
To add a route for Internet access, enter
0.0.0.0/0
-
To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
-
To add a route for an on-premises network, enter the Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range
-
To add a route for the local network, enter the client CIDR range
sourcepub fn target_vpc_subnet_id(&self) -> Option<&str>
pub fn target_vpc_subnet_id(&self) -> Option<&str>
The ID of the subnet through which you want to route traffic. The specified subnet must be an existing target network of the Client VPN endpoint.
Alternatively, if you're adding a route for the local network, specify local
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the route.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Trait Implementations
sourceimpl Clone for CreateClientVpnRouteInput
impl Clone for CreateClientVpnRouteInput
sourcefn clone(&self) -> CreateClientVpnRouteInput
fn clone(&self) -> CreateClientVpnRouteInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateClientVpnRouteInput
impl Debug for CreateClientVpnRouteInput
sourceimpl PartialEq<CreateClientVpnRouteInput> for CreateClientVpnRouteInput
impl PartialEq<CreateClientVpnRouteInput> for CreateClientVpnRouteInput
sourcefn eq(&self, other: &CreateClientVpnRouteInput) -> bool
fn eq(&self, other: &CreateClientVpnRouteInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for CreateClientVpnRouteInput
Auto Trait Implementations
impl RefUnwindSafe for CreateClientVpnRouteInput
impl Send for CreateClientVpnRouteInput
impl Sync for CreateClientVpnRouteInput
impl Unpin for CreateClientVpnRouteInput
impl UnwindSafe for CreateClientVpnRouteInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more