@Generated(value="software.amazon.awssdk:codegen") public final class FeatureDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>
A list of features. You must include FeatureName and FeatureType. Valid feature
FeatureTypes are Integral, Fractional and String.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FeatureDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FeatureDefinition.Builder |
builder() |
CollectionConfig |
collectionConfig()
Configuration for your collection.
|
CollectionType |
collectionType()
A grouping of elements where each element within the collection must have the same feature type (
String, Integral, or Fractional). |
String |
collectionTypeAsString()
A grouping of elements where each element within the collection must have the same feature type (
String, Integral, or Fractional). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
featureName()
The name of a feature.
|
FeatureType |
featureType()
The value type of a feature.
|
String |
featureTypeAsString()
The value type of a feature.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FeatureDefinition.Builder> |
serializableBuilderClass() |
FeatureDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
FeatureName cannot be any of the
following: is_deleted, write_time, api_invocation_time.public final FeatureType featureType()
The value type of a feature. Valid values are Integral, Fractional, or String.
If the service returns an enum value that is not available in the current SDK version, featureType will
return FeatureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
featureTypeAsString().
FeatureTypepublic final String featureTypeAsString()
The value type of a feature. Valid values are Integral, Fractional, or String.
If the service returns an enum value that is not available in the current SDK version, featureType will
return FeatureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
featureTypeAsString().
FeatureTypepublic final CollectionType 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.
If the service returns an enum value that is not available in the current SDK version, collectionType
will return CollectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from collectionTypeAsString().
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.
CollectionTypepublic final String collectionTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, collectionType
will return CollectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from collectionTypeAsString().
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.
CollectionTypepublic final CollectionConfig collectionConfig()
Configuration for your collection.
public FeatureDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>public static FeatureDefinition.Builder builder()
public static Class<? extends FeatureDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.