Struct aws_sdk_sagemaker::model::source_algorithm::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SourceAlgorithm
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn model_data_url(self, input: impl Into<String>) -> Self
pub fn model_data_url(self, input: impl Into<String>) -> Self
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip
compressed tar archive (.tar.gz
suffix).
The model artifacts must be in an S3 bucket that is in the same region as the algorithm.
sourcepub fn set_model_data_url(self, input: Option<String>) -> Self
pub fn set_model_data_url(self, input: Option<String>) -> Self
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip
compressed tar archive (.tar.gz
suffix).
The model artifacts must be in an S3 bucket that is in the same region as the algorithm.
sourcepub fn algorithm_name(self, input: impl Into<String>) -> Self
pub fn algorithm_name(self, input: impl Into<String>) -> Self
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
sourcepub fn set_algorithm_name(self, input: Option<String>) -> Self
pub fn set_algorithm_name(self, input: Option<String>) -> Self
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
sourcepub fn build(self) -> SourceAlgorithm
pub fn build(self) -> SourceAlgorithm
Consumes the builder and constructs a SourceAlgorithm
.