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.
This field is required.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 collection_type(self, input: CollectionType) -> Self
pub fn collection_type(self, input: CollectionType) -> Self
A grouping of elements where each element within the collection must have the same feature type (String
, Integral
, or Fractional
).
-
List
: An ordered collection of elements. -
Set
: An unordered collection of unique elements. -
Vector
: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.
sourcepub fn set_collection_type(self, input: Option<CollectionType>) -> Self
pub fn set_collection_type(self, input: Option<CollectionType>) -> Self
A grouping of elements where each element within the collection must have the same feature type (String
, Integral
, or Fractional
).
-
List
: An ordered collection of elements. -
Set
: An unordered collection of unique elements. -
Vector
: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.
sourcepub fn get_collection_type(&self) -> &Option<CollectionType>
pub fn get_collection_type(&self) -> &Option<CollectionType>
A grouping of elements where each element within the collection must have the same feature type (String
, Integral
, or Fractional
).
-
List
: An ordered collection of elements. -
Set
: An unordered collection of unique elements. -
Vector
: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.
sourcepub fn collection_config(self, input: CollectionConfig) -> Self
pub fn collection_config(self, input: CollectionConfig) -> Self
Configuration for your collection.
sourcepub fn set_collection_config(self, input: Option<CollectionConfig>) -> Self
pub fn set_collection_config(self, input: Option<CollectionConfig>) -> Self
Configuration for your collection.
sourcepub fn get_collection_config(&self) -> &Option<CollectionConfig>
pub fn get_collection_config(&self) -> &Option<CollectionConfig>
Configuration for your collection.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for FeatureDefinitionBuilder
impl PartialEq for FeatureDefinitionBuilder
source§fn eq(&self, other: &FeatureDefinitionBuilder) -> bool
fn eq(&self, other: &FeatureDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.