Struct aws_sdk_sagemaker::types::builders::ParameterRangesBuilder
source · #[non_exhaustive]pub struct ParameterRangesBuilder { /* private fields */ }
Expand description
A builder for ParameterRanges
.
Implementations§
source§impl ParameterRangesBuilder
impl ParameterRangesBuilder
sourcepub fn integer_parameter_ranges(self, input: IntegerParameterRange) -> Self
pub fn integer_parameter_ranges(self, input: IntegerParameterRange) -> Self
Appends an item to integer_parameter_ranges
.
To override the contents of this collection use set_integer_parameter_ranges
.
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
sourcepub fn set_integer_parameter_ranges(
self,
input: Option<Vec<IntegerParameterRange>>
) -> Self
pub fn set_integer_parameter_ranges( self, input: Option<Vec<IntegerParameterRange>> ) -> Self
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
sourcepub fn get_integer_parameter_ranges(
&self
) -> &Option<Vec<IntegerParameterRange>>
pub fn get_integer_parameter_ranges( &self ) -> &Option<Vec<IntegerParameterRange>>
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
sourcepub fn continuous_parameter_ranges(
self,
input: ContinuousParameterRange
) -> Self
pub fn continuous_parameter_ranges( self, input: ContinuousParameterRange ) -> Self
Appends an item to continuous_parameter_ranges
.
To override the contents of this collection use set_continuous_parameter_ranges
.
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
sourcepub fn set_continuous_parameter_ranges(
self,
input: Option<Vec<ContinuousParameterRange>>
) -> Self
pub fn set_continuous_parameter_ranges( self, input: Option<Vec<ContinuousParameterRange>> ) -> Self
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
sourcepub fn get_continuous_parameter_ranges(
&self
) -> &Option<Vec<ContinuousParameterRange>>
pub fn get_continuous_parameter_ranges( &self ) -> &Option<Vec<ContinuousParameterRange>>
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
sourcepub fn categorical_parameter_ranges(
self,
input: CategoricalParameterRange
) -> Self
pub fn categorical_parameter_ranges( self, input: CategoricalParameterRange ) -> Self
Appends an item to categorical_parameter_ranges
.
To override the contents of this collection use set_categorical_parameter_ranges
.
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
sourcepub fn set_categorical_parameter_ranges(
self,
input: Option<Vec<CategoricalParameterRange>>
) -> Self
pub fn set_categorical_parameter_ranges( self, input: Option<Vec<CategoricalParameterRange>> ) -> Self
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
sourcepub fn get_categorical_parameter_ranges(
&self
) -> &Option<Vec<CategoricalParameterRange>>
pub fn get_categorical_parameter_ranges( &self ) -> &Option<Vec<CategoricalParameterRange>>
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
sourcepub fn auto_parameters(self, input: AutoParameter) -> Self
pub fn auto_parameters(self, input: AutoParameter) -> Self
Appends an item to auto_parameters
.
To override the contents of this collection use set_auto_parameters
.
A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job.
sourcepub fn set_auto_parameters(self, input: Option<Vec<AutoParameter>>) -> Self
pub fn set_auto_parameters(self, input: Option<Vec<AutoParameter>>) -> Self
A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job.
sourcepub fn get_auto_parameters(&self) -> &Option<Vec<AutoParameter>>
pub fn get_auto_parameters(&self) -> &Option<Vec<AutoParameter>>
A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job.
sourcepub fn build(self) -> ParameterRanges
pub fn build(self) -> ParameterRanges
Consumes the builder and constructs a ParameterRanges
.
Trait Implementations§
source§impl Clone for ParameterRangesBuilder
impl Clone for ParameterRangesBuilder
source§fn clone(&self) -> ParameterRangesBuilder
fn clone(&self) -> ParameterRangesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterRangesBuilder
impl Debug for ParameterRangesBuilder
source§impl Default for ParameterRangesBuilder
impl Default for ParameterRangesBuilder
source§fn default() -> ParameterRangesBuilder
fn default() -> ParameterRangesBuilder
source§impl PartialEq<ParameterRangesBuilder> for ParameterRangesBuilder
impl PartialEq<ParameterRangesBuilder> for ParameterRangesBuilder
source§fn eq(&self, other: &ParameterRangesBuilder) -> bool
fn eq(&self, other: &ParameterRangesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.