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<BatchDescribeModelPackageOutputBuilder> for BatchDescribeModelPackageOutputBuilder
impl PartialEq<BatchDescribeModelPackageOutputBuilder> 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 ==
.