#[non_exhaustive]pub struct ListModelsOutputBuilder { /* private fields */ }Expand description
A builder for ListModelsOutput.
Implementations§
source§impl ListModelsOutputBuilder
impl ListModelsOutputBuilder
sourcepub fn models(self, input: ModelMetadata) -> Self
pub fn models(self, input: ModelMetadata) -> Self
Appends an item to models.
To override the contents of this collection use set_models.
A list of model versions in the specified project.
sourcepub fn set_models(self, input: Option<Vec<ModelMetadata>>) -> Self
pub fn set_models(self, input: Option<Vec<ModelMetadata>>) -> Self
A list of model versions in the specified project.
sourcepub fn get_models(&self) -> &Option<Vec<ModelMetadata>>
pub fn get_models(&self) -> &Option<Vec<ModelMetadata>>
A list of model versions in the specified project.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request 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 response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request 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 response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.
sourcepub fn build(self) -> ListModelsOutput
pub fn build(self) -> ListModelsOutput
Consumes the builder and constructs a ListModelsOutput.
Trait Implementations§
source§impl Clone for ListModelsOutputBuilder
impl Clone for ListModelsOutputBuilder
source§fn clone(&self) -> ListModelsOutputBuilder
fn clone(&self) -> ListModelsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListModelsOutputBuilder
impl Debug for ListModelsOutputBuilder
source§impl Default for ListModelsOutputBuilder
impl Default for ListModelsOutputBuilder
source§fn default() -> ListModelsOutputBuilder
fn default() -> ListModelsOutputBuilder
source§impl PartialEq for ListModelsOutputBuilder
impl PartialEq for ListModelsOutputBuilder
source§fn eq(&self, other: &ListModelsOutputBuilder) -> bool
fn eq(&self, other: &ListModelsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.