Interface FeatureDefinition.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>
,SdkBuilder<FeatureDefinition.Builder,FeatureDefinition>
,SdkPojo
- Enclosing class:
- FeatureDefinition
public static interface FeatureDefinition.Builder extends SdkPojo, CopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FeatureDefinition.Builder
collectionConfig(Consumer<CollectionConfig.Builder> collectionConfig)
Configuration for your collection.FeatureDefinition.Builder
collectionConfig(CollectionConfig collectionConfig)
Configuration for your collection.FeatureDefinition.Builder
collectionType(String collectionType)
A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).FeatureDefinition.Builder
collectionType(CollectionType collectionType)
A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).FeatureDefinition.Builder
featureName(String featureName)
The name of a feature.FeatureDefinition.Builder
featureType(String featureType)
The value type of a feature.FeatureDefinition.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
featureName
FeatureDefinition.Builder featureName(String 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
FeatureDefinition.Builder featureType(String 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
,FeatureType
-
featureType
FeatureDefinition.Builder featureType(FeatureType 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
,FeatureType
-
collectionType
FeatureDefinition.Builder collectionType(String 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
,CollectionType
-
-
collectionType
FeatureDefinition.Builder collectionType(CollectionType 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
,CollectionType
-
-
collectionConfig
FeatureDefinition.Builder collectionConfig(CollectionConfig 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:
collectionConfig(CollectionConfig)
-
-