Struct aws_sdk_sagemaker::types::builders::FeatureDefinitionBuilder
source · #[non_exhaustive]pub struct FeatureDefinitionBuilder { /* private fields */ }
Expand description
A builder for FeatureDefinition
.
Implementations§
source§impl FeatureDefinitionBuilder
impl FeatureDefinitionBuilder
sourcepub fn feature_name(self, input: impl Into<String>) -> Self
pub fn feature_name(self, input: impl Into<String>) -> Self
The name of a feature. The type must be a string. FeatureName
cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
sourcepub fn set_feature_name(self, input: Option<String>) -> Self
pub fn set_feature_name(self, input: Option<String>) -> Self
The name of a feature. The type must be a string. FeatureName
cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
sourcepub fn get_feature_name(&self) -> &Option<String>
pub fn get_feature_name(&self) -> &Option<String>
The name of a feature. The type must be a string. FeatureName
cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
sourcepub fn feature_type(self, input: FeatureType) -> Self
pub fn feature_type(self, input: FeatureType) -> Self
The value type of a feature. Valid values are Integral, Fractional, or String.
sourcepub fn set_feature_type(self, input: Option<FeatureType>) -> Self
pub fn set_feature_type(self, input: Option<FeatureType>) -> Self
The value type of a feature. Valid values are Integral, Fractional, or String.
sourcepub fn get_feature_type(&self) -> &Option<FeatureType>
pub fn get_feature_type(&self) -> &Option<FeatureType>
The value type of a feature. Valid values are Integral, Fractional, or String.
sourcepub fn build(self) -> FeatureDefinition
pub fn build(self) -> FeatureDefinition
Consumes the builder and constructs a FeatureDefinition
.
Trait Implementations§
source§impl Clone for FeatureDefinitionBuilder
impl Clone for FeatureDefinitionBuilder
source§fn clone(&self) -> FeatureDefinitionBuilder
fn clone(&self) -> FeatureDefinitionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FeatureDefinitionBuilder
impl Debug for FeatureDefinitionBuilder
source§impl Default for FeatureDefinitionBuilder
impl Default for FeatureDefinitionBuilder
source§fn default() -> FeatureDefinitionBuilder
fn default() -> FeatureDefinitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FeatureDefinitionBuilder> for FeatureDefinitionBuilder
impl PartialEq<FeatureDefinitionBuilder> for FeatureDefinitionBuilder
source§fn eq(&self, other: &FeatureDefinitionBuilder) -> bool
fn eq(&self, other: &FeatureDefinitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FeatureDefinitionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FeatureDefinitionBuilder
impl Send for FeatureDefinitionBuilder
impl Sync for FeatureDefinitionBuilder
impl Unpin for FeatureDefinitionBuilder
impl UnwindSafe for FeatureDefinitionBuilder
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
Mutably borrows from an owned value. Read more