diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextract.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextract.java index 1675d271c4f..b62dab6f715 100644 --- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextract.java +++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextract.java @@ -268,6 +268,137 @@ AnalyzeExpenseResult analyzeExpense(AnalyzeExpenseRequest analyzeExpenseRequest) AnalyzeIDResult analyzeID(AnalyzeIDRequest analyzeIDRequest) throws AmazonClientException, AmazonServiceException; + /** + *
+ * Creates an adapter, which can be fine-tuned for enhanced performance on
+ * user provided documents. Takes an AdapterName and FeatureType. Currently
+ * the only supported feature type is QUERIES. You can also
+ * provide a Description, Tags, and a ClientRequestToken. You can choose
+ * whether or not the adapter should be AutoUpdated with the AutoUpdate
+ * argument. By default, AutoUpdate is set to DISABLED.
+ *
+ * Creates a new version of an adapter. Operates on a provided AdapterId and + * a specified dataset provided via the DatasetConfig argument. Requires + * that you specify an Amazon S3 bucket with the OutputConfig argument. You + * can provide an optional KMSKeyId, an optional ClientRequestToken, and + * optional tags. + *
+ * + * @param createAdapterVersionRequest + * @return createAdapterVersionResult The response from the + * CreateAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws InvalidS3ObjectException + * @throws InvalidKMSKeyException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws IdempotentParameterMismatchException + * @throws ThrottlingException + * @throws LimitExceededException + * @throws ValidationException + * @throws ServiceQuotaExceededException + * @throws ResourceNotFoundException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + CreateAdapterVersionResult createAdapterVersion( + CreateAdapterVersionRequest createAdapterVersionRequest) throws AmazonClientException, + AmazonServiceException; + + /** + *+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the + * adapter specified by the ID. + *
+ * + * @param deleteAdapterRequest + * @return deleteAdapterResult The response from the DeleteAdapter service + * method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + DeleteAdapterResult deleteAdapter(DeleteAdapterRequest deleteAdapterRequest) + throws AmazonClientException, AmazonServiceException; + + /** + *+ * Deletes an Amazon Textract adapter version. Requires that you specify + * both an AdapterId and a AdapterVersion. Deletes the adapter version + * specified by the AdapterId and the AdapterVersion. + *
+ * + * @param deleteAdapterVersionRequest + * @return deleteAdapterVersionResult The response from the + * DeleteAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + DeleteAdapterVersionResult deleteAdapterVersion( + DeleteAdapterVersionRequest deleteAdapterVersionRequest) throws AmazonClientException, + AmazonServiceException; + /** ** Detects text in the input document. Amazon Textract can detect lines of @@ -317,6 +448,63 @@ AnalyzeIDResult analyzeID(AnalyzeIDRequest analyzeIDRequest) throws AmazonClient DetectDocumentTextResult detectDocumentText(DetectDocumentTextRequest detectDocumentTextRequest) throws AmazonClientException, AmazonServiceException; + /** + *
+ * Gets configuration information for an adapter specified by an AdapterId, + * returning information on AdapterName, Description, CreationTime, + * AutoUpdate status, and FeatureTypes. + *
+ * + * @param getAdapterRequest + * @return getAdapterResult The response from the GetAdapter service method, + * as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + GetAdapterResult getAdapter(GetAdapterRequest getAdapterRequest) throws AmazonClientException, + AmazonServiceException; + + /** + *+ * Gets configuration information for the specified adapter version, + * including: AdapterId, AdapterVersion, FeatureTypes, Status, + * StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and + * EvaluationMetrics. + *
+ * + * @param getAdapterVersionRequest + * @return getAdapterVersionResult The response from the GetAdapterVersion + * service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + GetAdapterVersionResult getAdapterVersion(GetAdapterVersionRequest getAdapterVersionRequest) + throws AmazonClientException, AmazonServiceException; + /** ** Gets the results for an Amazon Textract asynchronous operation that @@ -653,6 +841,88 @@ GetLendingAnalysisSummaryResult getLendingAnalysisSummary( GetLendingAnalysisSummaryRequest getLendingAnalysisSummaryRequest) throws AmazonClientException, AmazonServiceException; + /** + *
+ * List all version of an adapter that meet the specified filtration + * criteria. + *
+ * + * @param listAdapterVersionsRequest + * @return listAdapterVersionsResult The response from the + * ListAdapterVersions service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + ListAdapterVersionsResult listAdapterVersions( + ListAdapterVersionsRequest listAdapterVersionsRequest) throws AmazonClientException, + AmazonServiceException; + + /** + *+ * Lists all adapters that match the specified filtration criteria. + *
+ * + * @param listAdaptersRequest + * @return listAdaptersResult The response from the ListAdapters service + * method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + ListAdaptersResult listAdapters(ListAdaptersRequest listAdaptersRequest) + throws AmazonClientException, AmazonServiceException; + + /** + *+ * Lists all tags for an Amazon Textract resource. + *
+ * + * @param listTagsForResourceRequest + * @return listTagsForResourceResult The response from the + * ListTagsForResource service method, as returned by Amazon + * Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + ListTagsForResourceResult listTagsForResource( + ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonClientException, + AmazonServiceException; + /** ** Starts the asynchronous analysis of an input document for relationships @@ -904,6 +1174,88 @@ StartLendingAnalysisResult startLendingAnalysis( StartLendingAnalysisRequest startLendingAnalysisRequest) throws AmazonClientException, AmazonServiceException; + /** + *
+ * Adds one or more tags to the specified resource. + *
+ * + * @param tagResourceRequest + * @return tagResourceResult The response from the TagResource service + * method, as returned by Amazon Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws ServiceQuotaExceededException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + TagResourceResult tagResource(TagResourceRequest tagResourceRequest) + throws AmazonClientException, AmazonServiceException; + + /** + *+ * Removes any tags with the specified keys from the specified resource. + *
+ * + * @param untagResourceRequest + * @return untagResourceResult The response from the UntagResource service + * method, as returned by Amazon Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest) + throws AmazonClientException, AmazonServiceException; + + /** + *+ * Update the configuration for an adapter. FeatureTypes configurations + * cannot be updated. At least one new parameter must be specified as an + * argument. + *
+ * + * @param updateAdapterRequest + * @return updateAdapterResult The response from the UpdateAdapter service + * method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + UpdateAdapterResult updateAdapter(UpdateAdapterRequest updateAdapterRequest) + throws AmazonClientException, AmazonServiceException; + /** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextractAsync.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextractAsync.java index d16cbc343a1..19a9fe843a6 100644 --- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextractAsync.java +++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextractAsync.java @@ -409,6 +409,288 @@ Future
+ * Creates an adapter, which can be fine-tuned for enhanced performance on
+ * user provided documents. Takes an AdapterName and FeatureType. Currently
+ * the only supported feature type is QUERIES. You can also
+ * provide a Description, Tags, and a ClientRequestToken. You can choose
+ * whether or not the adapter should be AutoUpdated with the AutoUpdate
+ * argument. By default, AutoUpdate is set to DISABLED.
+ *
+ * Creates an adapter, which can be fine-tuned for enhanced performance on
+ * user provided documents. Takes an AdapterName and FeatureType. Currently
+ * the only supported feature type is QUERIES. You can also
+ * provide a Description, Tags, and a ClientRequestToken. You can choose
+ * whether or not the adapter should be AutoUpdated with the AutoUpdate
+ * argument. By default, AutoUpdate is set to DISABLED.
+ *
+ * Creates a new version of an adapter. Operates on a provided AdapterId and + * a specified dataset provided via the DatasetConfig argument. Requires + * that you specify an Amazon S3 bucket with the OutputConfig argument. You + * can provide an optional KMSKeyId, an optional ClientRequestToken, and + * optional tags. + *
+ * + * @param createAdapterVersionRequest + * @return A Java Future object containing the response from the + * CreateAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws InvalidS3ObjectException + * @throws InvalidKMSKeyException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws IdempotentParameterMismatchException + * @throws ThrottlingException + * @throws LimitExceededException + * @throws ValidationException + * @throws ServiceQuotaExceededException + * @throws ResourceNotFoundException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Creates a new version of an adapter. Operates on a provided AdapterId and + * a specified dataset provided via the DatasetConfig argument. Requires + * that you specify an Amazon S3 bucket with the OutputConfig argument. You + * can provide an optional KMSKeyId, an optional ClientRequestToken, and + * optional tags. + *
+ * + * @param createAdapterVersionRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * CreateAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws InvalidS3ObjectException + * @throws InvalidKMSKeyException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws IdempotentParameterMismatchException + * @throws ThrottlingException + * @throws LimitExceededException + * @throws ValidationException + * @throws ServiceQuotaExceededException + * @throws ResourceNotFoundException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the + * adapter specified by the ID. + *
+ * + * @param deleteAdapterRequest + * @return A Java Future object containing the response from the + * DeleteAdapter service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the + * adapter specified by the ID. + *
+ * + * @param deleteAdapterRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * DeleteAdapter service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Deletes an Amazon Textract adapter version. Requires that you specify + * both an AdapterId and a AdapterVersion. Deletes the adapter version + * specified by the AdapterId and the AdapterVersion. + *
+ * + * @param deleteAdapterVersionRequest + * @return A Java Future object containing the response from the + * DeleteAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Deletes an Amazon Textract adapter version. Requires that you specify + * both an AdapterId and a AdapterVersion. Deletes the adapter version + * specified by the AdapterId and the AdapterVersion. + *
+ * + * @param deleteAdapterVersionRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * DeleteAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future
* Detects text in the input document. Amazon Textract can detect lines of
@@ -511,9 +793,135 @@ Future
+ * Gets configuration information for an adapter specified by an AdapterId,
+ * returning information on AdapterName, Description, CreationTime,
+ * AutoUpdate status, and FeatureTypes.
+ *
+ * Gets configuration information for an adapter specified by an AdapterId,
+ * returning information on AdapterName, Description, CreationTime,
+ * AutoUpdate status, and FeatureTypes.
+ *
+ * Gets configuration information for the specified adapter version,
+ * including: AdapterId, AdapterVersion, FeatureTypes, Status,
+ * StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and
+ * EvaluationMetrics.
+ *
+ * Gets configuration information for the specified adapter version,
+ * including: AdapterId, AdapterVersion, FeatureTypes, Status,
+ * StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and
+ * EvaluationMetrics.
+ * GetExpenseAnalysis.
*
- * For more information, see Analyzing Invoices and Receipts. + * For more information, see Analyzing Invoices and Receipts. + *
+ * + * @param getExpenseAnalysisRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * GetExpenseAnalysis service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InvalidJobIdException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws InvalidS3ObjectException + * @throws InvalidKMSKeyException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Gets the results for an Amazon Textract asynchronous operation that + * analyzes text in a lending document. + *
+ *
+ * You start asynchronous text analysis by calling
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ * GetLendingAnalysis, and pass the job identifier (JobId) from
+ * the initial call to StartLendingAnalysis.
+ *
+ * Gets the results for an Amazon Textract asynchronous operation that + * analyzes text in a lending document. + *
+ *
+ * You start asynchronous text analysis by calling
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ * GetLendingAnalysis, and pass the job identifier (JobId) from
+ * the initial call to StartLendingAnalysis.
+ *
+ * Gets summarized results for the StartLendingAnalysis
+ * operation, which analyzes text in a lending document. The returned
+ * summary consists of information about documents grouped together by a
+ * common document type. Information like detected signatures, page numbers,
+ * and split documents is returned with respect to the type of grouped
+ * document.
+ *
+ * You start asynchronous text analysis by calling
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ * GetLendingAnalysisSummary, and pass the job identifier (
+ * JobId) from the initial call to
+ * StartLendingAnalysis.
+ *
+ * Gets summarized results for the StartLendingAnalysis
+ * operation, which analyzes text in a lending document. The returned
+ * summary consists of information about documents grouped together by a
+ * common document type. Information like detected signatures, page numbers,
+ * and split documents is returned with respect to the type of grouped
+ * document.
+ *
+ * You start asynchronous text analysis by calling
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ * GetLendingAnalysisSummary, and pass the job identifier (
+ * JobId) from the initial call to
+ * StartLendingAnalysis.
+ *
+ * List all version of an adapter that meet the specified filtration + * criteria. + *
+ * + * @param listAdapterVersionsRequest + * @return A Java Future object containing the response from the + * ListAdapterVersions service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * List all version of an adapter that meet the specified filtration + * criteria. *
* - * @param getExpenseAnalysisRequest + * @param listAdapterVersionsRequest * @param asyncHandler Asynchronous callback handler for events in the * life-cycle of the request. Users could provide the * implementation of the four callback methods in this interface * to process the operation result or handle the exception. * @return A Java Future object containing the response from the - * GetExpenseAnalysis service method, as returned by Amazon + * ListAdapterVersions service method, as returned by Amazon * Textract. * @throws InvalidParameterException * @throws AccessDeniedException * @throws ProvisionedThroughputExceededException - * @throws InvalidJobIdException * @throws InternalServerErrorException * @throws ThrottlingException - * @throws InvalidS3ObjectException - * @throws InvalidKMSKeyException + * @throws ValidationException + * @throws ResourceNotFoundException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is @@ -1020,43 +1687,25 @@ Future- * Gets the results for an Amazon Textract asynchronous operation that - * analyzes text in a lending document. - *
- *
- * You start asynchronous text analysis by calling
- * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- * GetLendingAnalysis, and pass the job identifier (JobId) from
- * the initial call to StartLendingAnalysis.
+ * Lists all adapters that match the specified filtration criteria.
*
- * Gets the results for an Amazon Textract asynchronous operation that - * analyzes text in a lending document. - *
- *
- * You start asynchronous text analysis by calling
- * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- * GetLendingAnalysis, and pass the job identifier (JobId) from
- * the initial call to StartLendingAnalysis.
+ * Lists all adapters that match the specified filtration criteria.
*
- * Gets summarized results for the StartLendingAnalysis
- * operation, which analyzes text in a lending document. The returned
- * summary consists of information about documents grouped together by a
- * common document type. Information like detected signatures, page numbers,
- * and split documents is returned with respect to the type of grouped
- * document.
- *
- * You start asynchronous text analysis by calling
- * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- * GetLendingAnalysisSummary, and pass the job identifier (
- * JobId) from the initial call to
- * StartLendingAnalysis.
+ * Lists all tags for an Amazon Textract resource.
*
- * Gets summarized results for the StartLendingAnalysis
- * operation, which analyzes text in a lending document. The returned
- * summary consists of information about documents grouped together by a
- * common document type. Information like detected signatures, page numbers,
- * and split documents is returned with respect to the type of grouped
- * document.
- *
- * You start asynchronous text analysis by calling
- * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- * GetLendingAnalysisSummary, and pass the job identifier (
- * JobId) from the initial call to
- * StartLendingAnalysis.
+ * Lists all tags for an Amazon Textract resource.
*
+ * Adds one or more tags to the specified resource. + *
+ * + * @param tagResourceRequest + * @return A Java Future object containing the response from the TagResource + * service method, as returned by Amazon Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws ServiceQuotaExceededException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Adds one or more tags to the specified resource. + *
+ * + * @param tagResourceRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the TagResource + * service method, as returned by Amazon Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws ServiceQuotaExceededException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Removes any tags with the specified keys from the specified resource. + *
+ * + * @param untagResourceRequest + * @return A Java Future object containing the response from the + * UntagResource service method, as returned by Amazon Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Removes any tags with the specified keys from the specified resource. + *
+ * + * @param untagResourceRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * UntagResource service method, as returned by Amazon Textract. + * @throws ResourceNotFoundException + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Update the configuration for an adapter. FeatureTypes configurations + * cannot be updated. At least one new parameter must be specified as an + * argument. + *
+ * + * @param updateAdapterRequest + * @return A Java Future object containing the response from the + * UpdateAdapter service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future+ * Update the configuration for an adapter. FeatureTypes configurations + * cannot be updated. At least one new parameter must be specified as an + * argument. + *
+ * + * @param updateAdapterRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * UpdateAdapter service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + Future
+ * Creates an adapter, which can be fine-tuned for enhanced performance on
+ * user provided documents. Takes an AdapterName and FeatureType. Currently
+ * the only supported feature type is QUERIES. You can also
+ * provide a Description, Tags, and a ClientRequestToken. You can choose
+ * whether or not the adapter should be AutoUpdated with the AutoUpdate
+ * argument. By default, AutoUpdate is set to DISABLED.
+ *
+ * Creates an adapter, which can be fine-tuned for enhanced performance on
+ * user provided documents. Takes an AdapterName and FeatureType. Currently
+ * the only supported feature type is QUERIES. You can also
+ * provide a Description, Tags, and a ClientRequestToken. You can choose
+ * whether or not the adapter should be AutoUpdated with the AutoUpdate
+ * argument. By default, AutoUpdate is set to DISABLED.
+ *
+ * Creates a new version of an adapter. Operates on a provided AdapterId and + * a specified dataset provided via the DatasetConfig argument. Requires + * that you specify an Amazon S3 bucket with the OutputConfig argument. You + * can provide an optional KMSKeyId, an optional ClientRequestToken, and + * optional tags. + *
+ * + * @param createAdapterVersionRequest + * @return A Java Future object containing the response from the + * CreateAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws InvalidS3ObjectException + * @throws InvalidKMSKeyException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws IdempotentParameterMismatchException + * @throws ThrottlingException + * @throws LimitExceededException + * @throws ValidationException + * @throws ServiceQuotaExceededException + * @throws ResourceNotFoundException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future+ * Creates a new version of an adapter. Operates on a provided AdapterId and + * a specified dataset provided via the DatasetConfig argument. Requires + * that you specify an Amazon S3 bucket with the OutputConfig argument. You + * can provide an optional KMSKeyId, an optional ClientRequestToken, and + * optional tags. + *
+ * + * @param createAdapterVersionRequest + * @return A Java Future object containing the response from the + * CreateAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws InvalidS3ObjectException + * @throws InvalidKMSKeyException + * @throws AccessDeniedException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws IdempotentParameterMismatchException + * @throws ThrottlingException + * @throws LimitExceededException + * @throws ValidationException + * @throws ServiceQuotaExceededException + * @throws ResourceNotFoundException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the + * adapter specified by the ID. + *
+ * + * @param deleteAdapterRequest + * @return A Java Future object containing the response from the + * DeleteAdapter service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the + * adapter specified by the ID. + *
+ * + * @param deleteAdapterRequest + * @return A Java Future object containing the response from the + * DeleteAdapter service method, as returned by Amazon Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future+ * Deletes an Amazon Textract adapter version. Requires that you specify + * both an AdapterId and a AdapterVersion. Deletes the adapter version + * specified by the AdapterId and the AdapterVersion. + *
+ * + * @param deleteAdapterVersionRequest + * @return A Java Future object containing the response from the + * DeleteAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future+ * Deletes an Amazon Textract adapter version. Requires that you specify + * both an AdapterId and a AdapterVersion. Deletes the adapter version + * specified by the AdapterId and the AdapterVersion. + *
+ * + * @param deleteAdapterVersionRequest + * @return A Java Future object containing the response from the + * DeleteAdapterVersion service method, as returned by Amazon + * Textract. + * @throws InvalidParameterException + * @throws AccessDeniedException + * @throws ConflictException + * @throws ProvisionedThroughputExceededException + * @throws InternalServerErrorException + * @throws ThrottlingException + * @throws ValidationException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Textract indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future
* Detects text in the input document. Amazon Textract can detect lines of
@@ -794,16 +1144,174 @@ public Future
+ * Gets configuration information for an adapter specified by an AdapterId,
+ * returning information on AdapterName, Description, CreationTime,
+ * AutoUpdate status, and FeatureTypes.
+ *
+ * Gets configuration information for an adapter specified by an AdapterId,
+ * returning information on AdapterName, Description, CreationTime,
+ * AutoUpdate status, and FeatureTypes.
+ *
+ * Gets configuration information for the specified adapter version,
+ * including: AdapterId, AdapterVersion, FeatureTypes, Status,
+ * StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and
+ * EvaluationMetrics.
+ *
+ * Gets configuration information for the specified adapter version,
+ * including: AdapterId, AdapterVersion, FeatureTypes, Status,
+ * StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and
+ * EvaluationMetrics.
+ *
- * Gets the results for an Amazon Textract asynchronous operation that
- * analyzes text in a lending document.
- *
- * You start asynchronous text analysis by calling
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- * GetLendingAnalysis, and pass the job identifier (
+ * You start asynchronous text analysis by calling
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ * GetLendingAnalysis, and pass the job identifier (
+ * Gets summarized results for the
+ * You start asynchronous text analysis by calling
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ *
+ * Gets summarized results for the
+ * You start asynchronous text analysis by calling
+ *
+ * To get the results of the text analysis operation, first check that the
+ * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
+ *
+ * List all version of an adapter that meet the specified filtration
+ * criteria.
+ *
+ * List all version of an adapter that meet the specified filtration
+ * criteria.
+ *
+ * Lists all adapters that match the specified filtration criteria.
+ *
+ * Lists all adapters that match the specified filtration criteria.
*
- * Gets summarized results for the
- * You start asynchronous text analysis by calling
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- *
- * Gets summarized results for the
- * You start asynchronous text analysis by calling
- *
- * To get the results of the text analysis operation, first check that the
- * status value published to the Amazon SNS topic is SUCCEEDED. If so, call
- *
+ * Adds one or more tags to the specified resource.
+ *
+ * Adds one or more tags to the specified resource.
+ *
+ * Removes any tags with the specified keys from the specified resource.
+ *
+ * Removes any tags with the specified keys from the specified resource.
+ *
+ * Update the configuration for an adapter. FeatureTypes configurations
+ * cannot be updated. At least one new parameter must be specified as an
+ * argument.
+ *
+ * Update the configuration for an adapter. FeatureTypes configurations
+ * cannot be updated. At least one new parameter must be specified as an
+ * argument.
+ *
+ * Creates an adapter, which can be fine-tuned for enhanced performance on
+ * user provided documents. Takes an AdapterName and FeatureType. Currently
+ * the only supported feature type is
+ * Creates a new version of an adapter. Operates on a provided AdapterId and
+ * a specified dataset provided via the DatasetConfig argument. Requires
+ * that you specify an Amazon S3 bucket with the OutputConfig argument. You
+ * can provide an optional KMSKeyId, an optional ClientRequestToken, and
+ * optional tags.
+ *
+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the
+ * adapter specified by the ID.
+ *
+ * Deletes an Amazon Textract adapter version. Requires that you specify
+ * both an AdapterId and a AdapterVersion. Deletes the adapter version
+ * specified by the AdapterId and the AdapterVersion.
+ *
* Detects text in the input document. Amazon Textract can detect lines of
@@ -694,6 +935,117 @@ public DetectDocumentTextResult detectDocumentText(
}
}
+ /**
+ *
+ * Gets configuration information for an adapter specified by an AdapterId,
+ * returning information on AdapterName, Description, CreationTime,
+ * AutoUpdate status, and FeatureTypes.
+ *
+ * Gets configuration information for the specified adapter version,
+ * including: AdapterId, AdapterVersion, FeatureTypes, Status,
+ * StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and
+ * EvaluationMetrics.
+ *
* Gets the results for an Amazon Textract asynchronous operation that
@@ -1167,6 +1519,168 @@ public GetLendingAnalysisSummaryResult getLendingAnalysisSummary(
}
}
+ /**
+ *
+ * List all version of an adapter that meet the specified filtration
+ * criteria.
+ *
+ * Lists all adapters that match the specified filtration criteria.
+ *
+ * Lists all tags for an Amazon Textract resource.
+ *
* Starts the asynchronous analysis of an input document for relationships
@@ -1526,6 +2040,166 @@ public StartLendingAnalysisResult startLendingAnalysis(
}
}
+ /**
+ *
+ * Adds one or more tags to the specified resource.
+ *
+ * Removes any tags with the specified keys from the specified resource.
+ *
+ * Update the configuration for an adapter. FeatureTypes configurations
+ * cannot be updated. At least one new parameter must be specified as an
+ * argument.
+ *
+ * An adapter selected for use when analyzing documents. Contains an adapter ID
+ * and a version number. Contains information on pages selected for analysis
+ * when analyzing documents asychronously.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Constraints:
+ * Pages is a parameter that the user inputs to specify which pages to apply
+ * an adapter to. The following is a list of rules for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's string:
+ *
+ * When using * to indicate all pages, it must be the only element in the
+ * list.
+ *
+ * You can use page intervals, such as
+ * Specified pages must be greater than 0 and less than or equal to the
+ * number of pages in the document.
+ *
+ * A string that identifies the version of the adapter.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * Pages is a parameter that the user inputs to specify which pages to apply
+ * an adapter to. The following is a list of rules for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's string:
+ *
+ * When using * to indicate all pages, it must be the only element in the
+ * list.
+ *
+ * You can use page intervals, such as
+ * Specified pages must be greater than 0 and less than or equal to the
+ * number of pages in the document.
+ *
+ * Pages is a parameter that the user inputs to specify which pages
+ * to apply an adapter to. The following is a list of rules for
+ * using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's string:
+ *
+ * When using * to indicate all pages, it must be the only element
+ * in the list.
+ *
+ * You can use page intervals, such as
+ *
+ * Specified pages must be greater than 0 and less than or equal to
+ * the number of pages in the document.
+ *
+ * Pages is a parameter that the user inputs to specify which pages to apply
+ * an adapter to. The following is a list of rules for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's string:
+ *
+ * When using * to indicate all pages, it must be the only element in the
+ * list.
+ *
+ * You can use page intervals, such as
+ * Specified pages must be greater than 0 and less than or equal to the
+ * number of pages in the document.
+ *
+ * Pages is a parameter that the user inputs to specify which
+ * pages to apply an adapter to. The following is a list of rules
+ * for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's
+ * string:
+ * When using * to indicate all pages, it must be the only
+ * element in the list.
+ *
+ * You can use page intervals, such as
+ *
+ * Specified pages must be greater than 0 and less than or equal
+ * to the number of pages in the document.
+ *
+ * Pages is a parameter that the user inputs to specify which pages to apply
+ * an adapter to. The following is a list of rules for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's string:
+ *
+ * When using * to indicate all pages, it must be the only element in the
+ * list.
+ *
+ * You can use page intervals, such as
+ * Specified pages must be greater than 0 and less than or equal to the
+ * number of pages in the document.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param pages
+ * Pages is a parameter that the user inputs to specify which
+ * pages to apply an adapter to. The following is a list of rules
+ * for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's
+ * string:
+ * When using * to indicate all pages, it must be the only
+ * element in the list.
+ *
+ * You can use page intervals, such as
+ *
+ * Specified pages must be greater than 0 and less than or equal
+ * to the number of pages in the document.
+ *
+ * Pages is a parameter that the user inputs to specify which pages to apply
+ * an adapter to. The following is a list of rules for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's string:
+ *
+ * When using * to indicate all pages, it must be the only element in the
+ * list.
+ *
+ * You can use page intervals, such as
+ * Specified pages must be greater than 0 and less than or equal to the
+ * number of pages in the document.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param pages
+ * Pages is a parameter that the user inputs to specify which
+ * pages to apply an adapter to. The following is a list of rules
+ * for using this parameter.
+ *
+ * If a page is not specified, it is set to
+ * The following characters are allowed in the parameter's
+ * string:
+ * When using * to indicate all pages, it must be the only
+ * element in the list.
+ *
+ * You can use page intervals, such as
+ *
+ * Specified pages must be greater than 0 and less than or equal
+ * to the number of pages in the document.
+ *
+ * A string that identifies the version of the adapter.
+ *
+ * Constraints:
+ * A string that identifies the version of the adapter.
+ *
+ * A string that identifies the version of the adapter.
+ *
+ * Constraints:
+ * A string that identifies the version of the adapter.
+ *
+ * A string that identifies the version of the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string that identifies the version of the adapter.
+ *
+ * Contains information on the adapter, including the adapter ID, Name, Creation
+ * time, and feature types.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Constraints:
+ * A string naming the adapter resource.
+ *
+ * Constraints:
+ * The date and time that the adapter was created.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * A unique identifier for the adapter resource.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A unique identifier for the adapter resource.
+ *
+ * A string naming the adapter resource.
+ *
+ * Constraints:
+ * A string naming the adapter resource.
+ *
+ * A string naming the adapter resource.
+ *
+ * Constraints:
+ * A string naming the adapter resource.
+ *
+ * A string naming the adapter resource.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string naming the adapter resource.
+ *
+ * The date and time that the adapter was created.
+ *
+ * The date and time that the adapter was created.
+ *
+ * The date and time that the adapter was created.
+ *
+ * The date and time that the adapter was created.
+ *
+ * The date and time that the adapter was created.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param creationTime
+ * The date and time that the adapter was created.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * The feature types that the adapter is operating on.
+ *
+ * The feature types that the adapter is operating on.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * The feature types that the adapter is operating on.
+ *
+ * The dataset configuration options for a given version of an adapter. Can
+ * include an Amazon S3 bucket if specified.
+ *
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document must match
+ * the Region that you use for Amazon Textract operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the user must have
+ * permission to access the S3 bucket and file.
+ *
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document must match
+ * the Region that you use for Amazon Textract operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the user must have
+ * permission to access the S3 bucket and file.
+ *
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document must
+ * match the Region that you use for Amazon Textract operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the user
+ * must have permission to access the S3 bucket and file.
+ *
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document must match
+ * the Region that you use for Amazon Textract operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the user must have
+ * permission to access the S3 bucket and file.
+ *
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document
+ * must match the Region that you use for Amazon Textract
+ * operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the
+ * user must have permission to access the S3 bucket and file.
+ *
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document must match
+ * the Region that you use for Amazon Textract operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the user must have
+ * permission to access the S3 bucket and file.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param manifestS3Object
+ * The S3 bucket name and file name that identifies the document.
+ *
+ * The AWS Region for the S3 bucket that contains the document
+ * must match the Region that you use for Amazon Textract
+ * operations.
+ *
+ * For Amazon Textract to process a file in an S3 bucket, the
+ * user must have permission to access the S3 bucket and file.
+ *
+ * Contains information on the metrics used to evalute the peformance of a given
+ * adapter version. Includes data for baseline model performance and individual
+ * adapter version perfromance.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * Indicates the feature type being analyzed by a given adapter version.
+ *
+ * Constraints:
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline
+ * model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline
+ * model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param baseline
+ * The F1 score, precision, and recall metrics for the baseline
+ * model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline
+ * model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline
+ * model.
+ *
+ * The F1 score, precision, and recall metrics for the baseline model.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapterVersion
+ * The F1 score, precision, and recall metrics for the baseline
+ * model.
+ *
+ * Indicates the feature type being analyzed by a given adapter version.
+ *
+ * Constraints:
+ * Indicates the feature type being analyzed by a given adapter
+ * version.
+ *
+ * Indicates the feature type being analyzed by a given adapter version.
+ *
+ * Constraints:
+ * Indicates the feature type being analyzed by a given adapter
+ * version.
+ *
+ * Indicates the feature type being analyzed by a given adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Indicates the feature type being analyzed by a given adapter
+ * version.
+ *
+ * Indicates the feature type being analyzed by a given adapter version.
+ *
+ * Constraints:
+ * Indicates the feature type being analyzed by a given adapter
+ * version.
+ *
+ * Indicates the feature type being analyzed by a given adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Indicates the feature type being analyzed by a given adapter
+ * version.
+ *
+ * Summary info for an adapter version. Contains information on the AdapterId,
+ * AdapterVersion, CreationTime, FeatureTypes, and Status.
+ *
+ * A unique identifier for the adapter associated with a given adapter
+ * version.
+ *
+ * Constraints:
+ * An identified for a given adapter version.
+ *
+ * Constraints:
+ * The date and time that a given adapter version was created.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * Contains information on the status of a given adapter version.
+ *
+ * Constraints:
+ * A message explaining the status of a given adapter vesion.
+ *
+ * Constraints:
+ * A unique identifier for the adapter associated with a given adapter
+ * version.
+ *
+ * Constraints:
+ * A unique identifier for the adapter associated with a given
+ * adapter version.
+ *
+ * A unique identifier for the adapter associated with a given adapter
+ * version.
+ *
+ * Constraints:
+ * A unique identifier for the adapter associated with a given
+ * adapter version.
+ *
+ * A unique identifier for the adapter associated with a given adapter
+ * version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A unique identifier for the adapter associated with a given
+ * adapter version.
+ *
+ * An identified for a given adapter version.
+ *
+ * Constraints:
+ * An identified for a given adapter version.
+ *
+ * An identified for a given adapter version.
+ *
+ * Constraints:
+ * An identified for a given adapter version.
+ *
+ * An identified for a given adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * An identified for a given adapter version.
+ *
+ * The date and time that a given adapter version was created.
+ *
+ * The date and time that a given adapter version was created.
+ *
+ * The date and time that a given adapter version was created.
+ *
+ * The date and time that a given adapter version was created.
+ *
+ * The date and time that a given adapter version was created.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param creationTime
+ * The date and time that a given adapter version was created.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * The feature types that the adapter version is operating on.
+ *
+ * The feature types that the adapter version is operating on.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * The feature types that the adapter version is operating on.
+ *
+ * Contains information on the status of a given adapter version.
+ *
+ * Constraints:
+ * Contains information on the status of a given adapter version.
+ *
+ * Contains information on the status of a given adapter version.
+ *
+ * Constraints:
+ * Contains information on the status of a given adapter version.
+ *
+ * Contains information on the status of a given adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Contains information on the status of a given adapter version.
+ *
+ * Contains information on the status of a given adapter version.
+ *
+ * Constraints:
+ * Contains information on the status of a given adapter version.
+ *
+ * Contains information on the status of a given adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Contains information on the status of a given adapter version.
+ *
+ * A message explaining the status of a given adapter vesion.
+ *
+ * Constraints:
+ * A message explaining the status of a given adapter vesion.
+ *
+ * A message explaining the status of a given adapter vesion.
+ *
+ * Constraints:
+ * A message explaining the status of a given adapter vesion.
+ *
+ * A message explaining the status of a given adapter vesion.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A message explaining the status of a given adapter vesion.
+ *
+ * Contains information about adapters used when analyzing a document, with each
+ * adapter specified using an AdapterId and version
+ *
+ * A list of adapters to be used when analyzing the specified document.
+ *
+ * A list of adapters to be used when analyzing the specified document.
+ *
+ * A list of adapters to be used when analyzing the specified
+ * document.
+ *
+ * A list of adapters to be used when analyzing the specified document.
+ *
+ * A list of adapters to be used when analyzing the specified
+ * document.
+ *
+ * A list of adapters to be used when analyzing the specified document.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapters
+ * A list of adapters to be used when analyzing the specified
+ * document.
+ *
+ * A list of adapters to be used when analyzing the specified document.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapters
+ * A list of adapters to be used when analyzing the specified
+ * document.
+ * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- * JobId) from
- * the initial call to StartLendingAnalysis.
+ * Gets the results for an Amazon Textract asynchronous operation that
+ * analyzes text in a lending document.
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ * JobId) from
+ * the initial call to StartLendingAnalysis.
+ * StartLendingAnalysis
+ * operation, which analyzes text in a lending document. The returned
+ * summary consists of information about documents grouped together by a
+ * common document type. Information like detected signatures, page numbers,
+ * and split documents is returned with respect to the type of grouped
+ * document.
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ * GetLendingAnalysisSummary, and pass the job identifier (
+ * JobId) from the initial call to
+ * StartLendingAnalysis.
+ * StartLendingAnalysis
+ * operation, which analyzes text in a lending document. The returned
+ * summary consists of information about documents grouped together by a
+ * common document type. Information like detected signatures, page numbers,
+ * and split documents is returned with respect to the type of grouped
+ * document.
+ * StartLendingAnalysis, which returns a job identifier (
+ * JobId). When the text analysis operation finishes, Amazon
+ * Textract publishes a completion status to the Amazon Simple Notification
+ * Service (Amazon SNS) topic that's registered in the initial call to
+ * StartLendingAnalysis.
+ * GetLendingAnalysisSummary, and pass the job identifier (
+ * JobId) from the initial call to
+ * StartLendingAnalysis.
+ * StartLendingAnalysis
- * operation, which analyzes text in a lending document. The returned
- * summary consists of information about documents grouped together by a
- * common document type. Information like detected signatures, page numbers,
- * and split documents is returned with respect to the type of grouped
- * document.
- * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- * GetLendingAnalysisSummary, and pass the job identifier (
- * JobId) from the initial call to
- * StartLendingAnalysis.
+ * Lists all tags for an Amazon Textract resource.
* StartLendingAnalysis
- * operation, which analyzes text in a lending document. The returned
- * summary consists of information about documents grouped together by a
- * common document type. Information like detected signatures, page numbers,
- * and split documents is returned with respect to the type of grouped
- * document.
- * StartLendingAnalysis, which returns a job identifier (
- * JobId). When the text analysis operation finishes, Amazon
- * Textract publishes a completion status to the Amazon Simple Notification
- * Service (Amazon SNS) topic that's registered in the initial call to
- * StartLendingAnalysis.
- * GetLendingAnalysisSummary, and pass the job identifier (
- * JobId) from the initial call to
- * StartLendingAnalysis.
+ * Lists all tags for an Amazon Textract resource.
* QUERIES. You can also
+ * provide a Description, Tags, and a ClientRequestToken. You can choose
+ * whether or not the adapter should be AutoUpdated with the AutoUpdate
+ * argument. By default, AutoUpdate is set to DISABLED.
+ *
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ *
+ */
+ private java.util.List["1"] by default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
+ * ["1-3", "1-1", "4-*"].
+ * Where * indicates last page of document.
+ *
+ * Length: 1 - 128
+ */
+ private String version;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ *
+ *
+ * @return ["1"] by default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
+ * ["1-3", "1-1", "4-*"].
+ * Where * indicates last page of document.
+ *
+ *
+ */
+ public java.util.List["1"] by
+ * default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
+ * ["1-3", "1-1", "4-*"]. Where *
+ * indicates last page of document.
+ *
+ *
+ *
+ * @param pages ["1"] by default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
+ * ["1-3", "1-1", "4-*"].
+ * Where * indicates last page of document.
+ *
+ *
+ */
+ public void setPages(java.util.Collection["1"] by
+ * default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is
+ * allowed.
+ * ["1-3", "1-1", "4-*"]. Where *
+ * indicates last page of document.
+ *
+ *
+ * ["1"] by default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
+ * ["1-3", "1-1", "4-*"].
+ * Where * indicates last page of document.
+ *
+ *
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public Adapter withPages(String... pages) {
+ if (getPages() == null) {
+ this.pages = new java.util.ArrayList["1"] by
+ * default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is
+ * allowed.
+ * ["1-3", "1-1", "4-*"]. Where *
+ * indicates last page of document.
+ *
+ *
+ * ["1"] by default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
+ * ["1-3", "1-1", "4-*"].
+ * Where * indicates last page of document.
+ *
+ *
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public Adapter withPages(java.util.Collection["1"] by
+ * default.
+ * 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is
+ * allowed.
+ * ["1-3", "1-1", "4-*"]. Where *
+ * indicates last page of document.
+ *
+ * Length: 1 - 128
+ *
+ * @return
+ * Length: 1 - 128
+ *
+ * @param version
+ * Length: 1 - 128
+ *
+ * @param version
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ */
+ private String adapterName;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @return
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Allowed Values: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
+ */
+ private String featureType;
+
+ /**
+ *
+ * Allowed Values: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
+ *
+ * @return
+ * Allowed Values: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
+ *
+ * @param featureType
+ * Allowed Values: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
+ *
+ * @param featureType
+ * Allowed Values: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
+ *
+ * @param featureType
+ * Allowed Values: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT
+ *
+ * @param featureType
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ */
+ private String adapterVersion;
+
+ /**
+ *
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ */
+ private String status;
+
+ /**
+ *
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ */
+ private String statusMessage;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ *
+ * @return
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @return
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @return
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param statusMessage
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param statusMessage FeatureTypes. To
- * detect signatures within form data and table data, add SIGNATURES to
- * either TABLES or FORMS. All lines and words detected in the document are
- * included in the response (including text that isn't related to the value
- * of FeatureTypes).
+ * return the locations of detected signatures. Add LAYOUT to the list to
+ * return information about the layout of the document. All lines and words
+ * detected in the document are included in the response (including text
+ * that isn't related to the value of FeatureTypes).
*
+ * Specifies the adapter to be used when analyzing a document. + *
+ */ + private AdaptersConfig adaptersConfig; + /** *
* The input document as base64-encoded bytes or an Amazon S3 object. If you
@@ -237,25 +242,21 @@ public AnalyzeDocumentRequest withDocument(Document document) {
* A list of the types of analysis to perform. Add TABLES to the list to
* return information about the tables that are detected in the input
* document. Add FORMS to return detected form data. Add SIGNATURES to
- * return the locations of detected signatures. To perform both forms and
- * table analysis, add TABLES and FORMS to FeatureTypes. To
- * detect signatures within form data and table data, add SIGNATURES to
- * either TABLES or FORMS. All lines and words detected in the document are
- * included in the response (including text that isn't related to the value
- * of FeatureTypes).
+ * return the locations of detected signatures. Add LAYOUT to the list to
+ * return information about the layout of the document. All lines and words
+ * detected in the document are included in the response (including text
+ * that isn't related to the value of FeatureTypes).
*
* A list of the types of analysis to perform. Add TABLES to the
* list to return information about the tables that are detected in
* the input document. Add FORMS to return detected form data. Add
- * SIGNATURES to return the locations of detected signatures. To
- * perform both forms and table analysis, add TABLES and FORMS to
- * FeatureTypes. To detect signatures within form data
- * and table data, add SIGNATURES to either TABLES or FORMS. All
- * lines and words detected in the document are included in the
- * response (including text that isn't related to the value of
- * FeatureTypes).
+ * SIGNATURES to return the locations of detected signatures. Add
+ * LAYOUT to the list to return information about the layout of the
+ * document. All lines and words detected in the document are
+ * included in the response (including text that isn't related to
+ * the value of FeatureTypes).
*
FeatureTypes. To
- * detect signatures within form data and table data, add SIGNATURES to
- * either TABLES or FORMS. All lines and words detected in the document are
- * included in the response (including text that isn't related to the value
- * of FeatureTypes).
+ * return the locations of detected signatures. Add LAYOUT to the list to
+ * return information about the layout of the document. All lines and words
+ * detected in the document are included in the response (including text
+ * that isn't related to the value of FeatureTypes).
*
*
* @param featureTypes
@@ -280,12 +279,10 @@ public java.util.ListFeatureTypes. To detect signatures within form
- * data and table data, add SIGNATURES to either TABLES or FORMS.
- * All lines and words detected in the document are included in
- * the response (including text that isn't related to the value
- * of FeatureTypes).
+ * Add LAYOUT to the list to return information about the layout
+ * of the document. All lines and words detected in the document
+ * are included in the response (including text that isn't
+ * related to the value of FeatureTypes).
*
FeatureTypes. To
- * detect signatures within form data and table data, add SIGNATURES to
- * either TABLES or FORMS. All lines and words detected in the document are
- * included in the response (including text that isn't related to the value
- * of FeatureTypes).
+ * return the locations of detected signatures. Add LAYOUT to the list to
+ * return information about the layout of the document. All lines and words
+ * detected in the document are included in the response (including text
+ * that isn't related to the value of FeatureTypes).
*
*
* Returns a reference to this object so that method calls can be chained
@@ -318,12 +313,10 @@ public void setFeatureTypes(java.util.CollectionFeatureTypes. To detect signatures within form
- * data and table data, add SIGNATURES to either TABLES or FORMS.
- * All lines and words detected in the document are included in
- * the response (including text that isn't related to the value
- * of FeatureTypes).
+ * Add LAYOUT to the list to return information about the layout
+ * of the document. All lines and words detected in the document
+ * are included in the response (including text that isn't
+ * related to the value of FeatureTypes).
*
FeatureTypes. To
- * detect signatures within form data and table data, add SIGNATURES to
- * either TABLES or FORMS. All lines and words detected in the document are
- * included in the response (including text that isn't related to the value
- * of FeatureTypes).
+ * return the locations of detected signatures. Add LAYOUT to the list to
+ * return information about the layout of the document. All lines and words
+ * detected in the document are included in the response (including text
+ * that isn't related to the value of FeatureTypes).
*
*
* Returns a reference to this object so that method calls can be chained
@@ -359,12 +350,10 @@ public AnalyzeDocumentRequest withFeatureTypes(String... featureTypes) {
* list to return information about the tables that are detected
* in the input document. Add FORMS to return detected form data.
* Add SIGNATURES to return the locations of detected signatures.
- * To perform both forms and table analysis, add TABLES and FORMS
- * to FeatureTypes. To detect signatures within form
- * data and table data, add SIGNATURES to either TABLES or FORMS.
- * All lines and words detected in the document are included in
- * the response (including text that isn't related to the value
- * of FeatureTypes).
+ * Add LAYOUT to the list to return information about the layout
+ * of the document. All lines and words detected in the document
+ * are included in the response (including text that isn't
+ * related to the value of FeatureTypes).
*
+ * Specifies the adapter to be used when analyzing a document. + *
+ * + * @return+ * Specifies the adapter to be used when analyzing a document. + *
+ */ + public AdaptersConfig getAdaptersConfig() { + return adaptersConfig; + } + + /** + *+ * Specifies the adapter to be used when analyzing a document. + *
+ * + * @param adaptersConfig+ * Specifies the adapter to be used when analyzing a document. + *
+ */ + public void setAdaptersConfig(AdaptersConfig adaptersConfig) { + this.adaptersConfig = adaptersConfig; + } + + /** + *+ * Specifies the adapter to be used when analyzing a document. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param adaptersConfig
+ * Specifies the adapter to be used when analyzing a document. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public AnalyzeDocumentRequest withAdaptersConfig(AdaptersConfig adaptersConfig) { + this.adaptersConfig = adaptersConfig; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -494,7 +528,9 @@ public String toString() { if (getHumanLoopConfig() != null) sb.append("HumanLoopConfig: " + getHumanLoopConfig() + ","); if (getQueriesConfig() != null) - sb.append("QueriesConfig: " + getQueriesConfig()); + sb.append("QueriesConfig: " + getQueriesConfig() + ","); + if (getAdaptersConfig() != null) + sb.append("AdaptersConfig: " + getAdaptersConfig()); sb.append("}"); return sb.toString(); } @@ -511,6 +547,8 @@ public int hashCode() { + ((getHumanLoopConfig() == null) ? 0 : getHumanLoopConfig().hashCode()); hashCode = prime * hashCode + ((getQueriesConfig() == null) ? 0 : getQueriesConfig().hashCode()); + hashCode = prime * hashCode + + ((getAdaptersConfig() == null) ? 0 : getAdaptersConfig().hashCode()); return hashCode; } @@ -544,6 +582,11 @@ public boolean equals(Object obj) { if (other.getQueriesConfig() != null && other.getQueriesConfig().equals(this.getQueriesConfig()) == false) return false; + if (other.getAdaptersConfig() == null ^ this.getAdaptersConfig() == null) + return false; + if (other.getAdaptersConfig() != null + && other.getAdaptersConfig().equals(this.getAdaptersConfig()) == false) + return false; return true; } } diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/AutoUpdate.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/AutoUpdate.java new file mode 100644 index 00000000000..f57b97e016c --- /dev/null +++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/AutoUpdate.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.textract.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Auto Update + */ +public enum AutoUpdate { + + ENABLED("ENABLED"), + DISABLED("DISABLED"); + + private String value; + + private AutoUpdate(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map- * SIGNATURE - The location and confidene score of a signature + * SIGNATURE - The location and confidence score of a signature * detected on a document page. Can be returned as part of a Key-Value pair * or a detected cell. *
@@ -159,10 +159,74 @@ public class Block implements Serializable { *+ * The following BlockTypes are only returned for Amazon Textract Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of the
+ * document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of the
+ * document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections within a
+ * document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image in a
+ * document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in the
+ * document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form key-values
+ * in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a part of
+ * paragraphs in documents.
+ *
* Constraints:
* Allowed Values: KEY_VALUE_SET, PAGE, LINE, WORD, TABLE, CELL,
* SELECTION_ELEMENT, MERGED_CELL, TITLE, QUERY, QUERY_RESULT, SIGNATURE,
- * TABLE_TITLE, TABLE_FOOTER
+ * TABLE_TITLE, TABLE_FOOTER, LAYOUT_TEXT, LAYOUT_TITLE, LAYOUT_HEADER,
+ * LAYOUT_FOOTER, LAYOUT_SECTION_HEADER, LAYOUT_PAGE_NUMBER, LAYOUT_LIST,
+ * LAYOUT_FIGURE, LAYOUT_TABLE, LAYOUT_KEY_VALUE
*/
private String blockType;
@@ -367,9 +431,7 @@ public class Block implements Serializable {
* scanned image (JPEG/PNG) provided to an asynchronous operation, even if
* it contains multiple document pages, is considered a single-page
* document. This means that for scanned images the value of
- * Page is always 1. Synchronous operations will also return a
- * Page value of 1 because every input document is considered
- * to be a single-page document.
+ * Page is always 1.
*
* Constraints:
@@ -480,7 +542,7 @@ public class Block implements Serializable {
*
*
- * SIGNATURE - The location and confidene score of a signature + * SIGNATURE - The location and confidence score of a signature * detected on a document page. Can be returned as part of a Key-Value pair * or a detected cell. *
@@ -500,10 +562,74 @@ public class Block implements Serializable { *+ * The following BlockTypes are only returned for Amazon Textract Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of the
+ * document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of the
+ * document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections within a
+ * document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image in a
+ * document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in the
+ * document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form key-values
+ * in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a part of
+ * paragraphs in documents.
+ *
* Constraints:
* Allowed Values: KEY_VALUE_SET, PAGE, LINE, WORD, TABLE, CELL,
* SELECTION_ELEMENT, MERGED_CELL, TITLE, QUERY, QUERY_RESULT, SIGNATURE,
- * TABLE_TITLE, TABLE_FOOTER
+ * TABLE_TITLE, TABLE_FOOTER, LAYOUT_TEXT, LAYOUT_TITLE, LAYOUT_HEADER,
+ * LAYOUT_FOOTER, LAYOUT_SECTION_HEADER, LAYOUT_PAGE_NUMBER, LAYOUT_LIST,
+ * LAYOUT_FIGURE, LAYOUT_TABLE, LAYOUT_KEY_VALUE
*
* @return
* The type of text item that's recognized. In operations for text @@ -606,7 +732,7 @@ public class Block implements Serializable { * *
- * SIGNATURE - The location and confidene score of a + * SIGNATURE - The location and confidence score of a * signature detected on a document page. Can be returned as part of * a Key-Value pair or a detected cell. *
@@ -627,6 +753,71 @@ public class Block implements Serializable { * *+ * The following BlockTypes are only returned for Amazon Textract + * Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of
+ * the document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of
+ * the document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections
+ * within a document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the
+ * documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in
+ * list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image
+ * in a document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in
+ * the document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form
+ * key-values in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a
+ * part of paragraphs in documents.
+ *
- * SIGNATURE - The location and confidene score of a signature + * SIGNATURE - The location and confidence score of a signature * detected on a document page. Can be returned as part of a Key-Value pair * or a detected cell. *
@@ -751,10 +942,74 @@ public String getBlockType() { *+ * The following BlockTypes are only returned for Amazon Textract Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of the
+ * document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of the
+ * document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections within a
+ * document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image in a
+ * document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in the
+ * document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form key-values
+ * in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a part of
+ * paragraphs in documents.
+ *
* Constraints:
* Allowed Values: KEY_VALUE_SET, PAGE, LINE, WORD, TABLE, CELL,
* SELECTION_ELEMENT, MERGED_CELL, TITLE, QUERY, QUERY_RESULT, SIGNATURE,
- * TABLE_TITLE, TABLE_FOOTER
+ * TABLE_TITLE, TABLE_FOOTER, LAYOUT_TEXT, LAYOUT_TITLE, LAYOUT_HEADER,
+ * LAYOUT_FOOTER, LAYOUT_SECTION_HEADER, LAYOUT_PAGE_NUMBER, LAYOUT_LIST,
+ * LAYOUT_FIGURE, LAYOUT_TABLE, LAYOUT_KEY_VALUE
*
* @param blockType
* The type of text item that's recognized. In operations for @@ -858,7 +1113,7 @@ public String getBlockType() { * *
- * SIGNATURE - The location and confidene score of a + * SIGNATURE - The location and confidence score of a * signature detected on a document page. Can be returned as part * of a Key-Value pair or a detected cell. *
@@ -879,6 +1134,71 @@ public String getBlockType() { * *+ * The following BlockTypes are only returned for Amazon Textract + * Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of
+ * the document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin
+ * of the document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections
+ * within a document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the
+ * documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in
+ * list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an
+ * image in a document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table
+ * in the document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form
+ * key-values in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a
+ * part of paragraphs in documents.
+ *
- * SIGNATURE - The location and confidene score of a signature + * SIGNATURE - The location and confidence score of a signature * detected on a document page. Can be returned as part of a Key-Value pair * or a detected cell. *
@@ -1003,13 +1323,77 @@ public void setBlockType(String blockType) { *+ * The following BlockTypes are only returned for Amazon Textract Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of the
+ * document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of the
+ * document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections within a
+ * document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image in a
+ * document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in the
+ * document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form key-values
+ * in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a part of
+ * paragraphs in documents.
+ *
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: KEY_VALUE_SET, PAGE, LINE, WORD, TABLE, CELL,
* SELECTION_ELEMENT, MERGED_CELL, TITLE, QUERY, QUERY_RESULT, SIGNATURE,
- * TABLE_TITLE, TABLE_FOOTER
+ * TABLE_TITLE, TABLE_FOOTER, LAYOUT_TEXT, LAYOUT_TITLE, LAYOUT_HEADER,
+ * LAYOUT_FOOTER, LAYOUT_SECTION_HEADER, LAYOUT_PAGE_NUMBER, LAYOUT_LIST,
+ * LAYOUT_FIGURE, LAYOUT_TABLE, LAYOUT_KEY_VALUE
*
* @param blockType
* The type of text item that's recognized. In operations for @@ -1113,7 +1497,7 @@ public void setBlockType(String blockType) { * *
- * SIGNATURE - The location and confidene score of a + * SIGNATURE - The location and confidence score of a * signature detected on a document page. Can be returned as part * of a Key-Value pair or a detected cell. *
@@ -1134,6 +1518,71 @@ public void setBlockType(String blockType) { * *+ * The following BlockTypes are only returned for Amazon Textract + * Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of
+ * the document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin
+ * of the document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections
+ * within a document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the
+ * documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in
+ * list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an
+ * image in a document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table
+ * in the document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form
+ * key-values in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a
+ * part of paragraphs in documents.
+ *
- * SIGNATURE - The location and confidene score of a signature + * SIGNATURE - The location and confidence score of a signature * detected on a document page. Can be returned as part of a Key-Value pair * or a detected cell. *
@@ -1261,10 +1710,74 @@ public Block withBlockType(String blockType) { *+ * The following BlockTypes are only returned for Amazon Textract Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of the
+ * document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of the
+ * document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections within a
+ * document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image in a
+ * document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in the
+ * document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form key-values
+ * in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a part of
+ * paragraphs in documents.
+ *
* Constraints:
* Allowed Values: KEY_VALUE_SET, PAGE, LINE, WORD, TABLE, CELL,
* SELECTION_ELEMENT, MERGED_CELL, TITLE, QUERY, QUERY_RESULT, SIGNATURE,
- * TABLE_TITLE, TABLE_FOOTER
+ * TABLE_TITLE, TABLE_FOOTER, LAYOUT_TEXT, LAYOUT_TITLE, LAYOUT_HEADER,
+ * LAYOUT_FOOTER, LAYOUT_SECTION_HEADER, LAYOUT_PAGE_NUMBER, LAYOUT_LIST,
+ * LAYOUT_FIGURE, LAYOUT_TABLE, LAYOUT_KEY_VALUE
*
* @param blockType
* The type of text item that's recognized. In operations for @@ -1368,7 +1881,7 @@ public Block withBlockType(String blockType) { * *
- * SIGNATURE - The location and confidene score of a + * SIGNATURE - The location and confidence score of a * signature detected on a document page. Can be returned as part * of a Key-Value pair or a detected cell. *
@@ -1389,6 +1902,71 @@ public Block withBlockType(String blockType) { * *+ * The following BlockTypes are only returned for Amazon Textract + * Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of
+ * the document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin
+ * of the document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections
+ * within a document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the
+ * documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in
+ * list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an
+ * image in a document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table
+ * in the document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form
+ * key-values in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a
+ * part of paragraphs in documents.
+ *
- * SIGNATURE - The location and confidene score of a signature + * SIGNATURE - The location and confidence score of a signature * detected on a document page. Can be returned as part of a Key-Value pair * or a detected cell. *
@@ -1513,13 +2091,77 @@ public void setBlockType(BlockType blockType) { *+ * The following BlockTypes are only returned for Amazon Textract Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of the
+ * document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin of the
+ * document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections within a
+ * document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an image in a
+ * document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table in the
+ * document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form key-values
+ * in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a part of
+ * paragraphs in documents.
+ *
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: KEY_VALUE_SET, PAGE, LINE, WORD, TABLE, CELL,
* SELECTION_ELEMENT, MERGED_CELL, TITLE, QUERY, QUERY_RESULT, SIGNATURE,
- * TABLE_TITLE, TABLE_FOOTER
+ * TABLE_TITLE, TABLE_FOOTER, LAYOUT_TEXT, LAYOUT_TITLE, LAYOUT_HEADER,
+ * LAYOUT_FOOTER, LAYOUT_SECTION_HEADER, LAYOUT_PAGE_NUMBER, LAYOUT_LIST,
+ * LAYOUT_FIGURE, LAYOUT_TABLE, LAYOUT_KEY_VALUE
*
* @param blockType
* The type of text item that's recognized. In operations for @@ -1623,7 +2265,7 @@ public void setBlockType(BlockType blockType) { * *
- * SIGNATURE - The location and confidene score of a + * SIGNATURE - The location and confidence score of a * signature detected on a document page. Can be returned as part * of a Key-Value pair or a detected cell. *
@@ -1644,6 +2286,71 @@ public void setBlockType(BlockType blockType) { * *+ * The following BlockTypes are only returned for Amazon Textract + * Layout. + *
+ *
+ * LAYOUT_TITLE - The main title of the document.
+ *
+ * LAYOUT_HEADER - Text located in the top margin of
+ * the document.
+ *
+ * LAYOUT_FOOTER - Text located in the bottom margin
+ * of the document.
+ *
+ * LAYOUT_SECTION_HEADER - The titles of sections
+ * within a document.
+ *
+ * LAYOUT_PAGE_NUMBER - The page number of the
+ * documents.
+ *
+ * LAYOUT_LIST - Any information grouped together in
+ * list form.
+ *
+ * LAYOUT_FIGURE - Indicates the location of an
+ * image in a document.
+ *
+ * LAYOUT_TABLE - Indicates the location of a table
+ * in the document.
+ *
+ * LAYOUT_KEY_VALUE - Indicates the location of form
+ * key-values in a document.
+ *
+ * LAYOUT_TEXT - Text that is present typically as a
+ * part of paragraphs in documents.
+ *
Page is always 1. Synchronous operations will also return a
- * Page value of 1 because every input document is considered
- * to be a single-page document.
+ * Page is always 1.
*
*
* Constraints:
@@ -3121,9 +3826,6 @@ public Block withSelectionStatus(SelectionStatus selectionStatus) {
* asynchronous operation, even if it contains multiple document
* pages, is considered a single-page document. This means that for
* scanned images the value of Page is always 1.
- * Synchronous operations will also return a Page value
- * of 1 because every input document is considered to be a
- * single-page document.
*
Page is always 1. Synchronous operations will also return a
- * Page value of 1 because every input document is considered
- * to be a single-page document.
+ * Page is always 1.
*
*
* Constraints:
@@ -3154,9 +3854,7 @@ public Integer getPage() {
* (JPEG/PNG) provided to an asynchronous operation, even if it
* contains multiple document pages, is considered a single-page
* document. This means that for scanned images the value of
- * Page is always 1. Synchronous operations will
- * also return a Page value of 1 because every input
- * document is considered to be a single-page document.
+ * Page is always 1.
*
Page is always 1. Synchronous operations will also return a
- * Page value of 1 because every input document is considered
- * to be a single-page document.
+ * Page is always 1.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -3190,9 +3886,7 @@ public void setPage(Integer page) {
* (JPEG/PNG) provided to an asynchronous operation, even if it
* contains multiple document pages, is considered a single-page
* document. This means that for scanned images the value of
- * Page is always 1. Synchronous operations will
- * also return a Page value of 1 because every input
- * document is considered to be a single-page document.
+ * Page is always 1.
*
+ * Updating or deleting a resource can cause an inconsistent state. + *
+ */ +public class ConflictException extends AmazonServiceException { + private static final long serialVersionUID = 1L; + + /** + * Constructs a new ConflictException with the specified error message. + * + * @param message Describes the error encountered. + */ + public ConflictException(String message) { + super(message); + } +} diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterRequest.java new file mode 100644 index 00000000000..b9a2f3bd8b0 --- /dev/null +++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterRequest.java @@ -0,0 +1,641 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.textract.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *
+ * Creates an adapter, which can be fine-tuned for enhanced performance on user
+ * provided documents. Takes an AdapterName and FeatureType. Currently the only
+ * supported feature type is QUERIES. You can also provide a
+ * Description, Tags, and a ClientRequestToken. You can choose whether or not
+ * the adapter should be AutoUpdated with the AutoUpdate argument. By default,
+ * AutoUpdate is set to DISABLED.
+ *
+ * The name to be assigned to the adapter being created. + *
+ *
+ * Constraints:
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ */
+ private String adapterName;
+
+ /**
+ *
+ * Idempotent token is used to recognize the request. If the same token is + * used with multiple CreateAdapter requests, the same session is returned. + * This token is employed to avoid unintentionally creating the same session + * multiple times. + *
+ *
+ * Constraints:
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ */
+ private String clientRequestToken;
+
+ /**
+ *
+ * The description to be assigned to the adapter being created. + *
+ *
+ * Constraints:
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ */
+ private String description;
+
+ /**
+ *
+ * The type of feature that the adapter is being trained on. Currrenly,
+ * supported feature types are: QUERIES
+ *
+ * Controls whether or not the adapter should automatically update. + *
+ *
+ * Constraints:
+ * Allowed Values: ENABLED, DISABLED
+ */
+ private String autoUpdate;
+
+ /**
+ *
+ * A list of tags to be added to the adapter. + *
+ */ + private java.util.Map+ * The name to be assigned to the adapter being created. + *
+ *
+ * Constraints:
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @return
+ * The name to be assigned to the adapter being created. + *
+ */ + public String getAdapterName() { + return adapterName; + } + + /** + *+ * The name to be assigned to the adapter being created. + *
+ *
+ * Constraints:
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * The name to be assigned to the adapter being created. + *
+ */ + public void setAdapterName(String adapterName) { + this.adapterName = adapterName; + } + + /** + *+ * The name to be assigned to the adapter being created. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * The name to be assigned to the adapter being created. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateAdapterRequest withAdapterName(String adapterName) { + this.adapterName = adapterName; + return this; + } + + /** + *+ * Idempotent token is used to recognize the request. If the same token is + * used with multiple CreateAdapter requests, the same session is returned. + * This token is employed to avoid unintentionally creating the same session + * multiple times. + *
+ *
+ * Constraints:
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ *
+ * @return
+ * Idempotent token is used to recognize the request. If the same + * token is used with multiple CreateAdapter requests, the same + * session is returned. This token is employed to avoid + * unintentionally creating the same session multiple times. + *
+ */ + public String getClientRequestToken() { + return clientRequestToken; + } + + /** + *+ * Idempotent token is used to recognize the request. If the same token is + * used with multiple CreateAdapter requests, the same session is returned. + * This token is employed to avoid unintentionally creating the same session + * multiple times. + *
+ *
+ * Constraints:
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ *
+ * @param clientRequestToken
+ * Idempotent token is used to recognize the request. If the same + * token is used with multiple CreateAdapter requests, the same + * session is returned. This token is employed to avoid + * unintentionally creating the same session multiple times. + *
+ */ + public void setClientRequestToken(String clientRequestToken) { + this.clientRequestToken = clientRequestToken; + } + + /** + *+ * Idempotent token is used to recognize the request. If the same token is + * used with multiple CreateAdapter requests, the same session is returned. + * This token is employed to avoid unintentionally creating the same session + * multiple times. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ *
+ * @param clientRequestToken
+ * Idempotent token is used to recognize the request. If the same + * token is used with multiple CreateAdapter requests, the same + * session is returned. This token is employed to avoid + * unintentionally creating the same session multiple times. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateAdapterRequest withClientRequestToken(String clientRequestToken) { + this.clientRequestToken = clientRequestToken; + return this; + } + + /** + *+ * The description to be assigned to the adapter being created. + *
+ *
+ * Constraints:
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @return
+ * The description to be assigned to the adapter being created. + *
+ */ + public String getDescription() { + return description; + } + + /** + *+ * The description to be assigned to the adapter being created. + *
+ *
+ * Constraints:
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * The description to be assigned to the adapter being created. + *
+ */ + public void setDescription(String description) { + this.description = description; + } + + /** + *+ * The description to be assigned to the adapter being created. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * The description to be assigned to the adapter being created. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateAdapterRequest withDescription(String description) { + this.description = description; + return this; + } + + /** + *
+ * The type of feature that the adapter is being trained on. Currrenly,
+ * supported feature types are: QUERIES
+ *
+ * The type of feature that the adapter is being trained on.
+ * Currrenly, supported feature types are: QUERIES
+ *
+ * The type of feature that the adapter is being trained on. Currrenly,
+ * supported feature types are: QUERIES
+ *
+ * The type of feature that the adapter is being trained on.
+ * Currrenly, supported feature types are: QUERIES
+ *
+ * The type of feature that the adapter is being trained on. Currrenly,
+ * supported feature types are: QUERIES
+ *
+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param featureTypes
+ * The type of feature that the adapter is being trained on.
+ * Currrenly, supported feature types are: QUERIES
+ *
+ * The type of feature that the adapter is being trained on. Currrenly,
+ * supported feature types are: QUERIES
+ *
+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param featureTypes
+ * The type of feature that the adapter is being trained on.
+ * Currrenly, supported feature types are: QUERIES
+ *
+ * Controls whether or not the adapter should automatically update. + *
+ *
+ * Constraints:
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @return
+ * Controls whether or not the adapter should automatically update. + *
+ * @see AutoUpdate + */ + public String getAutoUpdate() { + return autoUpdate; + } + + /** + *+ * Controls whether or not the adapter should automatically update. + *
+ *
+ * Constraints:
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Controls whether or not the adapter should automatically + * update. + *
+ * @see AutoUpdate + */ + public void setAutoUpdate(String autoUpdate) { + this.autoUpdate = autoUpdate; + } + + /** + *+ * Controls whether or not the adapter should automatically update. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Controls whether or not the adapter should automatically + * update. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + * @see AutoUpdate + */ + public CreateAdapterRequest withAutoUpdate(String autoUpdate) { + this.autoUpdate = autoUpdate; + return this; + } + + /** + *+ * Controls whether or not the adapter should automatically update. + *
+ *
+ * Constraints:
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Controls whether or not the adapter should automatically + * update. + *
+ * @see AutoUpdate + */ + public void setAutoUpdate(AutoUpdate autoUpdate) { + this.autoUpdate = autoUpdate.toString(); + } + + /** + *+ * Controls whether or not the adapter should automatically update. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Controls whether or not the adapter should automatically + * update. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + * @see AutoUpdate + */ + public CreateAdapterRequest withAutoUpdate(AutoUpdate autoUpdate) { + this.autoUpdate = autoUpdate.toString(); + return this; + } + + /** + *+ * A list of tags to be added to the adapter. + *
+ * + * @return+ * A list of tags to be added to the adapter. + *
+ */ + public java.util.Map+ * A list of tags to be added to the adapter. + *
+ * + * @param tags+ * A list of tags to be added to the adapter. + *
+ */ + public void setTags(java.util.Map+ * A list of tags to be added to the adapter. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags
+ * A list of tags to be added to the adapter. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateAdapterRequest withTags(java.util.Map+ * A list of tags to be added to the adapter. + *
+ *
+ * The method adds a new key-value pair into Tags parameter, and returns a
+ * reference to this object so that method calls can be chained together.
+ *
+ * @param key The key of the entry to be added into Tags.
+ * @param value The corresponding value of the entry to be added into Tags.
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public CreateAdapterRequest addTagsEntry(String key, String value) {
+ if (null == this.tags) {
+ this.tags = new java.util.HashMap
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ */
+ public CreateAdapterRequest clearTagsEntries() {
+ this.tags = null;
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getAdapterName() != null)
+ sb.append("AdapterName: " + getAdapterName() + ",");
+ if (getClientRequestToken() != null)
+ sb.append("ClientRequestToken: " + getClientRequestToken() + ",");
+ if (getDescription() != null)
+ sb.append("Description: " + getDescription() + ",");
+ if (getFeatureTypes() != null)
+ sb.append("FeatureTypes: " + getFeatureTypes() + ",");
+ if (getAutoUpdate() != null)
+ sb.append("AutoUpdate: " + getAutoUpdate() + ",");
+ if (getTags() != null)
+ sb.append("Tags: " + getTags());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode
+ + ((getAdapterName() == null) ? 0 : getAdapterName().hashCode());
+ hashCode = prime * hashCode
+ + ((getClientRequestToken() == null) ? 0 : getClientRequestToken().hashCode());
+ hashCode = prime * hashCode
+ + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode
+ + ((getFeatureTypes() == null) ? 0 : getFeatureTypes().hashCode());
+ hashCode = prime * hashCode + ((getAutoUpdate() == null) ? 0 : getAutoUpdate().hashCode());
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateAdapterRequest == false)
+ return false;
+ CreateAdapterRequest other = (CreateAdapterRequest) obj;
+
+ if (other.getAdapterName() == null ^ this.getAdapterName() == null)
+ return false;
+ if (other.getAdapterName() != null
+ && other.getAdapterName().equals(this.getAdapterName()) == false)
+ return false;
+ if (other.getClientRequestToken() == null ^ this.getClientRequestToken() == null)
+ return false;
+ if (other.getClientRequestToken() != null
+ && other.getClientRequestToken().equals(this.getClientRequestToken()) == false)
+ return false;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null
+ && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getFeatureTypes() == null ^ this.getFeatureTypes() == null)
+ return false;
+ if (other.getFeatureTypes() != null
+ && other.getFeatureTypes().equals(this.getFeatureTypes()) == false)
+ return false;
+ if (other.getAutoUpdate() == null ^ this.getAutoUpdate() == null)
+ return false;
+ if (other.getAutoUpdate() != null
+ && other.getAutoUpdate().equals(this.getAutoUpdate()) == false)
+ return false;
+ if (other.getTags() == null ^ this.getTags() == null)
+ return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
+ return false;
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterResult.java
new file mode 100644
index 00000000000..e1440a65af9
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterResult.java
@@ -0,0 +1,132 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import java.io.Serializable;
+
+public class CreateAdapterResult implements Serializable {
+ /**
+ *
+ * A string containing the unique ID for the adapter that has been created.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has been created.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has been
+ * created.
+ *
+ * A string containing the unique ID for the adapter that has been created.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has
+ * been created.
+ *
+ * A string containing the unique ID for the adapter that has been created.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has
+ * been created.
+ *
+ * Creates a new version of an adapter. Operates on a provided AdapterId and a
+ * specified dataset provided via the DatasetConfig argument. Requires that you
+ * specify an Amazon S3 bucket with the OutputConfig argument. You can provide
+ * an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
+ *
+ * A string containing a unique ID for the adapter that will receive a new
+ * version.
+ *
+ * Constraints:
+ * Idempotent token is used to recognize the request. If the same token is
+ * used with multiple CreateAdapterVersion requests, the same session is
+ * returned. This token is employed to avoid unintentionally creating the
+ * same session multiple times.
+ *
+ * Constraints:
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Object as the value.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Constraints:
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the adapter
+ * version.
+ *
+ * A string containing a unique ID for the adapter that will receive a new
+ * version.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will receive
+ * a new version.
+ *
+ * A string containing a unique ID for the adapter that will receive a new
+ * version.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will
+ * receive a new version.
+ *
+ * A string containing a unique ID for the adapter that will receive a new
+ * version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will
+ * receive a new version.
+ *
+ * Idempotent token is used to recognize the request. If the same token is
+ * used with multiple CreateAdapterVersion requests, the same session is
+ * returned. This token is employed to avoid unintentionally creating the
+ * same session multiple times.
+ *
+ * Constraints:
+ * Idempotent token is used to recognize the request. If the same
+ * token is used with multiple CreateAdapterVersion requests, the
+ * same session is returned. This token is employed to avoid
+ * unintentionally creating the same session multiple times.
+ *
+ * Idempotent token is used to recognize the request. If the same token is
+ * used with multiple CreateAdapterVersion requests, the same session is
+ * returned. This token is employed to avoid unintentionally creating the
+ * same session multiple times.
+ *
+ * Constraints:
+ * Idempotent token is used to recognize the request. If the same
+ * token is used with multiple CreateAdapterVersion requests, the
+ * same session is returned. This token is employed to avoid
+ * unintentionally creating the same session multiple times.
+ *
+ * Idempotent token is used to recognize the request. If the same token is
+ * used with multiple CreateAdapterVersion requests, the same session is
+ * returned. This token is employed to avoid unintentionally creating the
+ * same session multiple times.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Idempotent token is used to recognize the request. If the same
+ * token is used with multiple CreateAdapterVersion requests, the
+ * same session is returned. This token is employed to avoid
+ * unintentionally creating the same session multiple times.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Object as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Object as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Object as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes
+ * a ManifestS3Object as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Object as the value.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param datasetConfig
+ * Specifies a dataset used to train a new adapter version. Takes
+ * a ManifestS3Object as the value.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Constraints:
+ * The identifier for your AWS Key Management Service key (AWS KMS
+ * key). Used to encrypt your documents.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Constraints:
+ * The identifier for your AWS Key Management Service key (AWS
+ * KMS key). Used to encrypt your documents.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The identifier for your AWS Key Management Service key (AWS
+ * KMS key). Used to encrypt your documents.
+ *
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * Sets whether or not your output will go to a user created bucket.
+ * Used to set the name of the bucket, and the prefix on the output
+ * file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under
+ * an AI services opt out policy then all unencrypted Customer
+ * Content is immediately and permanently deleted after the Customer
+ * Content has been processed by the service. No copy of of the
+ * output is retained by Amazon Textract. For information about how
+ * to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data
+ * Privacy FAQ.
+ *
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * Sets whether or not your output will go to a user created
+ * bucket. Used to set the name of the bucket, and the prefix on
+ * the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of
+ * the documents by Amazon Textract. If your account is opted out
+ * under an AI services opt out policy then all unencrypted
+ * Customer Content is immediately and permanently deleted after
+ * the Customer Content has been processed by the service. No
+ * copy of of the output is retained by Amazon Textract. For
+ * information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy FAQ.
+ *
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param outputConfig
+ * Sets whether or not your output will go to a user created
+ * bucket. Used to set the name of the bucket, and the prefix on
+ * the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of
+ * the documents by Amazon Textract. If your account is opted out
+ * under an AI services opt out policy then all unencrypted
+ * Customer Content is immediately and permanently deleted after
+ * the Customer Content has been processed by the service. No
+ * copy of of the output is retained by Amazon Textract. For
+ * information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy FAQ.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the adapter
+ * version.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the
+ * adapter version.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the adapter
+ * version.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the
+ * adapter version.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the adapter
+ * version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tags
+ * A set of tags (key-value pairs) that you want to attach to the
+ * adapter version.
+ *
+ * A set of tags (key-value pairs) that you want to attach to the adapter
+ * version.
+ *
+ * The method adds a new key-value pair into Tags parameter, and returns a
+ * reference to this object so that method calls can be chained together.
+ *
+ * @param key The key of the entry to be added into Tags.
+ * @param value The corresponding value of the entry to be added into Tags.
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public CreateAdapterVersionRequest addTagsEntry(String key, String value) {
+ if (null == this.tags) {
+ this.tags = new java.util.HashMap
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ */
+ public CreateAdapterVersionRequest clearTagsEntries() {
+ this.tags = null;
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getAdapterId() != null)
+ sb.append("AdapterId: " + getAdapterId() + ",");
+ if (getClientRequestToken() != null)
+ sb.append("ClientRequestToken: " + getClientRequestToken() + ",");
+ if (getDatasetConfig() != null)
+ sb.append("DatasetConfig: " + getDatasetConfig() + ",");
+ if (getKMSKeyId() != null)
+ sb.append("KMSKeyId: " + getKMSKeyId() + ",");
+ if (getOutputConfig() != null)
+ sb.append("OutputConfig: " + getOutputConfig() + ",");
+ if (getTags() != null)
+ sb.append("Tags: " + getTags());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getAdapterId() == null) ? 0 : getAdapterId().hashCode());
+ hashCode = prime * hashCode
+ + ((getClientRequestToken() == null) ? 0 : getClientRequestToken().hashCode());
+ hashCode = prime * hashCode
+ + ((getDatasetConfig() == null) ? 0 : getDatasetConfig().hashCode());
+ hashCode = prime * hashCode + ((getKMSKeyId() == null) ? 0 : getKMSKeyId().hashCode());
+ hashCode = prime * hashCode
+ + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode());
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateAdapterVersionRequest == false)
+ return false;
+ CreateAdapterVersionRequest other = (CreateAdapterVersionRequest) obj;
+
+ if (other.getAdapterId() == null ^ this.getAdapterId() == null)
+ return false;
+ if (other.getAdapterId() != null
+ && other.getAdapterId().equals(this.getAdapterId()) == false)
+ return false;
+ if (other.getClientRequestToken() == null ^ this.getClientRequestToken() == null)
+ return false;
+ if (other.getClientRequestToken() != null
+ && other.getClientRequestToken().equals(this.getClientRequestToken()) == false)
+ return false;
+ if (other.getDatasetConfig() == null ^ this.getDatasetConfig() == null)
+ return false;
+ if (other.getDatasetConfig() != null
+ && other.getDatasetConfig().equals(this.getDatasetConfig()) == false)
+ return false;
+ if (other.getKMSKeyId() == null ^ this.getKMSKeyId() == null)
+ return false;
+ if (other.getKMSKeyId() != null && other.getKMSKeyId().equals(this.getKMSKeyId()) == false)
+ return false;
+ if (other.getOutputConfig() == null ^ this.getOutputConfig() == null)
+ return false;
+ if (other.getOutputConfig() != null
+ && other.getOutputConfig().equals(this.getOutputConfig()) == false)
+ return false;
+ if (other.getTags() == null ^ this.getTags() == null)
+ return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
+ return false;
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterVersionResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterVersionResult.java
new file mode 100644
index 00000000000..ac9aee21296
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/CreateAdapterVersionResult.java
@@ -0,0 +1,209 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import java.io.Serializable;
+
+public class CreateAdapterVersionResult implements Serializable {
+ /**
+ *
+ * A string containing the unique ID for the adapter that has received a new
+ * version.
+ *
+ * Constraints:
+ * A string describing the new version of the adapter.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has received a new
+ * version.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has
+ * received a new version.
+ *
+ * A string containing the unique ID for the adapter that has received a new
+ * version.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has
+ * received a new version.
+ *
+ * A string containing the unique ID for the adapter that has received a new
+ * version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing the unique ID for the adapter that has
+ * received a new version.
+ *
+ * A string describing the new version of the adapter.
+ *
+ * Constraints:
+ * A string describing the new version of the adapter.
+ *
+ * A string describing the new version of the adapter.
+ *
+ * Constraints:
+ * A string describing the new version of the adapter.
+ *
+ * A string describing the new version of the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string describing the new version of the adapter.
+ *
+ * Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the
+ * adapter specified by the ID.
+ *
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to be deleted.
+ *
+ * Deletes an Amazon Textract adapter version. Requires that you specify both an
+ * AdapterId and a AdapterVersion. Deletes the adapter version specified by the
+ * AdapterId and the AdapterVersion.
+ *
+ * A string containing a unique ID for the adapter version that will be
+ * deleted.
+ *
+ * Constraints:
+ * Specifies the adapter version to be deleted.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version that will be
+ * deleted.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version that will
+ * be deleted.
+ *
+ * A string containing a unique ID for the adapter version that will be
+ * deleted.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version that
+ * will be deleted.
+ *
+ * A string containing a unique ID for the adapter version that will be
+ * deleted.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version that
+ * will be deleted.
+ *
+ * Specifies the adapter version to be deleted.
+ *
+ * Constraints:
+ * Specifies the adapter version to be deleted.
+ *
+ * Specifies the adapter version to be deleted.
+ *
+ * Constraints:
+ * Specifies the adapter version to be deleted.
+ *
+ * Specifies the adapter version to be deleted.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Specifies the adapter version to be deleted.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for an adapter
+ * version.
+ *
+ * The F1 score for an adapter version.
+ *
+ * The Precision score for an adapter version.
+ *
+ * The Recall score for an adapter version.
+ *
+ * The F1 score for an adapter version.
+ *
+ * The F1 score for an adapter version.
+ *
+ * The F1 score for an adapter version.
+ *
+ * The F1 score for an adapter version.
+ *
+ * The F1 score for an adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param f1Score
+ * The F1 score for an adapter version.
+ *
+ * The Precision score for an adapter version.
+ *
+ * The Precision score for an adapter version.
+ *
+ * The Precision score for an adapter version.
+ *
+ * The Precision score for an adapter version.
+ *
+ * The Precision score for an adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param precision
+ * The Precision score for an adapter version.
+ *
+ * The Recall score for an adapter version.
+ *
+ * The Recall score for an adapter version.
+ *
+ * The Recall score for an adapter version.
+ *
+ * The Recall score for an adapter version.
+ *
+ * The Recall score for an adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param recall
+ * The Recall score for an adapter version.
+ *
+ * Gets configuration information for an adapter specified by an AdapterId,
+ * returning information on AdapterName, Description, CreationTime, AutoUpdate
+ * status, and FeatureTypes.
+ *
+ * A string containing a unique ID for the adapter.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter.
+ *
+ * A string containing a unique ID for the adapter.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter.
+ *
+ * A string containing a unique ID for the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter.
+ *
+ * A string identifying the adapter that information has been retrieved for.
+ *
+ * Constraints:
+ * The name of the requested adapter.
+ *
+ * Constraints:
+ * The date and time the requested adapter was created at.
+ *
+ * The description for the requested adapter.
+ *
+ * Constraints:
+ * List of the targeted feature types for the requested adapter.
+ *
+ * Binary value indicating if the adapter is being automatically updated or
+ * not.
+ *
+ * Constraints:
+ * A set of tags (key-value pairs) associated with the adapter that has been
+ * retrieved.
+ *
+ * A string identifying the adapter that information has been retrieved for.
+ *
+ * Constraints:
+ * A string identifying the adapter that information has been
+ * retrieved for.
+ *
+ * A string identifying the adapter that information has been retrieved for.
+ *
+ * Constraints:
+ * A string identifying the adapter that information has been
+ * retrieved for.
+ *
+ * A string identifying the adapter that information has been retrieved for.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string identifying the adapter that information has been
+ * retrieved for.
+ *
+ * The name of the requested adapter.
+ *
+ * Constraints:
+ * The name of the requested adapter.
+ *
+ * The name of the requested adapter.
+ *
+ * Constraints:
+ * The name of the requested adapter.
+ *
+ * The name of the requested adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The name of the requested adapter.
+ *
+ * The date and time the requested adapter was created at.
+ *
+ * The date and time the requested adapter was created at.
+ *
+ * The date and time the requested adapter was created at.
+ *
+ * The date and time the requested adapter was created at.
+ *
+ * The date and time the requested adapter was created at.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param creationTime
+ * The date and time the requested adapter was created at.
+ *
+ * The description for the requested adapter.
+ *
+ * Constraints:
+ * The description for the requested adapter.
+ *
+ * The description for the requested adapter.
+ *
+ * Constraints:
+ * The description for the requested adapter.
+ *
+ * The description for the requested adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The description for the requested adapter.
+ *
+ * List of the targeted feature types for the requested adapter.
+ *
+ * List of the targeted feature types for the requested adapter.
+ *
+ * List of the targeted feature types for the requested adapter.
+ *
+ * List of the targeted feature types for the requested adapter.
+ *
+ * List of the targeted feature types for the requested adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * List of the targeted feature types for the requested adapter.
+ *
+ * List of the targeted feature types for the requested adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * List of the targeted feature types for the requested adapter.
+ *
+ * Binary value indicating if the adapter is being automatically updated or
+ * not.
+ *
+ * Constraints:
+ * Binary value indicating if the adapter is being automatically
+ * updated or not.
+ *
+ * Binary value indicating if the adapter is being automatically updated or
+ * not.
+ *
+ * Constraints:
+ * Binary value indicating if the adapter is being automatically
+ * updated or not.
+ *
+ * Binary value indicating if the adapter is being automatically updated or
+ * not.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Binary value indicating if the adapter is being automatically
+ * updated or not.
+ *
+ * Binary value indicating if the adapter is being automatically updated or
+ * not.
+ *
+ * Constraints:
+ * Binary value indicating if the adapter is being automatically
+ * updated or not.
+ *
+ * Binary value indicating if the adapter is being automatically updated or
+ * not.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Binary value indicating if the adapter is being automatically
+ * updated or not.
+ *
+ * A set of tags (key-value pairs) associated with the adapter that has been
+ * retrieved.
+ *
+ * A set of tags (key-value pairs) associated with the adapter that
+ * has been retrieved.
+ *
+ * A set of tags (key-value pairs) associated with the adapter that has been
+ * retrieved.
+ *
+ * A set of tags (key-value pairs) associated with the adapter
+ * that has been retrieved.
+ *
+ * A set of tags (key-value pairs) associated with the adapter that has been
+ * retrieved.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tags
+ * A set of tags (key-value pairs) associated with the adapter
+ * that has been retrieved.
+ *
+ * A set of tags (key-value pairs) associated with the adapter that has been
+ * retrieved.
+ *
+ * The method adds a new key-value pair into Tags parameter, and returns a
+ * reference to this object so that method calls can be chained together.
+ *
+ * @param key The key of the entry to be added into Tags.
+ * @param value The corresponding value of the entry to be added into Tags.
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public GetAdapterResult addTagsEntry(String key, String value) {
+ if (null == this.tags) {
+ this.tags = new java.util.HashMap
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ */
+ public GetAdapterResult clearTagsEntries() {
+ this.tags = null;
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getAdapterId() != null)
+ sb.append("AdapterId: " + getAdapterId() + ",");
+ if (getAdapterName() != null)
+ sb.append("AdapterName: " + getAdapterName() + ",");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: " + getCreationTime() + ",");
+ if (getDescription() != null)
+ sb.append("Description: " + getDescription() + ",");
+ if (getFeatureTypes() != null)
+ sb.append("FeatureTypes: " + getFeatureTypes() + ",");
+ if (getAutoUpdate() != null)
+ sb.append("AutoUpdate: " + getAutoUpdate() + ",");
+ if (getTags() != null)
+ sb.append("Tags: " + getTags());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getAdapterId() == null) ? 0 : getAdapterId().hashCode());
+ hashCode = prime * hashCode
+ + ((getAdapterName() == null) ? 0 : getAdapterName().hashCode());
+ hashCode = prime * hashCode
+ + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode
+ + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode
+ + ((getFeatureTypes() == null) ? 0 : getFeatureTypes().hashCode());
+ hashCode = prime * hashCode + ((getAutoUpdate() == null) ? 0 : getAutoUpdate().hashCode());
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GetAdapterResult == false)
+ return false;
+ GetAdapterResult other = (GetAdapterResult) obj;
+
+ if (other.getAdapterId() == null ^ this.getAdapterId() == null)
+ return false;
+ if (other.getAdapterId() != null
+ && other.getAdapterId().equals(this.getAdapterId()) == false)
+ return false;
+ if (other.getAdapterName() == null ^ this.getAdapterName() == null)
+ return false;
+ if (other.getAdapterName() != null
+ && other.getAdapterName().equals(this.getAdapterName()) == false)
+ return false;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null
+ && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null
+ && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getFeatureTypes() == null ^ this.getFeatureTypes() == null)
+ return false;
+ if (other.getFeatureTypes() != null
+ && other.getFeatureTypes().equals(this.getFeatureTypes()) == false)
+ return false;
+ if (other.getAutoUpdate() == null ^ this.getAutoUpdate() == null)
+ return false;
+ if (other.getAutoUpdate() != null
+ && other.getAutoUpdate().equals(this.getAutoUpdate()) == false)
+ return false;
+ if (other.getTags() == null ^ this.getTags() == null)
+ return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
+ return false;
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetAdapterVersionRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetAdapterVersionRequest.java
new file mode 100644
index 00000000000..db48add7435
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetAdapterVersionRequest.java
@@ -0,0 +1,225 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import java.io.Serializable;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * Gets configuration information for the specified adapter version, including:
+ * AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage,
+ * DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
+ *
+ * A string specifying a unique ID for the adapter version you want to
+ * retrieve information for.
+ *
+ * Constraints:
+ * A string specifying the adapter version you want to retrieve information
+ * for.
+ *
+ * Constraints:
+ * A string specifying a unique ID for the adapter version you want to
+ * retrieve information for.
+ *
+ * Constraints:
+ * A string specifying a unique ID for the adapter version you want
+ * to retrieve information for.
+ *
+ * A string specifying a unique ID for the adapter version you want to
+ * retrieve information for.
+ *
+ * Constraints:
+ * A string specifying a unique ID for the adapter version you
+ * want to retrieve information for.
+ *
+ * A string specifying a unique ID for the adapter version you want to
+ * retrieve information for.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string specifying a unique ID for the adapter version you
+ * want to retrieve information for.
+ *
+ * A string specifying the adapter version you want to retrieve information
+ * for.
+ *
+ * Constraints:
+ * A string specifying the adapter version you want to retrieve
+ * information for.
+ *
+ * A string specifying the adapter version you want to retrieve information
+ * for.
+ *
+ * Constraints:
+ * A string specifying the adapter version you want to retrieve
+ * information for.
+ *
+ * A string specifying the adapter version you want to retrieve information
+ * for.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string specifying the adapter version you want to retrieve
+ * information for.
+ *
+ * A string containing a unique ID for the adapter version being retrieved.
+ *
+ * Constraints:
+ * A string containing the adapter version that has been retrieved.
+ *
+ * Constraints:
+ * The time that the adapter version was created.
+ *
+ * List of the targeted feature types for the requested adapter version.
+ *
+ * The status of the adapter version that has been requested.
+ *
+ * Constraints:
+ * A message that describes the status of the requested adapter version.
+ *
+ * Constraints:
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Objec as the value.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Constraints:
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for the
+ * requested version, grouped by baseline metrics and adapter version.
+ *
+ * A set of tags (key-value pairs) that are associated with the adapter
+ * version.
+ *
+ * A string containing a unique ID for the adapter version being retrieved.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version being
+ * retrieved.
+ *
+ * A string containing a unique ID for the adapter version being retrieved.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version being
+ * retrieved.
+ *
+ * A string containing a unique ID for the adapter version being retrieved.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter version being
+ * retrieved.
+ *
+ * A string containing the adapter version that has been retrieved.
+ *
+ * Constraints:
+ * A string containing the adapter version that has been retrieved.
+ *
+ * A string containing the adapter version that has been retrieved.
+ *
+ * Constraints:
+ * A string containing the adapter version that has been
+ * retrieved.
+ *
+ * A string containing the adapter version that has been retrieved.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing the adapter version that has been
+ * retrieved.
+ *
+ * The time that the adapter version was created.
+ *
+ * The time that the adapter version was created.
+ *
+ * The time that the adapter version was created.
+ *
+ * The time that the adapter version was created.
+ *
+ * The time that the adapter version was created.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param creationTime
+ * The time that the adapter version was created.
+ *
+ * List of the targeted feature types for the requested adapter version.
+ *
+ * List of the targeted feature types for the requested adapter
+ * version.
+ *
+ * List of the targeted feature types for the requested adapter version.
+ *
+ * List of the targeted feature types for the requested adapter
+ * version.
+ *
+ * List of the targeted feature types for the requested adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * List of the targeted feature types for the requested adapter
+ * version.
+ *
+ * List of the targeted feature types for the requested adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * List of the targeted feature types for the requested adapter
+ * version.
+ *
+ * The status of the adapter version that has been requested.
+ *
+ * Constraints:
+ * The status of the adapter version that has been requested.
+ *
+ * The status of the adapter version that has been requested.
+ *
+ * Constraints:
+ * The status of the adapter version that has been requested.
+ *
+ * The status of the adapter version that has been requested.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The status of the adapter version that has been requested.
+ *
+ * The status of the adapter version that has been requested.
+ *
+ * Constraints:
+ * The status of the adapter version that has been requested.
+ *
+ * The status of the adapter version that has been requested.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The status of the adapter version that has been requested.
+ *
+ * A message that describes the status of the requested adapter version.
+ *
+ * Constraints:
+ * A message that describes the status of the requested adapter
+ * version.
+ *
+ * A message that describes the status of the requested adapter version.
+ *
+ * Constraints:
+ * A message that describes the status of the requested adapter
+ * version.
+ *
+ * A message that describes the status of the requested adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A message that describes the status of the requested adapter
+ * version.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Objec as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Objec as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Objec as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes
+ * a ManifestS3Objec as the value.
+ *
+ * Specifies a dataset used to train a new adapter version. Takes a
+ * ManifestS3Objec as the value.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param datasetConfig
+ * Specifies a dataset used to train a new adapter version. Takes
+ * a ManifestS3Objec as the value.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Constraints:
+ * The identifier for your AWS Key Management Service key (AWS KMS
+ * key). Used to encrypt your documents.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Constraints:
+ * The identifier for your AWS Key Management Service key (AWS
+ * KMS key). Used to encrypt your documents.
+ *
+ * The identifier for your AWS Key Management Service key (AWS KMS key).
+ * Used to encrypt your documents.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The identifier for your AWS Key Management Service key (AWS
+ * KMS key). Used to encrypt your documents.
+ *
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * Sets whether or not your output will go to a user created bucket.
+ * Used to set the name of the bucket, and the prefix on the output
+ * file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under
+ * an AI services opt out policy then all unencrypted Customer
+ * Content is immediately and permanently deleted after the Customer
+ * Content has been processed by the service. No copy of of the
+ * output is retained by Amazon Textract. For information about how
+ * to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data
+ * Privacy FAQ.
+ *
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * Sets whether or not your output will go to a user created
+ * bucket. Used to set the name of the bucket, and the prefix on
+ * the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of
+ * the documents by Amazon Textract. If your account is opted out
+ * under an AI services opt out policy then all unencrypted
+ * Customer Content is immediately and permanently deleted after
+ * the Customer Content has been processed by the service. No
+ * copy of of the output is retained by Amazon Textract. For
+ * information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy FAQ.
+ *
+ * Sets whether or not your output will go to a user created bucket. Used to
+ * set the name of the bucket, and the prefix on the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of the
+ * documents by Amazon Textract. If your account is opted out under an AI
+ * services opt out policy then all unencrypted Customer Content is
+ * immediately and permanently deleted after the Customer Content has been
+ * processed by the service. No copy of of the output is retained by Amazon
+ * Textract. For information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy
+ * FAQ.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param outputConfig
+ * Sets whether or not your output will go to a user created
+ * bucket. Used to set the name of the bucket, and the prefix on
+ * the output file.
+ *
+ *
+ * Decryption of Customer Content is necessary for processing of
+ * the documents by Amazon Textract. If your account is opted out
+ * under an AI services opt out policy then all unencrypted
+ * Customer Content is immediately and permanently deleted after
+ * the Customer Content has been processed by the service. No
+ * copy of of the output is retained by Amazon Textract. For
+ * information about how to opt out, see Managing AI services opt-out policy.
+ *
+ * For more information on data privacy, see the Data Privacy FAQ.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for the
+ * requested version, grouped by baseline metrics and adapter version.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for the
+ * requested version, grouped by baseline metrics and adapter
+ * version.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for the
+ * requested version, grouped by baseline metrics and adapter version.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for
+ * the requested version, grouped by baseline metrics and adapter
+ * version.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for the
+ * requested version, grouped by baseline metrics and adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param evaluationMetrics
+ * The evaluation metrics (F1 score, Precision, and Recall) for
+ * the requested version, grouped by baseline metrics and adapter
+ * version.
+ *
+ * The evaluation metrics (F1 score, Precision, and Recall) for the
+ * requested version, grouped by baseline metrics and adapter version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param evaluationMetrics
+ * The evaluation metrics (F1 score, Precision, and Recall) for
+ * the requested version, grouped by baseline metrics and adapter
+ * version.
+ *
+ * A set of tags (key-value pairs) that are associated with the adapter
+ * version.
+ *
+ * A set of tags (key-value pairs) that are associated with the
+ * adapter version.
+ *
+ * A set of tags (key-value pairs) that are associated with the adapter
+ * version.
+ *
+ * A set of tags (key-value pairs) that are associated with the
+ * adapter version.
+ *
+ * A set of tags (key-value pairs) that are associated with the adapter
+ * version.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tags
+ * A set of tags (key-value pairs) that are associated with the
+ * adapter version.
+ *
+ * A set of tags (key-value pairs) that are associated with the adapter
+ * version.
+ *
+ * The method adds a new key-value pair into Tags parameter, and returns a
+ * reference to this object so that method calls can be chained together.
+ *
+ * @param key The key of the entry to be added into Tags.
+ * @param value The corresponding value of the entry to be added into Tags.
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public GetAdapterVersionResult addTagsEntry(String key, String value) {
+ if (null == this.tags) {
+ this.tags = new java.util.HashMap
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ */
+ public GetAdapterVersionResult clearTagsEntries() {
+ this.tags = null;
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getAdapterId() != null)
+ sb.append("AdapterId: " + getAdapterId() + ",");
+ if (getAdapterVersion() != null)
+ sb.append("AdapterVersion: " + getAdapterVersion() + ",");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: " + getCreationTime() + ",");
+ if (getFeatureTypes() != null)
+ sb.append("FeatureTypes: " + getFeatureTypes() + ",");
+ if (getStatus() != null)
+ sb.append("Status: " + getStatus() + ",");
+ if (getStatusMessage() != null)
+ sb.append("StatusMessage: " + getStatusMessage() + ",");
+ if (getDatasetConfig() != null)
+ sb.append("DatasetConfig: " + getDatasetConfig() + ",");
+ if (getKMSKeyId() != null)
+ sb.append("KMSKeyId: " + getKMSKeyId() + ",");
+ if (getOutputConfig() != null)
+ sb.append("OutputConfig: " + getOutputConfig() + ",");
+ if (getEvaluationMetrics() != null)
+ sb.append("EvaluationMetrics: " + getEvaluationMetrics() + ",");
+ if (getTags() != null)
+ sb.append("Tags: " + getTags());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getAdapterId() == null) ? 0 : getAdapterId().hashCode());
+ hashCode = prime * hashCode
+ + ((getAdapterVersion() == null) ? 0 : getAdapterVersion().hashCode());
+ hashCode = prime * hashCode
+ + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode
+ + ((getFeatureTypes() == null) ? 0 : getFeatureTypes().hashCode());
+ hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
+ hashCode = prime * hashCode
+ + ((getStatusMessage() == null) ? 0 : getStatusMessage().hashCode());
+ hashCode = prime * hashCode
+ + ((getDatasetConfig() == null) ? 0 : getDatasetConfig().hashCode());
+ hashCode = prime * hashCode + ((getKMSKeyId() == null) ? 0 : getKMSKeyId().hashCode());
+ hashCode = prime * hashCode
+ + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode());
+ hashCode = prime * hashCode
+ + ((getEvaluationMetrics() == null) ? 0 : getEvaluationMetrics().hashCode());
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GetAdapterVersionResult == false)
+ return false;
+ GetAdapterVersionResult other = (GetAdapterVersionResult) obj;
+
+ if (other.getAdapterId() == null ^ this.getAdapterId() == null)
+ return false;
+ if (other.getAdapterId() != null
+ && other.getAdapterId().equals(this.getAdapterId()) == false)
+ return false;
+ if (other.getAdapterVersion() == null ^ this.getAdapterVersion() == null)
+ return false;
+ if (other.getAdapterVersion() != null
+ && other.getAdapterVersion().equals(this.getAdapterVersion()) == false)
+ return false;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null
+ && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getFeatureTypes() == null ^ this.getFeatureTypes() == null)
+ return false;
+ if (other.getFeatureTypes() != null
+ && other.getFeatureTypes().equals(this.getFeatureTypes()) == false)
+ return false;
+ if (other.getStatus() == null ^ this.getStatus() == null)
+ return false;
+ if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
+ return false;
+ if (other.getStatusMessage() == null ^ this.getStatusMessage() == null)
+ return false;
+ if (other.getStatusMessage() != null
+ && other.getStatusMessage().equals(this.getStatusMessage()) == false)
+ return false;
+ if (other.getDatasetConfig() == null ^ this.getDatasetConfig() == null)
+ return false;
+ if (other.getDatasetConfig() != null
+ && other.getDatasetConfig().equals(this.getDatasetConfig()) == false)
+ return false;
+ if (other.getKMSKeyId() == null ^ this.getKMSKeyId() == null)
+ return false;
+ if (other.getKMSKeyId() != null && other.getKMSKeyId().equals(this.getKMSKeyId()) == false)
+ return false;
+ if (other.getOutputConfig() == null ^ this.getOutputConfig() == null)
+ return false;
+ if (other.getOutputConfig() != null
+ && other.getOutputConfig().equals(this.getOutputConfig()) == false)
+ return false;
+ if (other.getEvaluationMetrics() == null ^ this.getEvaluationMetrics() == null)
+ return false;
+ if (other.getEvaluationMetrics() != null
+ && other.getEvaluationMetrics().equals(this.getEvaluationMetrics()) == false)
+ return false;
+ if (other.getTags() == null ^ this.getTags() == null)
+ return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
+ return false;
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisRequest.java
index b20f4575482..9a25f32ba2f 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisRequest.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisRequest.java
@@ -144,7 +144,7 @@ public class GetDocumentAnalysisRequest extends AmazonWebServiceRequest implemen
*
* Constraints:
* Constraints:
@@ -323,7 +323,7 @@ public String getNextToken() {
*
* Constraints:
@@ -348,7 +348,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisResult.java
index 8d26b11ee06..d0d5a894a32 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisResult.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentAnalysisResult.java
@@ -45,7 +45,7 @@ public class GetDocumentAnalysisResult implements Serializable {
*
* Constraints:
* Constraints:
@@ -260,7 +260,7 @@ public String getNextToken() {
*
* Constraints:
@@ -284,7 +284,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionRequest.java
index c86facb7de4..1576da8c41a 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionRequest.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionRequest.java
@@ -100,7 +100,7 @@ public class GetDocumentTextDetectionRequest extends AmazonWebServiceRequest imp
*
* Constraints:
* Constraints:
@@ -279,7 +279,7 @@ public String getNextToken() {
*
* Constraints:
@@ -304,7 +304,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionResult.java
index f93a7792814..8017ff94916 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionResult.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetDocumentTextDetectionResult.java
@@ -45,7 +45,7 @@ public class GetDocumentTextDetectionResult implements Serializable {
*
* Constraints:
* Constraints:
@@ -261,7 +261,7 @@ public String getNextToken() {
*
* Constraints:
@@ -285,7 +285,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisRequest.java
index 1c5cb38a060..b087f600a78 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisRequest.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisRequest.java
@@ -87,7 +87,7 @@ public class GetExpenseAnalysisRequest extends AmazonWebServiceRequest implement
*
* Constraints:
* Constraints:
@@ -263,7 +263,7 @@ public String getNextToken() {
*
* Constraints:
@@ -288,7 +288,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisResult.java
index ca34c846024..673815c661a 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisResult.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetExpenseAnalysisResult.java
@@ -45,7 +45,7 @@ public class GetExpenseAnalysisResult implements Serializable {
*
* Constraints:
* Constraints:
@@ -263,7 +263,7 @@ public String getNextToken() {
*
* Constraints:
@@ -287,7 +287,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisRequest.java
index fa63f4e60b2..3b01a3f1eed 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisRequest.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisRequest.java
@@ -73,7 +73,7 @@ public class GetLendingAnalysisRequest extends AmazonWebServiceRequest implement
*
* Constraints:
* Constraints:
@@ -248,7 +248,7 @@ public String getNextToken() {
*
* Constraints:
@@ -272,7 +272,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisResult.java
index 698240479dc..d474a6f05eb 100644
--- a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisResult.java
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/GetLendingAnalysisResult.java
@@ -43,7 +43,7 @@ public class GetLendingAnalysisResult implements Serializable {
*
* Constraints:
* Constraints:
@@ -249,7 +249,7 @@ public String getNextToken() {
*
* Constraints:
@@ -273,7 +273,7 @@ public void setNextToken(String nextToken) {
* together.
*
* Constraints:
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ListAdapterVersionsRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ListAdapterVersionsRequest.java
new file mode 100644
index 00000000000..424fbbab08e
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ListAdapterVersionsRequest.java
@@ -0,0 +1,451 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import java.io.Serializable;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * List all version of an adapter that meet the specified filtration criteria.
+ *
+ * A string containing a unique ID for the adapter to match for when listing
+ * adapter versions.
+ *
+ * Constraints:
+ * Specifies the lower bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * The maximum number of results to return when listing adapter versions.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to match for when listing
+ * adapter versions.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to match for when
+ * listing adapter versions.
+ *
+ * A string containing a unique ID for the adapter to match for when listing
+ * adapter versions.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to match for
+ * when listing adapter versions.
+ *
+ * A string containing a unique ID for the adapter to match for when listing
+ * adapter versions.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter to match for
+ * when listing adapter versions.
+ *
+ * Specifies the lower bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Specifies the lower bound for the ListAdapterVersions operation.
+ * Ensures ListAdapterVersions returns only adapter versions created
+ * after the specified creation time.
+ *
+ * Specifies the lower bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Specifies the lower bound for the ListAdapterVersions
+ * operation. Ensures ListAdapterVersions returns only adapter
+ * versions created after the specified creation time.
+ *
+ * Specifies the lower bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param afterCreationTime
+ * Specifies the lower bound for the ListAdapterVersions
+ * operation. Ensures ListAdapterVersions returns only adapter
+ * versions created after the specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapterVersions operation.
+ * Ensures ListAdapterVersions returns only adapter versions created
+ * after the specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapterVersions
+ * operation. Ensures ListAdapterVersions returns only adapter
+ * versions created after the specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapterVersions operation. Ensures
+ * ListAdapterVersions returns only adapter versions created after the
+ * specified creation time.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param beforeCreationTime
+ * Specifies the upper bound for the ListAdapterVersions
+ * operation. Ensures ListAdapterVersions returns only adapter
+ * versions created after the specified creation time.
+ *
+ * The maximum number of results to return when listing adapter versions.
+ *
+ * Constraints:
+ * The maximum number of results to return when listing adapter
+ * versions.
+ *
+ * The maximum number of results to return when listing adapter versions.
+ *
+ * Constraints:
+ * The maximum number of results to return when listing adapter
+ * versions.
+ *
+ * The maximum number of results to return when listing adapter versions.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The maximum number of results to return when listing adapter
+ * versions.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapter versions.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapter versions.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapter versions.
+ *
+ * Adapter versions that match the filtering criteria specified when calling
+ * ListAdapters.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Constraints:
+ * Adapter versions that match the filtering criteria specified when calling
+ * ListAdapters.
+ *
+ * Adapter versions that match the filtering criteria specified when
+ * calling ListAdapters.
+ *
+ * Adapter versions that match the filtering criteria specified when calling
+ * ListAdapters.
+ *
+ * Adapter versions that match the filtering criteria specified
+ * when calling ListAdapters.
+ *
+ * Adapter versions that match the filtering criteria specified when calling
+ * ListAdapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapterVersions
+ * Adapter versions that match the filtering criteria specified
+ * when calling ListAdapters.
+ *
+ * Adapter versions that match the filtering criteria specified when calling
+ * ListAdapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapterVersions
+ * Adapter versions that match the filtering criteria specified
+ * when calling ListAdapters.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapter versions.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapter versions.
+ *
+ * Identifies the next page of results to return when listing adapter
+ * versions.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapter versions.
+ *
+ * Lists all adapters that match the specified filtration criteria.
+ *
+ * Specifies the lower bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created after the specified creation
+ * time.
+ *
+ * Specifies the upper bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created before the specified creation
+ * time.
+ *
+ * The maximum number of results to return when listing adapters.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Constraints:
+ * Specifies the lower bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created after the specified creation
+ * time.
+ *
+ * Specifies the lower bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created after the specified
+ * creation time.
+ *
+ * Specifies the lower bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created after the specified creation
+ * time.
+ *
+ * Specifies the lower bound for the ListAdapters operation.
+ * Ensures ListAdapters returns only adapters created after the
+ * specified creation time.
+ *
+ * Specifies the lower bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created after the specified creation
+ * time.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param afterCreationTime
+ * Specifies the lower bound for the ListAdapters operation.
+ * Ensures ListAdapters returns only adapters created after the
+ * specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created before the specified creation
+ * time.
+ *
+ * Specifies the upper bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created before the specified
+ * creation time.
+ *
+ * Specifies the upper bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created before the specified creation
+ * time.
+ *
+ * Specifies the upper bound for the ListAdapters operation.
+ * Ensures ListAdapters returns only adapters created before the
+ * specified creation time.
+ *
+ * Specifies the upper bound for the ListAdapters operation. Ensures
+ * ListAdapters returns only adapters created before the specified creation
+ * time.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param beforeCreationTime
+ * Specifies the upper bound for the ListAdapters operation.
+ * Ensures ListAdapters returns only adapters created before the
+ * specified creation time.
+ *
+ * The maximum number of results to return when listing adapters.
+ *
+ * Constraints:
+ * The maximum number of results to return when listing adapters.
+ *
+ * The maximum number of results to return when listing adapters.
+ *
+ * Constraints:
+ * The maximum number of results to return when listing adapters.
+ *
+ * The maximum number of results to return when listing adapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The maximum number of results to return when listing adapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapters.
+ *
+ * A list of adapters that matches the filtering criteria specified when
+ * calling ListAdapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Constraints:
+ * A list of adapters that matches the filtering criteria specified when
+ * calling ListAdapters.
+ *
+ * A list of adapters that matches the filtering criteria specified
+ * when calling ListAdapters.
+ *
+ * A list of adapters that matches the filtering criteria specified when
+ * calling ListAdapters.
+ *
+ * A list of adapters that matches the filtering criteria
+ * specified when calling ListAdapters.
+ *
+ * A list of adapters that matches the filtering criteria specified when
+ * calling ListAdapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapters
+ * A list of adapters that matches the filtering criteria
+ * specified when calling ListAdapters.
+ *
+ * A list of adapters that matches the filtering criteria specified when
+ * calling ListAdapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adapters
+ * A list of adapters that matches the filtering criteria
+ * specified when calling ListAdapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapters.
+ *
+ * Identifies the next page of results to return when listing adapters.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * Identifies the next page of results to return when listing
+ * adapters.
+ *
+ * Lists all tags for an Amazon Textract resource.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to list tags
+ * for.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to list tags
+ * for.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * list tags for.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to list tags
+ * for.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * list tags for.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to list tags
+ * for.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * list tags for.
+ *
+ * A set of tags (key-value pairs) that are part of the requested resource.
+ *
+ * A set of tags (key-value pairs) that are part of the requested resource.
+ *
+ * A set of tags (key-value pairs) that are part of the requested
+ * resource.
+ *
+ * A set of tags (key-value pairs) that are part of the requested resource.
+ *
+ * A set of tags (key-value pairs) that are part of the requested
+ * resource.
+ *
+ * A set of tags (key-value pairs) that are part of the requested resource.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tags
+ * A set of tags (key-value pairs) that are part of the requested
+ * resource.
+ *
+ * A set of tags (key-value pairs) that are part of the requested resource.
+ *
+ * The method adds a new key-value pair into Tags parameter, and returns a
+ * reference to this object so that method calls can be chained together.
+ *
+ * @param key The key of the entry to be added into Tags.
+ * @param value The corresponding value of the entry to be added into Tags.
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public ListTagsForResourceResult addTagsEntry(String key, String value) {
+ if (null == this.tags) {
+ this.tags = new java.util.HashMap
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ */
+ public ListTagsForResourceResult clearTagsEntries() {
+ this.tags = null;
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getTags() != null)
+ sb.append("Tags: " + getTags());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListTagsForResourceResult == false)
+ return false;
+ ListTagsForResourceResult other = (ListTagsForResourceResult) obj;
+
+ if (other.getTags() == null ^ this.getTags() == null)
+ return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
+ return false;
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ResourceNotFoundException.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ResourceNotFoundException.java
new file mode 100644
index 00000000000..89e2cf86713
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/ResourceNotFoundException.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import com.amazonaws.AmazonServiceException;
+
+/**
+ *
+ * Returned when an operation tried to access a nonexistent resource.
+ *
+ * Returned when a request cannot be completed as it would exceed a maximum
+ * service quota.
+ *
+ * Specifies the adapter to be used when analyzing a document.
+ *
* The location of the document to be processed.
@@ -706,6 +713,51 @@ public StartDocumentAnalysisRequest withQueriesConfig(QueriesConfig queriesConfi
return this;
}
+ /**
+ *
+ * Specifies the adapter to be used when analyzing a document.
+ *
+ * Specifies the adapter to be used when analyzing a document.
+ *
+ * Specifies the adapter to be used when analyzing a document.
+ *
+ * Specifies the adapter to be used when analyzing a document.
+ *
+ * Specifies the adapter to be used when analyzing a document.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param adaptersConfig
+ * Specifies the adapter to be used when analyzing a document.
+ *
+ * Adds one or more tags to the specified resource.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be tagged.
+ *
+ * Constraints:
+ * A set of tags (key-value pairs) that you want to assign to the resource.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be tagged.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to be
+ * tagged.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be tagged.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * be tagged.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be tagged.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * be tagged.
+ *
+ * A set of tags (key-value pairs) that you want to assign to the resource.
+ *
+ * A set of tags (key-value pairs) that you want to assign to the
+ * resource.
+ *
+ * A set of tags (key-value pairs) that you want to assign to the resource.
+ *
+ * A set of tags (key-value pairs) that you want to assign to the
+ * resource.
+ *
+ * A set of tags (key-value pairs) that you want to assign to the resource.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tags
+ * A set of tags (key-value pairs) that you want to assign to the
+ * resource.
+ *
+ * A set of tags (key-value pairs) that you want to assign to the resource.
+ *
+ * The method adds a new key-value pair into Tags parameter, and returns a
+ * reference to this object so that method calls can be chained together.
+ *
+ * @param key The key of the entry to be added into Tags.
+ * @param value The corresponding value of the entry to be added into Tags.
+ * @return A reference to this updated object so that method calls can be
+ * chained together.
+ */
+ public TagResourceRequest addTagsEntry(String key, String value) {
+ if (null == this.tags) {
+ this.tags = new java.util.HashMap
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ */
+ public TagResourceRequest clearTagsEntries() {
+ this.tags = null;
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getResourceARN() != null)
+ sb.append("ResourceARN: " + getResourceARN() + ",");
+ if (getTags() != null)
+ sb.append("Tags: " + getTags());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode
+ + ((getResourceARN() == null) ? 0 : getResourceARN().hashCode());
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof TagResourceRequest == false)
+ return false;
+ TagResourceRequest other = (TagResourceRequest) obj;
+
+ if (other.getResourceARN() == null ^ this.getResourceARN() == null)
+ return false;
+ if (other.getResourceARN() != null
+ && other.getResourceARN().equals(this.getResourceARN()) == false)
+ return false;
+ if (other.getTags() == null ^ this.getTags() == null)
+ return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
+ return false;
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/TagResourceResult.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/TagResourceResult.java
new file mode 100644
index 00000000000..95d6aeb4532
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/TagResourceResult.java
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import java.io.Serializable;
+
+public class TagResourceResult implements Serializable {
+ /**
+ * Returns a string representation of this object; useful for testing and
+ * debugging.
+ *
+ * @return A string representation of this object.
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ return hashCode;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof TagResourceResult == false)
+ return false;
+ TagResourceResult other = (TagResourceResult) obj;
+
+ return true;
+ }
+}
diff --git a/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/UntagResourceRequest.java b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/UntagResourceRequest.java
new file mode 100644
index 00000000000..314b5f37c9b
--- /dev/null
+++ b/aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/model/UntagResourceRequest.java
@@ -0,0 +1,241 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.textract.model;
+
+import java.io.Serializable;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * Removes any tags with the specified keys from the specified resource.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be
+ * untagged.
+ *
+ * Constraints:
+ * Specifies the tags to be removed from the resource specified by the
+ * ResourceARN.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be
+ * untagged.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to be
+ * untagged.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be
+ * untagged.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * be untagged.
+ *
+ * The Amazon Resource Name (ARN) that specifies the resource to be
+ * untagged.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The Amazon Resource Name (ARN) that specifies the resource to
+ * be untagged.
+ *
+ * Specifies the tags to be removed from the resource specified by the
+ * ResourceARN.
+ *
+ * Specifies the tags to be removed from the resource specified by
+ * the ResourceARN.
+ *
+ * Specifies the tags to be removed from the resource specified by the
+ * ResourceARN.
+ *
+ * Specifies the tags to be removed from the resource specified
+ * by the ResourceARN.
+ *
+ * Specifies the tags to be removed from the resource specified by the
+ * ResourceARN.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tagKeys
+ * Specifies the tags to be removed from the resource specified
+ * by the ResourceARN.
+ *
+ * Specifies the tags to be removed from the resource specified by the
+ * ResourceARN.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param tagKeys
+ * Specifies the tags to be removed from the resource specified
+ * by the ResourceARN.
+ *
+ * Update the configuration for an adapter. FeatureTypes configurations cannot
+ * be updated. At least one new parameter must be specified as an argument.
+ *
+ * A string containing a unique ID for the adapter that will be updated.
+ *
+ * Constraints:
+ * The new description to be applied to the adapter.
+ *
+ * Constraints:
+ * The new name to be applied to the adapter.
+ *
+ * Constraints:
+ * The new auto-update status to be applied to the adapter.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will be updated.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will be
+ * updated.
+ *
+ * A string containing a unique ID for the adapter that will be updated.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will be
+ * updated.
+ *
+ * A string containing a unique ID for the adapter that will be updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that will be
+ * updated.
+ *
+ * The new description to be applied to the adapter.
+ *
+ * Constraints:
+ * The new description to be applied to the adapter.
+ *
+ * The new description to be applied to the adapter.
+ *
+ * Constraints:
+ * The new description to be applied to the adapter.
+ *
+ * The new description to be applied to the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The new description to be applied to the adapter.
+ *
+ * The new name to be applied to the adapter.
+ *
+ * Constraints:
+ * The new name to be applied to the adapter.
+ *
+ * The new name to be applied to the adapter.
+ *
+ * Constraints:
+ * The new name to be applied to the adapter.
+ *
+ * The new name to be applied to the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The new name to be applied to the adapter.
+ *
+ * The new auto-update status to be applied to the adapter.
+ *
+ * Constraints:
+ * The new auto-update status to be applied to the adapter.
+ *
+ * The new auto-update status to be applied to the adapter.
+ *
+ * Constraints:
+ * The new auto-update status to be applied to the adapter.
+ *
+ * The new auto-update status to be applied to the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The new auto-update status to be applied to the adapter.
+ *
+ * The new auto-update status to be applied to the adapter.
+ *
+ * Constraints:
+ * The new auto-update status to be applied to the adapter.
+ *
+ * The new auto-update status to be applied to the adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The new auto-update status to be applied to the adapter.
+ *
+ * A string containing a unique ID for the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing the name of the adapter that has been updated.
+ *
+ * Constraints:
+ * An object specifying the creation time of the the adapter that has been
+ * updated.
+ *
+ * A string containing the description of the adapter that has been updated.
+ *
+ * Constraints:
+ * List of the targeted feature types for the updated adapter.
+ *
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that has been
+ * updated.
+ *
+ * A string containing a unique ID for the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that has been
+ * updated.
+ *
+ * A string containing a unique ID for the adapter that has been updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing a unique ID for the adapter that has been
+ * updated.
+ *
+ * A string containing the name of the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing the name of the adapter that has been
+ * updated.
+ *
+ * A string containing the name of the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing the name of the adapter that has been
+ * updated.
+ *
+ * A string containing the name of the adapter that has been updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing the name of the adapter that has been
+ * updated.
+ *
+ * An object specifying the creation time of the the adapter that has been
+ * updated.
+ *
+ * An object specifying the creation time of the the adapter that
+ * has been updated.
+ *
+ * An object specifying the creation time of the the adapter that has been
+ * updated.
+ *
+ * An object specifying the creation time of the the adapter that
+ * has been updated.
+ *
+ * An object specifying the creation time of the the adapter that has been
+ * updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param creationTime
+ * An object specifying the creation time of the the adapter that
+ * has been updated.
+ *
+ * A string containing the description of the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing the description of the adapter that has been
+ * updated.
+ *
+ * A string containing the description of the adapter that has been updated.
+ *
+ * Constraints:
+ * A string containing the description of the adapter that has
+ * been updated.
+ *
+ * A string containing the description of the adapter that has been updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * A string containing the description of the adapter that has
+ * been updated.
+ *
+ * List of the targeted feature types for the updated adapter.
+ *
+ * List of the targeted feature types for the updated adapter.
+ *
+ * List of the targeted feature types for the updated adapter.
+ *
+ * List of the targeted feature types for the updated adapter.
+ *
+ * List of the targeted feature types for the updated adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * List of the targeted feature types for the updated adapter.
+ *
+ * List of the targeted feature types for the updated adapter.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param featureTypes
+ * List of the targeted feature types for the updated adapter.
+ *
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Constraints:
+ * The auto-update status of the adapter that has been updated.
+ *
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Constraints:
+ * The auto-update status of the adapter that has been updated.
+ *
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The auto-update status of the adapter that has been updated.
+ *
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Constraints:
+ * The auto-update status of the adapter that has been updated.
+ *
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The auto-update status of the adapter that has been updated.
+ *
+ * Indicates that a request was not valid. Check request for proper formatting.
+ *
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ */
+ private String clientRequestToken;
+
+ /**
+ *
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ */
+ private String kMSKeyId;
+
+ /**
+ * OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ *
+ * @return
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ *
+ * @param clientRequestToken
+ * Length: 1 - 64
+ * Pattern: ^[a-zA-Z0-9-_]+$
+ *
+ * @param clientRequestToken
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ *
+ * @return
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ *
+ * @param kMSKeyId
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ *
+ * @param kMSKeyId OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets you
+ * adjust where your output will be placed. By default, Amazon
+ * Textract will store the results internally and can only be
+ * accessed by the Get API operations. With
+ * OutputConfig enabled, you can set the name of the
+ * bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set
+ * the KMSKeyID parameter to a customer master key
+ * (CMK) to encrypt your output. Without this parameter set Amazon
+ * Textract will encrypt server-side using the AWS managed CMK for
+ * Amazon S3.
+ * OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets
+ * you adjust where your output will be placed. By default,
+ * Amazon Textract will store the results internally and can only
+ * be accessed by the Get API operations. With
+ * OutputConfig enabled, you can set the name of the
+ * bucket the output will be sent to the file prefix of the
+ * results where you can download your results. Additionally, you
+ * can set the KMSKeyID parameter to a customer
+ * master key (CMK) to encrypt your output. Without this
+ * parameter set Amazon Textract will encrypt server-side using
+ * the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets
+ * you adjust where your output will be placed. By default,
+ * Amazon Textract will store the results internally and can only
+ * be accessed by the Get API operations. With
+ * OutputConfig enabled, you can set the name of the
+ * bucket the output will be sent to the file prefix of the
+ * results where you can download your results. Additionally, you
+ * can set the KMSKeyID parameter to a customer
+ * master key (CMK) to encrypt your output. Without this
+ * parameter set Amazon Textract will encrypt server-side using
+ * the AWS managed CMK for Amazon S3.
+ *
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ */
+ private String adapterVersion;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ *
+ * @return
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ */
+ private String adapterVersion;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ *
+ * @return
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ */
+ private String adapterName;
+
+ /**
+ *
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ */
+ private String description;
+
+ /**
+ *
+ * Allowed Values: ENABLED, DISABLED
+ */
+ private String autoUpdate;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @return
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @return
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @return
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ */
+ private String adapterVersion;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ *
+ * @return
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ */
+ private String adapterVersion;
+
+ /**
+ *
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ */
+ private String status;
+
+ /**
+ *
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ */
+ private String statusMessage;
+
+ /**
+ *
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ */
+ private String kMSKeyId;
+
+ /**
+ * OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ *
+ * @return
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Length: 1 - 128
+ *
+ * @param adapterVersion
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @return
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Allowed Values: ACTIVE, AT_RISK, DEPRECATED, CREATION_ERROR,
+ * CREATION_IN_PROGRESS
+ *
+ * @param status
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @return
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param statusMessage
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param statusMessage
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ *
+ * @return
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ *
+ * @param kMSKeyId
+ * Length: 1 - 2048
+ * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
+ *
+ * @param kMSKeyId OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets you
+ * adjust where your output will be placed. By default, Amazon
+ * Textract will store the results internally and can only be
+ * accessed by the Get API operations. With
+ * OutputConfig enabled, you can set the name of the
+ * bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set
+ * the KMSKeyID parameter to a customer master key
+ * (CMK) to encrypt your output. Without this parameter set Amazon
+ * Textract will encrypt server-side using the AWS managed CMK for
+ * Amazon S3.
+ * OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets
+ * you adjust where your output will be placed. By default,
+ * Amazon Textract will store the results internally and can only
+ * be accessed by the Get API operations. With
+ * OutputConfig enabled, you can set the name of the
+ * bucket the output will be sent to the file prefix of the
+ * results where you can download your results. Additionally, you
+ * can set the KMSKeyID parameter to a customer
+ * master key (CMK) to encrypt your output. Without this
+ * parameter set Amazon Textract will encrypt server-side using
+ * the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets you adjust
+ * where your output will be placed. By default, Amazon Textract will store
+ * the results internally and can only be accessed by the Get API
+ * operations. With OutputConfig enabled, you can set the name
+ * of the bucket the output will be sent to the file prefix of the results
+ * where you can download your results. Additionally, you can set the
+ * KMSKeyID parameter to a customer master key (CMK) to encrypt
+ * your output. Without this parameter set Amazon Textract will encrypt
+ * server-side using the AWS managed CMK for Amazon S3.
+ * OutputConfig is an optional parameter which lets
+ * you adjust where your output will be placed. By default,
+ * Amazon Textract will store the results internally and can only
+ * be accessed by the Get API operations. With
+ * OutputConfig enabled, you can set the name of the
+ * bucket the output will be sent to the file prefix of the
+ * results where you can download your results. Additionally, you
+ * can set the KMSKeyID parameter to a customer
+ * master key (CMK) to encrypt your output. Without this
+ * parameter set Amazon Textract will encrypt server-side using
+ * the AWS managed CMK for Amazon S3.
+ *
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -301,7 +301,7 @@ public GetDocumentAnalysisRequest withMaxResults(Integer maxResults) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -239,7 +239,7 @@ public GetDocumentAnalysisResult withJobStatus(JobStatus jobStatus) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -257,7 +257,7 @@ public GetDocumentTextDetectionRequest withMaxResults(Integer maxResults) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -240,7 +240,7 @@ public GetDocumentTextDetectionResult withJobStatus(JobStatus jobStatus) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -241,7 +241,7 @@ public GetExpenseAnalysisRequest withMaxResults(Integer maxResults) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -242,7 +242,7 @@ public GetExpenseAnalysisResult withJobStatus(JobStatus jobStatus) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -227,7 +227,7 @@ public GetLendingAnalysisRequest withMaxResults(Integer maxResults) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*/
private String nextToken;
@@ -228,7 +228,7 @@ public GetLendingAnalysisResult withJobStatus(JobStatus jobStatus) {
*
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @return
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
- * Length: 1 - 255
+ * Length: 1 - 1024
* Pattern: .*\S.*
*
* @param nextToken
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Range: 1 -
+ */
+ private Integer maxResults;
+
+ /**
+ *
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ */
+ private String nextToken;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Range: 1 -
+ *
+ * @return
+ * Range: 1 -
+ *
+ * @param maxResults
+ * Range: 1 -
+ *
+ * @param maxResults
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @return
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ */
+ private String nextToken;
+
+ /**
+ *
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @return
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Range: 1 -
+ */
+ private Integer maxResults;
+
+ /**
+ *
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ */
+ private String nextToken;
+
+ /**
+ *
+ * Range: 1 -
+ *
+ * @return
+ * Range: 1 -
+ *
+ * @param maxResults
+ * Range: 1 -
+ *
+ * @param maxResults
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @return
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ */
+ private String nextToken;
+
+ /**
+ *
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @return
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1024
+ * Pattern: .*\S.*
+ *
+ * @param nextToken
+ * Length: 1 - 1011
+ */
+ private String resourceARN;
+
+ /**
+ *
+ * Length: 1 - 1011
+ *
+ * @return
+ * Length: 1 - 1011
+ *
+ * @param resourceARN
+ * Length: 1 - 1011
+ *
+ * @param resourceARN
+ * Length: 1 - 1011
+ */
+ private String resourceARN;
+
+ /**
+ *
+ * Length: 1 - 1011
+ *
+ * @return
+ * Length: 1 - 1011
+ *
+ * @param resourceARN
+ * Length: 1 - 1011
+ *
+ * @param resourceARN
+ * Length: 1 - 1011
+ */
+ private String resourceARN;
+
+ /**
+ *
+ * Length: 1 - 1011
+ *
+ * @return
+ * Length: 1 - 1011
+ *
+ * @param resourceARN
+ * Length: 1 - 1011
+ *
+ * @param resourceARN
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ */
+ private String description;
+
+ /**
+ *
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ */
+ private String adapterName;
+
+ /**
+ *
+ * Allowed Values: ENABLED, DISABLED
+ */
+ private String autoUpdate;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @return
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @return
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @return
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Length: 12 - 1011
+ */
+ private String adapterId;
+
+ /**
+ *
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ */
+ private String adapterName;
+
+ /**
+ *
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ */
+ private String description;
+
+ /**
+ *
+ * Allowed Values: ENABLED, DISABLED
+ */
+ private String autoUpdate;
+
+ /**
+ *
+ * Length: 12 - 1011
+ *
+ * @return
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 12 - 1011
+ *
+ * @param adapterId
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @return
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Length: 1 - 128
+ * Pattern: [a-zA-Z0-9-_]+
+ *
+ * @param adapterName
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @return
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * Length: 1 - 256
+ * Pattern:
+ * ^[a-zA-Z0-9\s!"\#\$%'&\(\)\*\+\,\-\./:;=\?@\[\\\]\^_`\{\|\}~><]+$
+ *
+ *
+ * @param description
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @return
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate
+ * Allowed Values: ENABLED, DISABLED
+ *
+ * @param autoUpdate