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
FeatureName
andFeatureType
. Valid featureFeatureType
s areIntegral
,Fractional
andString
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FeatureDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
, orFractional
).String
collectionTypeAsString()
A grouping of elements where each element within the collection must have the same feature type (String
,Integral
, orFractional
).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.-
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.
FeatureName
cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.- Returns:
- 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
.
-
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,
featureType
will 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,
featureType
will 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,
collectionType
will 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,
collectionType
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-