@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
FeatureType
s 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.FeatureType
public String getFeatureType()
The value type of a feature. Valid values are Integral, Fractional, or String.
FeatureType
public 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.FeatureType
public 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.FeatureType
public String toString()
toString
in class Object
Object.toString()
public FeatureDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.