@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityRecognizerDocuments extends Object implements Serializable, Cloneable, StructuredPojo
Describes the training documents submitted with an entity recognizer.
Constructor and Description |
---|
EntityRecognizerDocuments() |
Modifier and Type | Method and Description |
---|---|
EntityRecognizerDocuments |
clone() |
boolean |
equals(Object obj) |
String |
getInputFormat()
Specifies how the text in an input file should be processed.
|
String |
getS3Uri()
Specifies the Amazon S3 location where the training documents for an entity recognizer are located.
|
String |
getTestS3Uri()
Specifies the Amazon S3 location where the test documents for an entity recognizer are located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputFormat(String inputFormat)
Specifies how the text in an input file should be processed.
|
void |
setS3Uri(String s3Uri)
Specifies the Amazon S3 location where the training documents for an entity recognizer are located.
|
void |
setTestS3Uri(String testS3Uri)
Specifies the Amazon S3 location where the test documents for an entity recognizer are located.
|
String |
toString()
Returns a string representation of this object.
|
EntityRecognizerDocuments |
withInputFormat(InputFormat inputFormat)
Specifies how the text in an input file should be processed.
|
EntityRecognizerDocuments |
withInputFormat(String inputFormat)
Specifies how the text in an input file should be processed.
|
EntityRecognizerDocuments |
withS3Uri(String s3Uri)
Specifies the Amazon S3 location where the training documents for an entity recognizer are located.
|
EntityRecognizerDocuments |
withTestS3Uri(String testS3Uri)
Specifies the Amazon S3 location where the test documents for an entity recognizer are located.
|
public void setS3Uri(String s3Uri)
Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
s3Uri
- Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The
URI must be in the same Region as the API endpoint that you are calling.public String getS3Uri()
Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
public EntityRecognizerDocuments withS3Uri(String s3Uri)
Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
s3Uri
- Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The
URI must be in the same Region as the API endpoint that you are calling.public void setTestS3Uri(String testS3Uri)
Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.
testS3Uri
- Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI
must be in the same Amazon Web Services Region as the API endpoint that you are calling.public String getTestS3Uri()
Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.
public EntityRecognizerDocuments withTestS3Uri(String testS3Uri)
Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.
testS3Uri
- Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI
must be in the same Amazon Web Services Region as the API endpoint that you are calling.public void setInputFormat(String inputFormat)
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
inputFormat
- Specifies how the text in an input file should be processed. This is optional, and the default is
ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you
are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each
line in a file is considered a separate document. Use this option when you are processing many short
documents, such as text messages.InputFormat
public String getInputFormat()
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
InputFormat
public EntityRecognizerDocuments withInputFormat(String inputFormat)
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
inputFormat
- Specifies how the text in an input file should be processed. This is optional, and the default is
ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you
are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each
line in a file is considered a separate document. Use this option when you are processing many short
documents, such as text messages.InputFormat
public EntityRecognizerDocuments withInputFormat(InputFormat inputFormat)
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
inputFormat
- Specifies how the text in an input file should be processed. This is optional, and the default is
ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you
are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each
line in a file is considered a separate document. Use this option when you are processing many short
documents, such as text messages.InputFormat
public String toString()
toString
in class Object
Object.toString()
public EntityRecognizerDocuments clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.