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 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
.
Trait Implementations§
source§impl Clone for CheckpointConfigBuilder
impl Clone for CheckpointConfigBuilder
source§fn clone(&self) -> CheckpointConfigBuilder
fn clone(&self) -> CheckpointConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<CheckpointConfigBuilder> for CheckpointConfigBuilder
impl PartialEq<CheckpointConfigBuilder> for CheckpointConfigBuilder
source§fn eq(&self, other: &CheckpointConfigBuilder) -> bool
fn eq(&self, other: &CheckpointConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CheckpointConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CheckpointConfigBuilder
impl Send for CheckpointConfigBuilder
impl Sync for CheckpointConfigBuilder
impl Unpin for CheckpointConfigBuilder
impl UnwindSafe for CheckpointConfigBuilder
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
Mutably borrows from an owned value. Read more