Struct aws_sdk_ec2::operation::delete_client_vpn_route::builders::DeleteClientVpnRouteInputBuilder
source · #[non_exhaustive]pub struct DeleteClientVpnRouteInputBuilder { /* private fields */ }
Expand description
A builder for DeleteClientVpnRouteInput
.
Implementations§
source§impl DeleteClientVpnRouteInputBuilder
impl DeleteClientVpnRouteInputBuilder
sourcepub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
pub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Client VPN endpoint from which the route is to be deleted.
This field is required.sourcepub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
pub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
The ID of the Client VPN endpoint from which the route is to be deleted.
sourcepub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
pub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
The ID of the Client VPN endpoint from which the route is to be deleted.
sourcepub fn target_vpc_subnet_id(self, input: impl Into<String>) -> Self
pub fn target_vpc_subnet_id(self, input: impl Into<String>) -> Self
The ID of the target subnet used by the route.
sourcepub fn set_target_vpc_subnet_id(self, input: Option<String>) -> Self
pub fn set_target_vpc_subnet_id(self, input: Option<String>) -> Self
The ID of the target subnet used by the route.
sourcepub fn get_target_vpc_subnet_id(&self) -> &Option<String>
pub fn get_target_vpc_subnet_id(&self) -> &Option<String>
The ID of the target subnet used by the route.
sourcepub fn destination_cidr_block(self, input: impl Into<String>) -> Self
pub fn destination_cidr_block(self, input: impl Into<String>) -> Self
The IPv4 address range, in CIDR notation, of the route to be deleted.
This field is required.sourcepub fn set_destination_cidr_block(self, input: Option<String>) -> Self
pub fn set_destination_cidr_block(self, input: Option<String>) -> Self
The IPv4 address range, in CIDR notation, of the route to be deleted.
sourcepub fn get_destination_cidr_block(&self) -> &Option<String>
pub fn get_destination_cidr_block(&self) -> &Option<String>
The IPv4 address range, in CIDR notation, of the route to be deleted.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn build(self) -> Result<DeleteClientVpnRouteInput, BuildError>
pub fn build(self) -> Result<DeleteClientVpnRouteInput, BuildError>
Consumes the builder and constructs a DeleteClientVpnRouteInput
.
source§impl DeleteClientVpnRouteInputBuilder
impl DeleteClientVpnRouteInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteClientVpnRouteOutput, SdkError<DeleteClientVpnRouteError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteClientVpnRouteOutput, SdkError<DeleteClientVpnRouteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteClientVpnRouteInputBuilder
impl Clone for DeleteClientVpnRouteInputBuilder
source§fn clone(&self) -> DeleteClientVpnRouteInputBuilder
fn clone(&self) -> DeleteClientVpnRouteInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteClientVpnRouteInputBuilder
impl Default for DeleteClientVpnRouteInputBuilder
source§fn default() -> DeleteClientVpnRouteInputBuilder
fn default() -> DeleteClientVpnRouteInputBuilder
source§impl PartialEq for DeleteClientVpnRouteInputBuilder
impl PartialEq for DeleteClientVpnRouteInputBuilder
source§fn eq(&self, other: &DeleteClientVpnRouteInputBuilder) -> bool
fn eq(&self, other: &DeleteClientVpnRouteInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.