#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for GetNetworkRoutesInput
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 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 build(self) -> Result<GetNetworkRoutesInput, BuildError>
pub fn build(self) -> Result<GetNetworkRoutesInput, BuildError>
Consumes the builder and constructs a GetNetworkRoutesInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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