Struct aws_sdk_sagemaker::model::parameter_range::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ParameterRange.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn integer_parameter_range_specification(
self,
input: IntegerParameterRangeSpecification
) -> Self
pub fn integer_parameter_range_specification(
self,
input: IntegerParameterRangeSpecification
) -> Self
A IntegerParameterRangeSpecification object that defines the possible values for an integer hyperparameter.
sourcepub fn set_integer_parameter_range_specification(
self,
input: Option<IntegerParameterRangeSpecification>
) -> Self
pub fn set_integer_parameter_range_specification(
self,
input: Option<IntegerParameterRangeSpecification>
) -> Self
A IntegerParameterRangeSpecification object that defines the possible values for an integer hyperparameter.
sourcepub fn continuous_parameter_range_specification(
self,
input: ContinuousParameterRangeSpecification
) -> Self
pub fn continuous_parameter_range_specification(
self,
input: ContinuousParameterRangeSpecification
) -> Self
A ContinuousParameterRangeSpecification object that defines the possible values for a continuous hyperparameter.
sourcepub fn set_continuous_parameter_range_specification(
self,
input: Option<ContinuousParameterRangeSpecification>
) -> Self
pub fn set_continuous_parameter_range_specification(
self,
input: Option<ContinuousParameterRangeSpecification>
) -> Self
A ContinuousParameterRangeSpecification object that defines the possible values for a continuous hyperparameter.
sourcepub fn categorical_parameter_range_specification(
self,
input: CategoricalParameterRangeSpecification
) -> Self
pub fn categorical_parameter_range_specification(
self,
input: CategoricalParameterRangeSpecification
) -> Self
A CategoricalParameterRangeSpecification object that defines the possible values for a categorical hyperparameter.
sourcepub fn set_categorical_parameter_range_specification(
self,
input: Option<CategoricalParameterRangeSpecification>
) -> Self
pub fn set_categorical_parameter_range_specification(
self,
input: Option<CategoricalParameterRangeSpecification>
) -> Self
A CategoricalParameterRangeSpecification object that defines the possible values for a categorical hyperparameter.
sourcepub fn build(self) -> ParameterRange
pub fn build(self) -> ParameterRange
Consumes the builder and constructs a ParameterRange.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more