@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) |
CollectionConfig |
getCollectionConfig()
Configuration for your collection.
|
String |
getCollectionType()
A grouping of elements where each element within the collection must have the same feature type (
String , Integral , or Fractional ). |
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 |
setCollectionConfig(CollectionConfig collectionConfig)
Configuration for your collection.
|
void |
setCollectionType(String collectionType)
A grouping of elements where each element within the collection must have the same feature type (
String , Integral , or Fractional ). |
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 |
withCollectionConfig(CollectionConfig collectionConfig)
Configuration for your collection.
|
FeatureDefinition |
withCollectionType(CollectionType collectionType)
A grouping of elements where each element within the collection must have the same feature type (
String , Integral , or Fractional ). |
FeatureDefinition |
withCollectionType(String collectionType)
A grouping of elements where each element within the collection must have the same feature type (
String , Integral , or Fractional ). |
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
.
The name:
Must start with an alphanumeric character.
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
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
.
The name:
Must start with an alphanumeric character.
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
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
.
The name:
Must start with an alphanumeric character.
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
FeatureName
cannot 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.
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
.
The name:
Must start with an alphanumeric character.
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
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
.
The name:
Must start with an alphanumeric character.
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
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 void setCollectionType(String 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.
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.
CollectionType
public String getCollectionType()
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.
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.
CollectionType
public FeatureDefinition withCollectionType(String 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.
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.
CollectionType
public FeatureDefinition withCollectionType(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.
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.
CollectionType
public void setCollectionConfig(CollectionConfig collectionConfig)
Configuration for your collection.
collectionConfig
- Configuration for your collection.public CollectionConfig getCollectionConfig()
Configuration for your collection.
public FeatureDefinition withCollectionConfig(CollectionConfig collectionConfig)
Configuration for your collection.
collectionConfig
- Configuration for your collection.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.