#[non_exhaustive]pub struct ProfilerRuleConfiguration {
pub rule_configuration_name: Option<String>,
pub local_path: Option<String>,
pub s3_output_path: Option<String>,
pub rule_evaluator_image: Option<String>,
pub instance_type: Option<ProcessingInstanceType>,
pub volume_size_in_gb: Option<i32>,
pub rule_parameters: Option<HashMap<String, String>>,
}
Expand description
Configuration information for profiling rules.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rule_configuration_name: Option<String>
The name of the rule configuration. It must be unique relative to other rule configuration names.
local_path: Option<String>
Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/
.
s3_output_path: Option<String>
Path to Amazon S3 storage location for rules.
rule_evaluator_image: Option<String>
The Amazon Elastic Container Registry Image for the managed rule evaluation.
instance_type: Option<ProcessingInstanceType>
The instance type to deploy a custom rule for profiling a training job.
volume_size_in_gb: Option<i32>
The size, in GB, of the ML storage volume attached to the processing instance.
rule_parameters: Option<HashMap<String, String>>
Runtime configuration for rule container.
Implementations§
source§impl ProfilerRuleConfiguration
impl ProfilerRuleConfiguration
sourcepub fn rule_configuration_name(&self) -> Option<&str>
pub fn rule_configuration_name(&self) -> Option<&str>
The name of the rule configuration. It must be unique relative to other rule configuration names.
sourcepub fn local_path(&self) -> Option<&str>
pub fn local_path(&self) -> Option<&str>
Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/
.
sourcepub fn s3_output_path(&self) -> Option<&str>
pub fn s3_output_path(&self) -> Option<&str>
Path to Amazon S3 storage location for rules.
sourcepub fn rule_evaluator_image(&self) -> Option<&str>
pub fn rule_evaluator_image(&self) -> Option<&str>
The Amazon Elastic Container Registry Image for the managed rule evaluation.
sourcepub fn instance_type(&self) -> Option<&ProcessingInstanceType>
pub fn instance_type(&self) -> Option<&ProcessingInstanceType>
The instance type to deploy a custom rule for profiling a training job.
sourcepub fn volume_size_in_gb(&self) -> Option<i32>
pub fn volume_size_in_gb(&self) -> Option<i32>
The size, in GB, of the ML storage volume attached to the processing instance.
source§impl ProfilerRuleConfiguration
impl ProfilerRuleConfiguration
sourcepub fn builder() -> ProfilerRuleConfigurationBuilder
pub fn builder() -> ProfilerRuleConfigurationBuilder
Creates a new builder-style object to manufacture ProfilerRuleConfiguration
.
Trait Implementations§
source§impl Clone for ProfilerRuleConfiguration
impl Clone for ProfilerRuleConfiguration
source§fn clone(&self) -> ProfilerRuleConfiguration
fn clone(&self) -> ProfilerRuleConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProfilerRuleConfiguration
impl Debug for ProfilerRuleConfiguration
source§impl PartialEq for ProfilerRuleConfiguration
impl PartialEq for ProfilerRuleConfiguration
source§fn eq(&self, other: &ProfilerRuleConfiguration) -> bool
fn eq(&self, other: &ProfilerRuleConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProfilerRuleConfiguration
Auto Trait Implementations§
impl Freeze for ProfilerRuleConfiguration
impl RefUnwindSafe for ProfilerRuleConfiguration
impl Send for ProfilerRuleConfiguration
impl Sync for ProfilerRuleConfiguration
impl Unpin for ProfilerRuleConfiguration
impl UnwindSafe for ProfilerRuleConfiguration
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