Struct aws_sdk_sagemaker::model::feature_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FeatureDefinition
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> FeatureDefinition
pub fn build(self) -> FeatureDefinition
Consumes the builder and constructs a FeatureDefinition
.