@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityRecognizerInputDataConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the format and location of the input data.
Constructor and Description |
---|
EntityRecognizerInputDataConfig() |
Modifier and Type | Method and Description |
---|---|
EntityRecognizerInputDataConfig |
clone() |
boolean |
equals(Object obj) |
EntityRecognizerAnnotations |
getAnnotations()
S3 location of the annotations file for an entity recognizer.
|
EntityRecognizerDocuments |
getDocuments()
S3 location of the documents folder for an entity recognizer
|
EntityRecognizerEntityList |
getEntityList()
S3 location of the entity list for an entity recognizer.
|
List<EntityTypesListItem> |
getEntityTypes()
The entity types in the input data for an entity recognizer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnnotations(EntityRecognizerAnnotations annotations)
S3 location of the annotations file for an entity recognizer.
|
void |
setDocuments(EntityRecognizerDocuments documents)
S3 location of the documents folder for an entity recognizer
|
void |
setEntityList(EntityRecognizerEntityList entityList)
S3 location of the entity list for an entity recognizer.
|
void |
setEntityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the input data for an entity recognizer.
|
String |
toString()
Returns a string representation of this object.
|
EntityRecognizerInputDataConfig |
withAnnotations(EntityRecognizerAnnotations annotations)
S3 location of the annotations file for an entity recognizer.
|
EntityRecognizerInputDataConfig |
withDocuments(EntityRecognizerDocuments documents)
S3 location of the documents folder for an entity recognizer
|
EntityRecognizerInputDataConfig |
withEntityList(EntityRecognizerEntityList entityList)
S3 location of the entity list for an entity recognizer.
|
EntityRecognizerInputDataConfig |
withEntityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the input data for an entity recognizer.
|
EntityRecognizerInputDataConfig |
withEntityTypes(EntityTypesListItem... entityTypes)
The entity types in the input data for an entity recognizer.
|
public List<EntityTypesListItem> getEntityTypes()
The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at one time to train an entity recognizer.
public void setEntityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at one time to train an entity recognizer.
entityTypes
- The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at
one time to train an entity recognizer.public EntityRecognizerInputDataConfig withEntityTypes(EntityTypesListItem... entityTypes)
The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at one time to train an entity recognizer.
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
- The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at
one time to train an entity recognizer.public EntityRecognizerInputDataConfig withEntityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at one time to train an entity recognizer.
entityTypes
- The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at
one time to train an entity recognizer.public void setDocuments(EntityRecognizerDocuments documents)
S3 location of the documents folder for an entity recognizer
documents
- S3 location of the documents folder for an entity recognizerpublic EntityRecognizerDocuments getDocuments()
S3 location of the documents folder for an entity recognizer
public EntityRecognizerInputDataConfig withDocuments(EntityRecognizerDocuments documents)
S3 location of the documents folder for an entity recognizer
documents
- S3 location of the documents folder for an entity recognizerpublic void setAnnotations(EntityRecognizerAnnotations annotations)
S3 location of the annotations file for an entity recognizer.
annotations
- S3 location of the annotations file for an entity recognizer.public EntityRecognizerAnnotations getAnnotations()
S3 location of the annotations file for an entity recognizer.
public EntityRecognizerInputDataConfig withAnnotations(EntityRecognizerAnnotations annotations)
S3 location of the annotations file for an entity recognizer.
annotations
- S3 location of the annotations file for an entity recognizer.public void setEntityList(EntityRecognizerEntityList entityList)
S3 location of the entity list for an entity recognizer.
entityList
- S3 location of the entity list for an entity recognizer.public EntityRecognizerEntityList getEntityList()
S3 location of the entity list for an entity recognizer.
public EntityRecognizerInputDataConfig withEntityList(EntityRecognizerEntityList entityList)
S3 location of the entity list for an entity recognizer.
entityList
- S3 location of the entity list for an entity recognizer.public String toString()
toString
in class Object
Object.toString()
public EntityRecognizerInputDataConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.