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 ==
.impl StructuralPartialEq for ListModelPackagesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListModelPackagesOutputBuilder
impl RefUnwindSafe for ListModelPackagesOutputBuilder
impl Send for ListModelPackagesOutputBuilder
impl Sync for ListModelPackagesOutputBuilder
impl Unpin for ListModelPackagesOutputBuilder
impl UnwindSafe for ListModelPackagesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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