pub struct Builder { /* private fields */ }
Expand description
A builder for AlgorithmValidationSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn validation_role(self, input: impl Into<String>) -> Self
pub fn validation_role(self, input: impl Into<String>) -> Self
The IAM roles that SageMaker uses to run the training jobs.
sourcepub fn set_validation_role(self, input: Option<String>) -> Self
pub fn set_validation_role(self, input: Option<String>) -> Self
The IAM roles that SageMaker uses to run the training jobs.
sourcepub fn validation_profiles(self, input: AlgorithmValidationProfile) -> Self
pub fn validation_profiles(self, input: AlgorithmValidationProfile) -> Self
Appends an item to validation_profiles
.
To override the contents of this collection use set_validation_profiles
.
An array of AlgorithmValidationProfile
objects, each of which specifies a training job and batch transform job that SageMaker runs to validate your algorithm.
sourcepub fn set_validation_profiles(
self,
input: Option<Vec<AlgorithmValidationProfile>>
) -> Self
pub fn set_validation_profiles(
self,
input: Option<Vec<AlgorithmValidationProfile>>
) -> Self
An array of AlgorithmValidationProfile
objects, each of which specifies a training job and batch transform job that SageMaker runs to validate your algorithm.
sourcepub fn build(self) -> AlgorithmValidationSpecification
pub fn build(self) -> AlgorithmValidationSpecification
Consumes the builder and constructs a AlgorithmValidationSpecification
.