#[non_exhaustive]pub struct GetModelsInputBuilder { /* private fields */ }
Expand description
A builder for GetModelsInput
.
Implementations§
source§impl GetModelsInputBuilder
impl GetModelsInputBuilder
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<GetModelsInput, BuildError>
pub fn build(self) -> Result<GetModelsInput, BuildError>
Consumes the builder and constructs a GetModelsInput
.
source§impl GetModelsInputBuilder
impl GetModelsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetModelsOutput, SdkError<GetModelsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetModelsOutput, SdkError<GetModelsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetModelsInputBuilder
impl Clone for GetModelsInputBuilder
source§fn clone(&self) -> GetModelsInputBuilder
fn clone(&self) -> GetModelsInputBuilder
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 GetModelsInputBuilder
impl Debug for GetModelsInputBuilder
source§impl Default for GetModelsInputBuilder
impl Default for GetModelsInputBuilder
source§fn default() -> GetModelsInputBuilder
fn default() -> GetModelsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetModelsInputBuilder
impl PartialEq for GetModelsInputBuilder
source§fn eq(&self, other: &GetModelsInputBuilder) -> bool
fn eq(&self, other: &GetModelsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetModelsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetModelsInputBuilder
impl Send for GetModelsInputBuilder
impl Sync for GetModelsInputBuilder
impl Unpin for GetModelsInputBuilder
impl UnwindSafe for GetModelsInputBuilder
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.