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 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.
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 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 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 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<DebugHookConfigBuilder> for DebugHookConfigBuilder
impl PartialEq<DebugHookConfigBuilder> 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 ==
.