@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityRecognitionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration required for an entity recognition model.
Constructor and Description |
---|
EntityRecognitionConfig() |
Modifier and Type | Method and Description |
---|---|
EntityRecognitionConfig |
clone() |
boolean |
equals(Object obj) |
List<EntityTypesListItem> |
getEntityTypes()
Up to 25 entity types that the model is trained to recognize.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityTypes(Collection<EntityTypesListItem> entityTypes)
Up to 25 entity types that the model is trained to recognize.
|
String |
toString()
Returns a string representation of this object.
|
EntityRecognitionConfig |
withEntityTypes(Collection<EntityTypesListItem> entityTypes)
Up to 25 entity types that the model is trained to recognize.
|
EntityRecognitionConfig |
withEntityTypes(EntityTypesListItem... entityTypes)
Up to 25 entity types that the model is trained to recognize.
|
public List<EntityTypesListItem> getEntityTypes()
Up to 25 entity types that the model is trained to recognize.
public void setEntityTypes(Collection<EntityTypesListItem> entityTypes)
Up to 25 entity types that the model is trained to recognize.
entityTypes
- Up to 25 entity types that the model is trained to recognize.public EntityRecognitionConfig withEntityTypes(EntityTypesListItem... entityTypes)
Up to 25 entity types that the model is trained to recognize.
NOTE: This method appends the values to the existing list (if any). Use
setEntityTypes(java.util.Collection)
or withEntityTypes(java.util.Collection)
if you want to
override the existing values.
entityTypes
- Up to 25 entity types that the model is trained to recognize.public EntityRecognitionConfig withEntityTypes(Collection<EntityTypesListItem> entityTypes)
Up to 25 entity types that the model is trained to recognize.
entityTypes
- Up to 25 entity types that the model is trained to recognize.public String toString()
toString
in class Object
Object.toString()
public EntityRecognitionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.