Struct aws_sdk_comprehend::operation::start_document_classification_job::builders::StartDocumentClassificationJobOutputBuilder
source · #[non_exhaustive]pub struct StartDocumentClassificationJobOutputBuilder { /* private fields */ }
Expand description
A builder for StartDocumentClassificationJobOutput
.
Implementations§
source§impl StartDocumentClassificationJobOutputBuilder
impl StartDocumentClassificationJobOutputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The identifier generated for the job. To get the status of the job, use this identifier with the DescribeDocumentClassificationJob
operation.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The identifier generated for the job. To get the status of the job, use this identifier with the DescribeDocumentClassificationJob
operation.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The identifier generated for the job. To get the status of the job, use this identifier with the DescribeDocumentClassificationJob
operation.
sourcepub fn job_arn(self, input: impl Into<String>) -> Self
pub fn job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn set_job_arn(self, input: Option<String>) -> Self
pub fn set_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn get_job_arn(&self) -> &Option<String>
pub fn get_job_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn job_status(self, input: JobStatus) -> Self
pub fn job_status(self, input: JobStatus) -> Self
The status of the job:
-
SUBMITTED - The job has been received and queued for processing.
-
IN_PROGRESS - Amazon Comprehend is processing the job.
-
COMPLETED - The job was successfully completed and the output is available.
-
FAILED - The job did not complete. For details, use the
DescribeDocumentClassificationJob
operation. -
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
-
STOPPED - The job was successfully stopped without completing.
sourcepub fn set_job_status(self, input: Option<JobStatus>) -> Self
pub fn set_job_status(self, input: Option<JobStatus>) -> Self
The status of the job:
-
SUBMITTED - The job has been received and queued for processing.
-
IN_PROGRESS - Amazon Comprehend is processing the job.
-
COMPLETED - The job was successfully completed and the output is available.
-
FAILED - The job did not complete. For details, use the
DescribeDocumentClassificationJob
operation. -
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
-
STOPPED - The job was successfully stopped without completing.
sourcepub fn get_job_status(&self) -> &Option<JobStatus>
pub fn get_job_status(&self) -> &Option<JobStatus>
The status of the job:
-
SUBMITTED - The job has been received and queued for processing.
-
IN_PROGRESS - Amazon Comprehend is processing the job.
-
COMPLETED - The job was successfully completed and the output is available.
-
FAILED - The job did not complete. For details, use the
DescribeDocumentClassificationJob
operation. -
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
-
STOPPED - The job was successfully stopped without completing.
sourcepub fn document_classifier_arn(self, input: impl Into<String>) -> Self
pub fn document_classifier_arn(self, input: impl Into<String>) -> Self
The ARN of the custom classification model.
sourcepub fn set_document_classifier_arn(self, input: Option<String>) -> Self
pub fn set_document_classifier_arn(self, input: Option<String>) -> Self
The ARN of the custom classification model.
sourcepub fn get_document_classifier_arn(&self) -> &Option<String>
pub fn get_document_classifier_arn(&self) -> &Option<String>
The ARN of the custom classification model.
sourcepub fn build(self) -> StartDocumentClassificationJobOutput
pub fn build(self) -> StartDocumentClassificationJobOutput
Consumes the builder and constructs a StartDocumentClassificationJobOutput
.
Trait Implementations§
source§impl Clone for StartDocumentClassificationJobOutputBuilder
impl Clone for StartDocumentClassificationJobOutputBuilder
source§fn clone(&self) -> StartDocumentClassificationJobOutputBuilder
fn clone(&self) -> StartDocumentClassificationJobOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDocumentClassificationJobOutputBuilder
impl Default for StartDocumentClassificationJobOutputBuilder
source§fn default() -> StartDocumentClassificationJobOutputBuilder
fn default() -> StartDocumentClassificationJobOutputBuilder
source§impl PartialEq for StartDocumentClassificationJobOutputBuilder
impl PartialEq for StartDocumentClassificationJobOutputBuilder
source§fn eq(&self, other: &StartDocumentClassificationJobOutputBuilder) -> bool
fn eq(&self, other: &StartDocumentClassificationJobOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.