Struct aws_sdk_networkmanager::operation::get_network_routes::builders::GetNetworkRoutesInputBuilder
source · #[non_exhaustive]pub struct GetNetworkRoutesInputBuilder { /* private fields */ }
Expand description
A builder for GetNetworkRoutesInput
.
Implementations§
source§impl GetNetworkRoutesInputBuilder
impl GetNetworkRoutesInputBuilder
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
This field is required.sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn route_table_identifier(self, input: RouteTableIdentifier) -> Self
pub fn route_table_identifier(self, input: RouteTableIdentifier) -> Self
The ID of the route table.
This field is required.sourcepub fn set_route_table_identifier(
self,
input: Option<RouteTableIdentifier>
) -> Self
pub fn set_route_table_identifier( self, input: Option<RouteTableIdentifier> ) -> Self
The ID of the route table.
sourcepub fn get_route_table_identifier(&self) -> &Option<RouteTableIdentifier>
pub fn get_route_table_identifier(&self) -> &Option<RouteTableIdentifier>
The ID of the route table.
sourcepub fn exact_cidr_matches(self, input: impl Into<String>) -> Self
pub fn exact_cidr_matches(self, input: impl Into<String>) -> Self
Appends an item to exact_cidr_matches
.
To override the contents of this collection use set_exact_cidr_matches
.
An exact CIDR block.
sourcepub fn set_exact_cidr_matches(self, input: Option<Vec<String>>) -> Self
pub fn set_exact_cidr_matches(self, input: Option<Vec<String>>) -> Self
An exact CIDR block.
sourcepub fn get_exact_cidr_matches(&self) -> &Option<Vec<String>>
pub fn get_exact_cidr_matches(&self) -> &Option<Vec<String>>
An exact CIDR block.
sourcepub fn longest_prefix_matches(self, input: impl Into<String>) -> Self
pub fn longest_prefix_matches(self, input: impl Into<String>) -> Self
Appends an item to longest_prefix_matches
.
To override the contents of this collection use set_longest_prefix_matches
.
The most specific route that matches the traffic (longest prefix match).
sourcepub fn set_longest_prefix_matches(self, input: Option<Vec<String>>) -> Self
pub fn set_longest_prefix_matches(self, input: Option<Vec<String>>) -> Self
The most specific route that matches the traffic (longest prefix match).
sourcepub fn get_longest_prefix_matches(&self) -> &Option<Vec<String>>
pub fn get_longest_prefix_matches(&self) -> &Option<Vec<String>>
The most specific route that matches the traffic (longest prefix match).
sourcepub fn subnet_of_matches(self, input: impl Into<String>) -> Self
pub fn subnet_of_matches(self, input: impl Into<String>) -> Self
Appends an item to subnet_of_matches
.
To override the contents of this collection use set_subnet_of_matches
.
The routes with a subnet that match the specified CIDR filter.
sourcepub fn set_subnet_of_matches(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_of_matches(self, input: Option<Vec<String>>) -> Self
The routes with a subnet that match the specified CIDR filter.
sourcepub fn get_subnet_of_matches(&self) -> &Option<Vec<String>>
pub fn get_subnet_of_matches(&self) -> &Option<Vec<String>>
The routes with a subnet that match the specified CIDR filter.
sourcepub fn supernet_of_matches(self, input: impl Into<String>) -> Self
pub fn supernet_of_matches(self, input: impl Into<String>) -> Self
Appends an item to supernet_of_matches
.
To override the contents of this collection use set_supernet_of_matches
.
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
sourcepub fn set_supernet_of_matches(self, input: Option<Vec<String>>) -> Self
pub fn set_supernet_of_matches(self, input: Option<Vec<String>>) -> Self
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
sourcepub fn get_supernet_of_matches(&self) -> &Option<Vec<String>>
pub fn get_supernet_of_matches(&self) -> &Option<Vec<String>>
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
sourcepub fn prefix_list_ids(self, input: impl Into<String>) -> Self
pub fn prefix_list_ids(self, input: impl Into<String>) -> Self
Appends an item to prefix_list_ids
.
To override the contents of this collection use set_prefix_list_ids
.
The IDs of the prefix lists.
sourcepub fn set_prefix_list_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_prefix_list_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the prefix lists.
sourcepub fn get_prefix_list_ids(&self) -> &Option<Vec<String>>
pub fn get_prefix_list_ids(&self) -> &Option<Vec<String>>
The IDs of the prefix lists.
sourcepub fn states(self, input: RouteState) -> Self
pub fn states(self, input: RouteState) -> Self
Appends an item to states
.
To override the contents of this collection use set_states
.
The route states.
sourcepub fn set_states(self, input: Option<Vec<RouteState>>) -> Self
pub fn set_states(self, input: Option<Vec<RouteState>>) -> Self
The route states.
sourcepub fn get_states(&self) -> &Option<Vec<RouteState>>
pub fn get_states(&self) -> &Option<Vec<RouteState>>
The route states.
sourcepub fn types(self, input: RouteType) -> Self
pub fn types(self, input: RouteType) -> Self
Appends an item to types
.
To override the contents of this collection use set_types
.
The route types.
sourcepub fn destination_filters(self, k: impl Into<String>, v: Vec<String>) -> Self
pub fn destination_filters(self, k: impl Into<String>, v: Vec<String>) -> Self
Adds a key-value pair to destination_filters
.
To override the contents of this collection use set_destination_filters
.
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
sourcepub fn set_destination_filters(
self,
input: Option<HashMap<String, Vec<String>>>
) -> Self
pub fn set_destination_filters( self, input: Option<HashMap<String, Vec<String>>> ) -> Self
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
sourcepub fn get_destination_filters(&self) -> &Option<HashMap<String, Vec<String>>>
pub fn get_destination_filters(&self) -> &Option<HashMap<String, Vec<String>>>
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
sourcepub fn build(self) -> Result<GetNetworkRoutesInput, BuildError>
pub fn build(self) -> Result<GetNetworkRoutesInput, BuildError>
Consumes the builder and constructs a GetNetworkRoutesInput
.
source§impl GetNetworkRoutesInputBuilder
impl GetNetworkRoutesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetNetworkRoutesOutput, SdkError<GetNetworkRoutesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetNetworkRoutesOutput, SdkError<GetNetworkRoutesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetNetworkRoutesInputBuilder
impl Clone for GetNetworkRoutesInputBuilder
source§fn clone(&self) -> GetNetworkRoutesInputBuilder
fn clone(&self) -> GetNetworkRoutesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetNetworkRoutesInputBuilder
impl Debug for GetNetworkRoutesInputBuilder
source§impl Default for GetNetworkRoutesInputBuilder
impl Default for GetNetworkRoutesInputBuilder
source§fn default() -> GetNetworkRoutesInputBuilder
fn default() -> GetNetworkRoutesInputBuilder
source§impl PartialEq for GetNetworkRoutesInputBuilder
impl PartialEq for GetNetworkRoutesInputBuilder
source§fn eq(&self, other: &GetNetworkRoutesInputBuilder) -> bool
fn eq(&self, other: &GetNetworkRoutesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.