Struct aws_sdk_sagemaker::types::builders::DebugHookConfigBuilder
source · #[non_exhaustive]pub struct DebugHookConfigBuilder { /* private fields */ }
Expand description
A builder for DebugHookConfig
.
Implementations§
source§impl DebugHookConfigBuilder
impl DebugHookConfigBuilder
sourcepub fn local_path(self, input: impl Into<String>) -> Self
pub fn local_path(self, input: impl Into<String>) -> Self
Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/
.
sourcepub fn set_local_path(self, input: Option<String>) -> Self
pub fn set_local_path(self, input: Option<String>) -> Self
Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/
.
sourcepub fn get_local_path(&self) -> &Option<String>
pub fn get_local_path(&self) -> &Option<String>
Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/
.
sourcepub fn s3_output_path(self, input: impl Into<String>) -> Self
pub fn s3_output_path(self, input: impl Into<String>) -> Self
Path to Amazon S3 storage location for metrics and tensors.
This field is required.sourcepub fn set_s3_output_path(self, input: Option<String>) -> Self
pub fn set_s3_output_path(self, input: Option<String>) -> Self
Path to Amazon S3 storage location for metrics and tensors.
sourcepub fn get_s3_output_path(&self) -> &Option<String>
pub fn get_s3_output_path(&self) -> &Option<String>
Path to Amazon S3 storage location for metrics and tensors.
sourcepub fn hook_parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn hook_parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to hook_parameters
.
To override the contents of this collection use set_hook_parameters
.
Configuration information for the Amazon SageMaker Debugger hook parameters.
sourcepub fn set_hook_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_hook_parameters(self, input: Option<HashMap<String, String>>) -> Self
Configuration information for the Amazon SageMaker Debugger hook parameters.
sourcepub fn get_hook_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_hook_parameters(&self) -> &Option<HashMap<String, String>>
Configuration information for the Amazon SageMaker Debugger hook parameters.
sourcepub fn collection_configurations(self, input: CollectionConfiguration) -> Self
pub fn collection_configurations(self, input: CollectionConfiguration) -> Self
Appends an item to collection_configurations
.
To override the contents of this collection use set_collection_configurations
.
Configuration information for Amazon SageMaker Debugger tensor collections. To learn more about how to configure the CollectionConfiguration
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
sourcepub fn set_collection_configurations(
self,
input: Option<Vec<CollectionConfiguration>>,
) -> Self
pub fn set_collection_configurations( self, input: Option<Vec<CollectionConfiguration>>, ) -> Self
Configuration information for Amazon SageMaker Debugger tensor collections. To learn more about how to configure the CollectionConfiguration
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
sourcepub fn get_collection_configurations(
&self,
) -> &Option<Vec<CollectionConfiguration>>
pub fn get_collection_configurations( &self, ) -> &Option<Vec<CollectionConfiguration>>
Configuration information for Amazon SageMaker Debugger tensor collections. To learn more about how to configure the CollectionConfiguration
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
sourcepub fn build(self) -> DebugHookConfig
pub fn build(self) -> DebugHookConfig
Consumes the builder and constructs a DebugHookConfig
.
Trait Implementations§
source§impl Clone for DebugHookConfigBuilder
impl Clone for DebugHookConfigBuilder
source§fn clone(&self) -> DebugHookConfigBuilder
fn clone(&self) -> DebugHookConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DebugHookConfigBuilder
impl Debug for DebugHookConfigBuilder
source§impl Default for DebugHookConfigBuilder
impl Default for DebugHookConfigBuilder
source§fn default() -> DebugHookConfigBuilder
fn default() -> DebugHookConfigBuilder
source§impl PartialEq for DebugHookConfigBuilder
impl PartialEq for DebugHookConfigBuilder
source§fn eq(&self, other: &DebugHookConfigBuilder) -> bool
fn eq(&self, other: &DebugHookConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DebugHookConfigBuilder
Auto Trait Implementations§
impl Freeze for DebugHookConfigBuilder
impl RefUnwindSafe for DebugHookConfigBuilder
impl Send for DebugHookConfigBuilder
impl Sync for DebugHookConfigBuilder
impl Unpin for DebugHookConfigBuilder
impl UnwindSafe for DebugHookConfigBuilder
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