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 ==
.impl StructuralPartialEq for CheckpointConfigBuilder
Auto Trait Implementations§
impl Freeze for CheckpointConfigBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more