@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeatureDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A list of features. You must include FeatureName and FeatureType. Valid feature
FeatureTypes are Integral, Fractional and String.
| Constructor and Description |
|---|
FeatureDefinition() |
| Modifier and Type | Method and Description |
|---|---|
FeatureDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getFeatureName()
The name of a feature.
|
String |
getFeatureType()
The value type of a feature.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFeatureName(String featureName)
The name of a feature.
|
void |
setFeatureType(String featureType)
The value type of a feature.
|
String |
toString()
Returns a string representation of this object.
|
FeatureDefinition |
withFeatureName(String featureName)
The name of a feature.
|
FeatureDefinition |
withFeatureType(FeatureType featureType)
The value type of a feature.
|
FeatureDefinition |
withFeatureType(String featureType)
The value type of a feature.
|
public void setFeatureName(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 - 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.public String getFeatureName()
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 FeatureDefinition withFeatureName(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 - 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.public void setFeatureType(String featureType)
The value type of a feature. Valid values are Integral, Fractional, or String.
featureType - The value type of a feature. Valid values are Integral, Fractional, or String.FeatureTypepublic String getFeatureType()
The value type of a feature. Valid values are Integral, Fractional, or String.
FeatureTypepublic FeatureDefinition withFeatureType(String featureType)
The value type of a feature. Valid values are Integral, Fractional, or String.
featureType - The value type of a feature. Valid values are Integral, Fractional, or String.FeatureTypepublic FeatureDefinition withFeatureType(FeatureType featureType)
The value type of a feature. Valid values are Integral, Fractional, or String.
featureType - The value type of a feature. Valid values are Integral, Fractional, or String.FeatureTypepublic String toString()
toString in class ObjectObject.toString()public FeatureDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.