Interface DatasetAugmentedManifestsListItem.Builder

    • Method Detail

      • attributeNames

        DatasetAugmentedManifestsListItem.Builder attributeNames​(Collection<String> attributeNames)

        The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

        If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

        If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

        Parameters:
        attributeNames - The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

        If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

        If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributeNames

        DatasetAugmentedManifestsListItem.Builder attributeNames​(String... attributeNames)

        The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

        If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

        If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

        Parameters:
        attributeNames - The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

        If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

        If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Uri

        DatasetAugmentedManifestsListItem.Builder s3Uri​(String s3Uri)

        The Amazon S3 location of the augmented manifest file.

        Parameters:
        s3Uri - The Amazon S3 location of the augmented manifest file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • annotationDataS3Uri

        DatasetAugmentedManifestsListItem.Builder annotationDataS3Uri​(String annotationDataS3Uri)

        The S3 prefix to the annotation files that are referred in the augmented manifest file.

        Parameters:
        annotationDataS3Uri - The S3 prefix to the annotation files that are referred in the augmented manifest file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceDocumentsS3Uri

        DatasetAugmentedManifestsListItem.Builder sourceDocumentsS3Uri​(String sourceDocumentsS3Uri)

        The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.

        Parameters:
        sourceDocumentsS3Uri - The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentType

        DatasetAugmentedManifestsListItem.Builder documentType​(String documentType)

        The type of augmented manifest. If you don't specify, the default is PlainTextDocument.

        PLAIN_TEXT_DOCUMENT A document type that represents any unicode text that is encoded in UTF-8.

        Parameters:
        documentType - The type of augmented manifest. If you don't specify, the default is PlainTextDocument.

        PLAIN_TEXT_DOCUMENT A document type that represents any unicode text that is encoded in UTF-8.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AugmentedManifestsDocumentTypeFormat, AugmentedManifestsDocumentTypeFormat