#[non_exhaustive]pub struct GetModelsInputBuilder { /* private fields */ }Expand description
A builder for GetModelsInput.
Implementations§
source§impl GetModelsInputBuilder
impl GetModelsInputBuilder
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
This field is required.sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn position(self, input: impl Into<String>) -> Self
pub fn position(self, input: impl Into<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn set_position(self, input: Option<String>) -> Self
pub fn set_position(self, input: Option<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn get_position(&self) -> &Option<String>
pub fn get_position(&self) -> &Option<String>
The current pagination position in the paged result set.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for GetModelsInputBuilder
impl PartialEq for GetModelsInputBuilder
source§fn eq(&self, other: &GetModelsInputBuilder) -> bool
fn eq(&self, other: &GetModelsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetModelsInputBuilder
Auto Trait Implementations§
impl Freeze for GetModelsInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more