#[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.
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<GetModelsInputBuilder> for GetModelsInputBuilder
impl PartialEq<GetModelsInputBuilder> 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 ==
.