Class FeatureDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.FeatureDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>
@Generated("software.amazon.awssdk:codegen") public final class FeatureDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>
A list of features. You must include
FeatureNameandFeatureType. Valid featureFeatureTypes areIntegral,FractionalandString.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFeatureDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeatureDefinition.Builderbuilder()CollectionConfigcollectionConfig()Configuration for your collection.CollectionTypecollectionType()A grouping of elements where each element within the collection must have the same feature type (String,Integral, orFractional).StringcollectionTypeAsString()A grouping of elements where each element within the collection must have the same feature type (String,Integral, orFractional).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfeatureName()The name of a feature.FeatureTypefeatureType()The value type of a feature.StringfeatureTypeAsString()The value type of a feature.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FeatureDefinition.Builder>serializableBuilderClass()FeatureDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
featureName
public final String featureName()
The name of a feature. The type must be a string.
FeatureNamecannot 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:
- The name of a feature. The type must be a string.
FeatureNamecannot 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.
-
-
-
featureType
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,
featureTypewill returnFeatureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureTypeAsString().- Returns:
- The value type of a feature. Valid values are Integral, Fractional, or String.
- See Also:
FeatureType
-
featureTypeAsString
public 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,
featureTypewill returnFeatureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureTypeAsString().- Returns:
- The value type of a feature. Valid values are Integral, Fractional, or String.
- See Also:
FeatureType
-
collectionType
public final 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.
If the service returns an enum value that is not available in the current SDK version,
collectionTypewill returnCollectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcollectionTypeAsString().- Returns:
- 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.
-
- See Also:
CollectionType
-
-
collectionTypeAsString
public final String collectionTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
collectionTypewill returnCollectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcollectionTypeAsString().- Returns:
- 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.
-
- See Also:
CollectionType
-
-
collectionConfig
public final CollectionConfig collectionConfig()
Configuration for your collection.
- Returns:
- Configuration for your collection.
-
toBuilder
public FeatureDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FeatureDefinition.Builder,FeatureDefinition>
-
builder
public static FeatureDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends FeatureDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-