#[non_exhaustive]
pub struct GetNetworkRoutesInputBuilder { /* private fields */ }
Expand description

A builder for GetNetworkRoutesInput.

Implementations§

source§

impl GetNetworkRoutesInputBuilder

source

pub fn global_network_id(self, input: impl Into<String>) -> Self

The ID of the global network.

This field is required.
source

pub fn set_global_network_id(self, input: Option<String>) -> Self

The ID of the global network.

source

pub fn get_global_network_id(&self) -> &Option<String>

The ID of the global network.

source

pub fn route_table_identifier(self, input: RouteTableIdentifier) -> Self

The ID of the route table.

This field is required.
source

pub fn set_route_table_identifier( self, input: Option<RouteTableIdentifier> ) -> Self

The ID of the route table.

source

pub fn get_route_table_identifier(&self) -> &Option<RouteTableIdentifier>

The ID of the route table.

source

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.

source

pub fn set_exact_cidr_matches(self, input: Option<Vec<String>>) -> Self

An exact CIDR block.

source

pub fn get_exact_cidr_matches(&self) -> &Option<Vec<String>>

An exact CIDR block.

source

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).

source

pub fn set_longest_prefix_matches(self, input: Option<Vec<String>>) -> Self

The most specific route that matches the traffic (longest prefix match).

source

pub fn get_longest_prefix_matches(&self) -> &Option<Vec<String>>

The most specific route that matches the traffic (longest prefix match).

source

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.

source

pub fn set_subnet_of_matches(self, input: Option<Vec<String>>) -> Self

The routes with a subnet that match the specified CIDR filter.

source

pub fn get_subnet_of_matches(&self) -> &Option<Vec<String>>

The routes with a subnet that match the specified CIDR filter.

source

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.

source

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.

source

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.

source

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.

source

pub fn set_prefix_list_ids(self, input: Option<Vec<String>>) -> Self

The IDs of the prefix lists.

source

pub fn get_prefix_list_ids(&self) -> &Option<Vec<String>>

The IDs of the prefix lists.

source

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.

source

pub fn set_states(self, input: Option<Vec<RouteState>>) -> Self

The route states.

source

pub fn get_states(&self) -> &Option<Vec<RouteState>>

The route states.

source

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.

source

pub fn set_types(self, input: Option<Vec<RouteType>>) -> Self

The route types.

source

pub fn get_types(&self) -> &Option<Vec<RouteType>>

The route types.

source

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.

source

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.

source

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.

source

pub fn build(self) -> Result<GetNetworkRoutesInput, BuildError>

Consumes the builder and constructs a GetNetworkRoutesInput.

source§

impl GetNetworkRoutesInputBuilder

source

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

source§

fn clone(&self) -> GetNetworkRoutesInputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GetNetworkRoutesInputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GetNetworkRoutesInputBuilder

source§

fn default() -> GetNetworkRoutesInputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for GetNetworkRoutesInputBuilder

source§

fn eq(&self, other: &GetNetworkRoutesInputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for GetNetworkRoutesInputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more