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 for ParameterRangesBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ParameterRangesBuilder
Auto Trait Implementations§
impl Freeze for ParameterRangesBuilder
impl RefUnwindSafe for ParameterRangesBuilder
impl Send for ParameterRangesBuilder
impl Sync for ParameterRangesBuilder
impl Unpin for ParameterRangesBuilder
impl UnwindSafe for ParameterRangesBuilder
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