#[non_exhaustive]pub struct ListModelsInputBuilder { /* private fields */ }Expand description
A builder for ListModelsInput.
Implementations§
source§impl ListModelsInputBuilder
impl ListModelsInputBuilder
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project that contains the model versions that you want to list.
This field is required.sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project that contains the model versions that you want to list.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project that contains the model versions that you want to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of models.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of models.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of models.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn build(self) -> Result<ListModelsInput, BuildError>
pub fn build(self) -> Result<ListModelsInput, BuildError>
Consumes the builder and constructs a ListModelsInput.
source§impl ListModelsInputBuilder
impl ListModelsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListModelsOutput, SdkError<ListModelsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListModelsOutput, SdkError<ListModelsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListModelsInputBuilder
impl Clone for ListModelsInputBuilder
source§fn clone(&self) -> ListModelsInputBuilder
fn clone(&self) -> ListModelsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListModelsInputBuilder
impl Debug for ListModelsInputBuilder
source§impl Default for ListModelsInputBuilder
impl Default for ListModelsInputBuilder
source§fn default() -> ListModelsInputBuilder
fn default() -> ListModelsInputBuilder
source§impl PartialEq for ListModelsInputBuilder
impl PartialEq for ListModelsInputBuilder
source§fn eq(&self, other: &ListModelsInputBuilder) -> bool
fn eq(&self, other: &ListModelsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.