/*
* Copyright 2018-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.comprehend.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class StartSentimentDetectionJobResult extends com.amazonaws.AmazonWebServiceResult
* The identifier generated for the job. To get the status of a job, use this identifier with the operation.
*
* The Amazon Resource Name (ARN) of the sentiment detection 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:
*
*
* The following is an example job ARN:
*
*
* The status of the job.
*
* SUBMITTED - The job has been received and is 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. To get details, use the operation.
*
* The identifier generated for the job. To get the status of a job, use this identifier with the operation.
*
* The identifier generated for the job. To get the status of a job, use this identifier with the operation.
*
* The identifier generated for the job. To get the status of a job, use this identifier with the operation.
*
* The Amazon Resource Name (ARN) of the sentiment detection 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:
*
*
* The following is an example job ARN:
*
* arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*
*
*/
private String jobStatus;
/**
* arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*
* arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
*
* The following is an example job ARN: *
*
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*/
public void setJobArn(String jobArn) {
this.jobArn = jobArn;
}
/**
*
* The Amazon Resource Name (ARN) of the sentiment detection 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:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
*
* The following is an example job ARN: *
*
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*
* arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
*
* The following is an example job ARN: *
*
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*/
public String getJobArn() {
return this.jobArn;
}
/**
*
* The Amazon Resource Name (ARN) of the sentiment detection 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:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
*
* The following is an example job ARN: *
*
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
*
* arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
*
* The following is an example job ARN: *
*
* arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
* @return Returns a reference to this object so that method calls can be chained together.
*/
public StartSentimentDetectionJobResult withJobArn(String jobArn) {
setJobArn(jobArn);
return this;
}
/**
*
* The status of the job. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** The status of the job. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** The status of the job. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** The status of the job. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
** SUBMITTED - The job has been received and is 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. To get details, use the operation. *
*