Interface FeatureDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FeatureDefinition.Builder,
,FeatureDefinition> SdkBuilder<FeatureDefinition.Builder,
,FeatureDefinition> SdkPojo
- Enclosing class:
FeatureDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondefault FeatureDefinition.Builder
collectionConfig
(Consumer<CollectionConfig.Builder> collectionConfig) Configuration for your collection.collectionConfig
(CollectionConfig collectionConfig) Configuration for your collection.collectionType
(String collectionType) A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).collectionType
(CollectionType collectionType) A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).featureName
(String featureName) The name of a feature.featureType
(String featureType) The value type of a feature.featureType
(FeatureType featureType) The value type of a feature.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
featureName
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
.The name:
-
Must start with an alphanumeric character.
-
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
- Parameters:
featureName
- 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
.The name:
-
Must start with an alphanumeric character.
-
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
featureType
The value type of a feature. Valid values are Integral, Fractional, or String.
- Parameters:
featureType
- The value type of a feature. Valid values are Integral, Fractional, or String.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
featureType
The value type of a feature. Valid values are Integral, Fractional, or String.
- Parameters:
featureType
- The value type of a feature. Valid values are Integral, Fractional, or String.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
collectionType
A grouping of elements where each element within the collection must have the same feature type (
String
,Integral
, orFractional
).-
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.
- Parameters:
collectionType
- A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
collectionType
A grouping of elements where each element within the collection must have the same feature type (
String
,Integral
, orFractional
).-
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.
- Parameters:
collectionType
- A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
collectionConfig
Configuration for your collection.
- Parameters:
collectionConfig
- Configuration for your collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionConfig
default FeatureDefinition.Builder collectionConfig(Consumer<CollectionConfig.Builder> collectionConfig) Configuration for your collection.
This is a convenience method that creates an instance of theCollectionConfig.Builder
avoiding the need to create one manually viaCollectionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollectionConfig(CollectionConfig)
.- Parameters:
collectionConfig
- a consumer that will call methods onCollectionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-