#[non_exhaustive]pub struct GetRoutesInputBuilder { /* private fields */ }Expand description
A builder for GetRoutesInput.
Implementations§
source§impl GetRoutesInputBuilder
impl GetRoutesInputBuilder
sourcepub fn api_id(self, input: impl Into<String>) -> Self
pub fn api_id(self, input: impl Into<String>) -> Self
The API identifier.
This field is required.sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API identifier.
sourcepub fn get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The API identifier.
sourcepub fn max_results(self, input: impl Into<String>) -> Self
pub fn max_results(self, input: impl Into<String>) -> Self
The maximum number of elements to be returned for this resource.
sourcepub fn set_max_results(self, input: Option<String>) -> Self
pub fn set_max_results(self, input: Option<String>) -> Self
The maximum number of elements to be returned for this resource.
sourcepub fn get_max_results(&self) -> &Option<String>
pub fn get_max_results(&self) -> &Option<String>
The maximum number of elements to be returned for this resource.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn build(self) -> Result<GetRoutesInput, BuildError>
pub fn build(self) -> Result<GetRoutesInput, BuildError>
Consumes the builder and constructs a GetRoutesInput.
source§impl GetRoutesInputBuilder
impl GetRoutesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetRoutesOutput, SdkError<GetRoutesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetRoutesOutput, SdkError<GetRoutesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetRoutesInputBuilder
impl Clone for GetRoutesInputBuilder
source§fn clone(&self) -> GetRoutesInputBuilder
fn clone(&self) -> GetRoutesInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetRoutesInputBuilder
impl Debug for GetRoutesInputBuilder
source§impl Default for GetRoutesInputBuilder
impl Default for GetRoutesInputBuilder
source§fn default() -> GetRoutesInputBuilder
fn default() -> GetRoutesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRoutesInputBuilder
impl PartialEq for GetRoutesInputBuilder
source§fn eq(&self, other: &GetRoutesInputBuilder) -> bool
fn eq(&self, other: &GetRoutesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRoutesInputBuilder
Auto Trait Implementations§
impl Freeze for GetRoutesInputBuilder
impl RefUnwindSafe for GetRoutesInputBuilder
impl Send for GetRoutesInputBuilder
impl Sync for GetRoutesInputBuilder
impl Unpin for GetRoutesInputBuilder
impl UnwindSafe for GetRoutesInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.