pub struct GetNetworkRoutes { /* private fields */ }
Expand description
Fluent builder constructing a request to GetNetworkRoutes
.
Gets the network routes of the specified global network.
Implementations
sourceimpl GetNetworkRoutes
impl GetNetworkRoutes
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
sourceimpl Clone for GetNetworkRoutes
impl Clone for GetNetworkRoutes
sourcefn clone(&self) -> GetNetworkRoutes
fn clone(&self) -> GetNetworkRoutes
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
Auto Trait Implementations
impl !RefUnwindSafe for GetNetworkRoutes
impl Send for GetNetworkRoutes
impl Sync for GetNetworkRoutes
impl Unpin for GetNetworkRoutes
impl !UnwindSafe for GetNetworkRoutes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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