@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetEntityRecognizerInputDataConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the format and location of the input data. You must provide either the Annotations
parameter
or the EntityList
parameter.
Constructor and Description |
---|
DatasetEntityRecognizerInputDataConfig() |
Modifier and Type | Method and Description |
---|---|
DatasetEntityRecognizerInputDataConfig |
clone() |
boolean |
equals(Object obj) |
DatasetEntityRecognizerAnnotations |
getAnnotations()
The S3 location of the annotation documents for your custom entity recognizer.
|
DatasetEntityRecognizerDocuments |
getDocuments()
The format and location of the training documents for your custom entity recognizer.
|
DatasetEntityRecognizerEntityList |
getEntityList()
The S3 location of the entity list for your custom entity recognizer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnnotations(DatasetEntityRecognizerAnnotations annotations)
The S3 location of the annotation documents for your custom entity recognizer.
|
void |
setDocuments(DatasetEntityRecognizerDocuments documents)
The format and location of the training documents for your custom entity recognizer.
|
void |
setEntityList(DatasetEntityRecognizerEntityList entityList)
The S3 location of the entity list for your custom entity recognizer.
|
String |
toString()
Returns a string representation of this object.
|
DatasetEntityRecognizerInputDataConfig |
withAnnotations(DatasetEntityRecognizerAnnotations annotations)
The S3 location of the annotation documents for your custom entity recognizer.
|
DatasetEntityRecognizerInputDataConfig |
withDocuments(DatasetEntityRecognizerDocuments documents)
The format and location of the training documents for your custom entity recognizer.
|
DatasetEntityRecognizerInputDataConfig |
withEntityList(DatasetEntityRecognizerEntityList entityList)
The S3 location of the entity list for your custom entity recognizer.
|
public DatasetEntityRecognizerInputDataConfig()
public void setAnnotations(DatasetEntityRecognizerAnnotations annotations)
The S3 location of the annotation documents for your custom entity recognizer.
annotations
- The S3 location of the annotation documents for your custom entity recognizer.public DatasetEntityRecognizerAnnotations getAnnotations()
The S3 location of the annotation documents for your custom entity recognizer.
public DatasetEntityRecognizerInputDataConfig withAnnotations(DatasetEntityRecognizerAnnotations annotations)
The S3 location of the annotation documents for your custom entity recognizer.
annotations
- The S3 location of the annotation documents for your custom entity recognizer.public void setDocuments(DatasetEntityRecognizerDocuments documents)
The format and location of the training documents for your custom entity recognizer.
documents
- The format and location of the training documents for your custom entity recognizer.public DatasetEntityRecognizerDocuments getDocuments()
The format and location of the training documents for your custom entity recognizer.
public DatasetEntityRecognizerInputDataConfig withDocuments(DatasetEntityRecognizerDocuments documents)
The format and location of the training documents for your custom entity recognizer.
documents
- The format and location of the training documents for your custom entity recognizer.public void setEntityList(DatasetEntityRecognizerEntityList entityList)
The S3 location of the entity list for your custom entity recognizer.
entityList
- The S3 location of the entity list for your custom entity recognizer.public DatasetEntityRecognizerEntityList getEntityList()
The S3 location of the entity list for your custom entity recognizer.
public DatasetEntityRecognizerInputDataConfig withEntityList(DatasetEntityRecognizerEntityList entityList)
The S3 location of the entity list for your custom entity recognizer.
entityList
- The S3 location of the entity list for your custom entity recognizer.public String toString()
toString
in class Object
Object.toString()
public DatasetEntityRecognizerInputDataConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.