#[non_exhaustive]pub struct ModifyLocalGatewayRouteInput {
pub destination_cidr_block: Option<String>,
pub local_gateway_route_table_id: Option<String>,
pub local_gateway_virtual_interface_group_id: Option<String>,
pub network_interface_id: Option<String>,
pub dry_run: Option<bool>,
pub destination_prefix_list_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.destination_cidr_block: Option<String>
The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.
local_gateway_route_table_id: Option<String>
The ID of the local gateway route table.
local_gateway_virtual_interface_group_id: Option<String>
The ID of the virtual interface group.
network_interface_id: Option<String>
The ID of the network interface.
dry_run: 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
.
destination_prefix_list_id: Option<String>
The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock
. You cannot use DestinationPrefixListId
and DestinationCidrBlock
in the same request.
Implementations§
source§impl ModifyLocalGatewayRouteInput
impl ModifyLocalGatewayRouteInput
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
sourcepub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
pub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
The ID of the virtual interface group.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn 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 destination_prefix_list_id(&self) -> Option<&str>
pub fn destination_prefix_list_id(&self) -> Option<&str>
The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock
. You cannot use DestinationPrefixListId
and DestinationCidrBlock
in the same request.
source§impl ModifyLocalGatewayRouteInput
impl ModifyLocalGatewayRouteInput
sourcepub fn builder() -> ModifyLocalGatewayRouteInputBuilder
pub fn builder() -> ModifyLocalGatewayRouteInputBuilder
Creates a new builder-style object to manufacture ModifyLocalGatewayRouteInput
.
Trait Implementations§
source§impl Clone for ModifyLocalGatewayRouteInput
impl Clone for ModifyLocalGatewayRouteInput
source§fn clone(&self) -> ModifyLocalGatewayRouteInput
fn clone(&self) -> ModifyLocalGatewayRouteInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyLocalGatewayRouteInput
impl Debug for ModifyLocalGatewayRouteInput
source§impl PartialEq for ModifyLocalGatewayRouteInput
impl PartialEq for ModifyLocalGatewayRouteInput
source§fn eq(&self, other: &ModifyLocalGatewayRouteInput) -> bool
fn eq(&self, other: &ModifyLocalGatewayRouteInput) -> bool
self
and other
values to be equal, and is used
by ==
.