Struct aws_sdk_sagemaker::operation::batch_describe_model_package::builders::BatchDescribeModelPackageOutputBuilder
source · #[non_exhaustive]pub struct BatchDescribeModelPackageOutputBuilder { /* private fields */ }
Expand description
A builder for BatchDescribeModelPackageOutput
.
Implementations§
source§impl BatchDescribeModelPackageOutputBuilder
impl BatchDescribeModelPackageOutputBuilder
sourcepub fn model_package_summaries(
self,
k: impl Into<String>,
v: BatchDescribeModelPackageSummary,
) -> Self
pub fn model_package_summaries( self, k: impl Into<String>, v: BatchDescribeModelPackageSummary, ) -> Self
Adds a key-value pair to model_package_summaries
.
To override the contents of this collection use set_model_package_summaries
.
The summaries for the model package versions
sourcepub fn set_model_package_summaries(
self,
input: Option<HashMap<String, BatchDescribeModelPackageSummary>>,
) -> Self
pub fn set_model_package_summaries( self, input: Option<HashMap<String, BatchDescribeModelPackageSummary>>, ) -> Self
The summaries for the model package versions
sourcepub fn get_model_package_summaries(
&self,
) -> &Option<HashMap<String, BatchDescribeModelPackageSummary>>
pub fn get_model_package_summaries( &self, ) -> &Option<HashMap<String, BatchDescribeModelPackageSummary>>
The summaries for the model package versions
sourcepub fn batch_describe_model_package_error_map(
self,
k: impl Into<String>,
v: BatchDescribeModelPackageError,
) -> Self
pub fn batch_describe_model_package_error_map( self, k: impl Into<String>, v: BatchDescribeModelPackageError, ) -> Self
Adds a key-value pair to batch_describe_model_package_error_map
.
To override the contents of this collection use set_batch_describe_model_package_error_map
.
A map of the resource and BatchDescribeModelPackageError objects reporting the error associated with describing the model package.
sourcepub fn set_batch_describe_model_package_error_map(
self,
input: Option<HashMap<String, BatchDescribeModelPackageError>>,
) -> Self
pub fn set_batch_describe_model_package_error_map( self, input: Option<HashMap<String, BatchDescribeModelPackageError>>, ) -> Self
A map of the resource and BatchDescribeModelPackageError objects reporting the error associated with describing the model package.
sourcepub fn get_batch_describe_model_package_error_map(
&self,
) -> &Option<HashMap<String, BatchDescribeModelPackageError>>
pub fn get_batch_describe_model_package_error_map( &self, ) -> &Option<HashMap<String, BatchDescribeModelPackageError>>
A map of the resource and BatchDescribeModelPackageError objects reporting the error associated with describing the model package.
sourcepub fn build(self) -> BatchDescribeModelPackageOutput
pub fn build(self) -> BatchDescribeModelPackageOutput
Consumes the builder and constructs a BatchDescribeModelPackageOutput
.
Trait Implementations§
source§impl Clone for BatchDescribeModelPackageOutputBuilder
impl Clone for BatchDescribeModelPackageOutputBuilder
source§fn clone(&self) -> BatchDescribeModelPackageOutputBuilder
fn clone(&self) -> BatchDescribeModelPackageOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchDescribeModelPackageOutputBuilder
impl Default for BatchDescribeModelPackageOutputBuilder
source§fn default() -> BatchDescribeModelPackageOutputBuilder
fn default() -> BatchDescribeModelPackageOutputBuilder
source§impl PartialEq for BatchDescribeModelPackageOutputBuilder
impl PartialEq for BatchDescribeModelPackageOutputBuilder
source§fn eq(&self, other: &BatchDescribeModelPackageOutputBuilder) -> bool
fn eq(&self, other: &BatchDescribeModelPackageOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchDescribeModelPackageOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchDescribeModelPackageOutputBuilder
impl RefUnwindSafe for BatchDescribeModelPackageOutputBuilder
impl Send for BatchDescribeModelPackageOutputBuilder
impl Sync for BatchDescribeModelPackageOutputBuilder
impl Unpin for BatchDescribeModelPackageOutputBuilder
impl UnwindSafe for BatchDescribeModelPackageOutputBuilder
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