@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentClassifierInputDataConfig extends Object implements Serializable, Cloneable, StructuredPojo
The input properties for training a document classifier.
For more information on how the input file is formatted, see how-document-classification-training-data.
Constructor and Description |
---|
DocumentClassifierInputDataConfig() |
Modifier and Type | Method and Description |
---|---|
DocumentClassifierInputDataConfig |
clone() |
boolean |
equals(Object obj) |
String |
getS3Uri()
The Amazon S3 URI for the input data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Uri(String s3Uri)
The Amazon S3 URI for the input data.
|
String |
toString()
Returns a string representation of this object.
|
DocumentClassifierInputDataConfig |
withS3Uri(String s3Uri)
The Amazon S3 URI for the input data.
|
public void setS3Uri(String s3Uri)
The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.
For example, if you use the URI S3://bucketName/prefix
, if the prefix is a single file, Amazon
Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of
them as input.
s3Uri
- The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that
you are calling. The URI can point to a single input file or it can provide the prefix for a collection of
input files.
For example, if you use the URI S3://bucketName/prefix
, if the prefix is a single file,
Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend
uses all of them as input.
public String getS3Uri()
The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.
For example, if you use the URI S3://bucketName/prefix
, if the prefix is a single file, Amazon
Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of
them as input.
For example, if you use the URI S3://bucketName/prefix
, if the prefix is a single file,
Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon
Comprehend uses all of them as input.
public DocumentClassifierInputDataConfig withS3Uri(String s3Uri)
The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.
For example, if you use the URI S3://bucketName/prefix
, if the prefix is a single file, Amazon
Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of
them as input.
s3Uri
- The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that
you are calling. The URI can point to a single input file or it can provide the prefix for a collection of
input files.
For example, if you use the URI S3://bucketName/prefix
, if the prefix is a single file,
Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend
uses all of them as input.
public String toString()
toString
in class Object
Object.toString()
public DocumentClassifierInputDataConfig 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.