#[non_exhaustive]pub struct ModelPackageValidationSpecificationBuilder { /* private fields */ }Expand description
A builder for ModelPackageValidationSpecification.
Implementations§
source§impl ModelPackageValidationSpecificationBuilder
impl ModelPackageValidationSpecificationBuilder
sourcepub fn validation_role(self, input: impl Into<String>) -> Self
pub fn validation_role(self, input: impl Into<String>) -> Self
The IAM roles to be used for the validation of the model package.
This field is required.sourcepub fn set_validation_role(self, input: Option<String>) -> Self
pub fn set_validation_role(self, input: Option<String>) -> Self
The IAM roles to be used for the validation of the model package.
sourcepub fn get_validation_role(&self) -> &Option<String>
pub fn get_validation_role(&self) -> &Option<String>
The IAM roles to be used for the validation of the model package.
sourcepub fn validation_profiles(self, input: ModelPackageValidationProfile) -> Self
pub fn validation_profiles(self, input: ModelPackageValidationProfile) -> Self
Appends an item to validation_profiles.
To override the contents of this collection use set_validation_profiles.
An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
sourcepub fn set_validation_profiles(
self,
input: Option<Vec<ModelPackageValidationProfile>>,
) -> Self
pub fn set_validation_profiles( self, input: Option<Vec<ModelPackageValidationProfile>>, ) -> Self
An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
sourcepub fn get_validation_profiles(
&self,
) -> &Option<Vec<ModelPackageValidationProfile>>
pub fn get_validation_profiles( &self, ) -> &Option<Vec<ModelPackageValidationProfile>>
An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
sourcepub fn build(self) -> ModelPackageValidationSpecification
pub fn build(self) -> ModelPackageValidationSpecification
Consumes the builder and constructs a ModelPackageValidationSpecification.
Trait Implementations§
source§impl Clone for ModelPackageValidationSpecificationBuilder
impl Clone for ModelPackageValidationSpecificationBuilder
source§fn clone(&self) -> ModelPackageValidationSpecificationBuilder
fn clone(&self) -> ModelPackageValidationSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModelPackageValidationSpecificationBuilder
impl Default for ModelPackageValidationSpecificationBuilder
source§fn default() -> ModelPackageValidationSpecificationBuilder
fn default() -> ModelPackageValidationSpecificationBuilder
source§impl PartialEq for ModelPackageValidationSpecificationBuilder
impl PartialEq for ModelPackageValidationSpecificationBuilder
source§fn eq(&self, other: &ModelPackageValidationSpecificationBuilder) -> bool
fn eq(&self, other: &ModelPackageValidationSpecificationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModelPackageValidationSpecificationBuilder
Auto Trait Implementations§
impl Freeze for ModelPackageValidationSpecificationBuilder
impl RefUnwindSafe for ModelPackageValidationSpecificationBuilder
impl Send for ModelPackageValidationSpecificationBuilder
impl Sync for ModelPackageValidationSpecificationBuilder
impl Unpin for ModelPackageValidationSpecificationBuilder
impl UnwindSafe for ModelPackageValidationSpecificationBuilder
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> 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