pub struct GetNetworkRoutes { /* private fields */ }
Expand description
Fluent builder constructing a request to GetNetworkRoutes
.
Gets the network routes of the specified global network.
Implementations§
source§impl GetNetworkRoutes
impl GetNetworkRoutes
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetNetworkRoutes, AwsResponseRetryClassifier>, SdkError<GetNetworkRoutesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetNetworkRoutes, AwsResponseRetryClassifier>, SdkError<GetNetworkRoutesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetNetworkRoutesOutput, SdkError<GetNetworkRoutesError>>
pub async fn send(
self
) -> Result<GetNetworkRoutesOutput, SdkError<GetNetworkRoutesError>>
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 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.
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 route_table_identifier(self, input: RouteTableIdentifier) -> Self
pub fn route_table_identifier(self, input: RouteTableIdentifier) -> Self
The ID of the route table.
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 exact_cidr_matches(self, input: impl Into<String>) -> Self
pub fn exact_cidr_matches(self, input: impl Into<String>) -> Self
Appends an item to ExactCidrMatches
.
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 longest_prefix_matches(self, input: impl Into<String>) -> Self
pub fn longest_prefix_matches(self, input: impl Into<String>) -> Self
Appends an item to LongestPrefixMatches
.
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 subnet_of_matches(self, input: impl Into<String>) -> Self
pub fn subnet_of_matches(self, input: impl Into<String>) -> Self
Appends an item to SubnetOfMatches
.
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 supernet_of_matches(self, input: impl Into<String>) -> Self
pub fn supernet_of_matches(self, input: impl Into<String>) -> Self
Appends an item to SupernetOfMatches
.
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 prefix_list_ids(self, input: impl Into<String>) -> Self
pub fn prefix_list_ids(self, input: impl Into<String>) -> Self
Appends an item to PrefixListIds
.
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 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 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 DestinationFilters
.
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.
Trait Implementations§
source§impl Clone for GetNetworkRoutes
impl Clone for GetNetworkRoutes
source§fn clone(&self) -> GetNetworkRoutes
fn clone(&self) -> GetNetworkRoutes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more