Struct aws_sdk_sagemaker::model::checkpoint_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CheckpointConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix
.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix
.
sourcepub fn local_path(self, input: impl Into<String>) -> Self
pub fn local_path(self, input: impl Into<String>) -> Self
(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/
.
sourcepub fn set_local_path(self, input: Option<String>) -> Self
pub fn set_local_path(self, input: Option<String>) -> Self
(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/
.
sourcepub fn build(self) -> CheckpointConfig
pub fn build(self) -> CheckpointConfig
Consumes the builder and constructs a CheckpointConfig
.