Struct aws_sdk_sagemaker::types::builders::CheckpointConfigBuilder
source · #[non_exhaustive]pub struct CheckpointConfigBuilder { /* private fields */ }
Expand description
A builder for CheckpointConfig
.
Implementations§
source§impl CheckpointConfigBuilder
impl CheckpointConfigBuilder
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 get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
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 get_local_path(&self) -> &Option<String>
pub fn get_local_path(&self) -> &Option<String>
(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
.
Trait Implementations§
source§impl Clone for CheckpointConfigBuilder
impl Clone for CheckpointConfigBuilder
source§fn clone(&self) -> CheckpointConfigBuilder
fn clone(&self) -> CheckpointConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckpointConfigBuilder
impl Debug for CheckpointConfigBuilder
source§impl Default for CheckpointConfigBuilder
impl Default for CheckpointConfigBuilder
source§fn default() -> CheckpointConfigBuilder
fn default() -> CheckpointConfigBuilder
source§impl PartialEq for CheckpointConfigBuilder
impl PartialEq for CheckpointConfigBuilder
source§fn eq(&self, other: &CheckpointConfigBuilder) -> bool
fn eq(&self, other: &CheckpointConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.