Struct aws_sdk_sagemaker::operation::list_model_packages::builders::ListModelPackagesOutputBuilder
source · #[non_exhaustive]pub struct ListModelPackagesOutputBuilder { /* private fields */ }
Expand description
A builder for ListModelPackagesOutput
.
Implementations§
source§impl ListModelPackagesOutputBuilder
impl ListModelPackagesOutputBuilder
sourcepub fn model_package_summary_list(self, input: ModelPackageSummary) -> Self
pub fn model_package_summary_list(self, input: ModelPackageSummary) -> Self
Appends an item to model_package_summary_list
.
To override the contents of this collection use set_model_package_summary_list
.
An array of ModelPackageSummary
objects, each of which lists a model package.
sourcepub fn set_model_package_summary_list(
self,
input: Option<Vec<ModelPackageSummary>>
) -> Self
pub fn set_model_package_summary_list( self, input: Option<Vec<ModelPackageSummary>> ) -> Self
An array of ModelPackageSummary
objects, each of which lists a model package.
sourcepub fn get_model_package_summary_list(
&self
) -> &Option<Vec<ModelPackageSummary>>
pub fn get_model_package_summary_list( &self ) -> &Option<Vec<ModelPackageSummary>>
An array of ModelPackageSummary
objects, each of which lists a model package.
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, SageMaker returns this token. To retrieve the next set of model packages, use it in the subsequent request.
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, SageMaker returns this token. To retrieve the next set of model packages, use it in the subsequent request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response is truncated, SageMaker returns this token. To retrieve the next set of model packages, use it in the subsequent request.
sourcepub fn build(self) -> ListModelPackagesOutput
pub fn build(self) -> ListModelPackagesOutput
Consumes the builder and constructs a ListModelPackagesOutput
.
Trait Implementations§
source§impl Clone for ListModelPackagesOutputBuilder
impl Clone for ListModelPackagesOutputBuilder
source§fn clone(&self) -> ListModelPackagesOutputBuilder
fn clone(&self) -> ListModelPackagesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListModelPackagesOutputBuilder
impl Default for ListModelPackagesOutputBuilder
source§fn default() -> ListModelPackagesOutputBuilder
fn default() -> ListModelPackagesOutputBuilder
source§impl PartialEq for ListModelPackagesOutputBuilder
impl PartialEq for ListModelPackagesOutputBuilder
source§fn eq(&self, other: &ListModelPackagesOutputBuilder) -> bool
fn eq(&self, other: &ListModelPackagesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.