Class StartTargetedSentimentDetectionJobResponse

    • Method Detail

      • jobId

        public final String jobId()

        The identifier generated for the job. To get the status of a job, use this identifier with the DescribeTargetedSentimentDetectionJob operation.

        Returns:
        The identifier generated for the job. To get the status of a job, use this identifier with the DescribeTargetedSentimentDetectionJob operation.
      • jobArn

        public final String jobArn()

        The Amazon Resource Name (ARN) of the targeted 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>:targeted-sentiment-detection-job/<job-id>

        The following is an example job ARN:

        arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab

        Returns:
        The Amazon Resource Name (ARN) of the targeted 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>:targeted-sentiment-detection-job/<job-id>

        The following is an example job ARN:

        arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab

      • jobStatus

        public final JobStatus jobStatus()

        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 DescribeTargetedSentimentDetectionJob operation.

        If the service returns an enum value that is not available in the current SDK version, jobStatus will return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from jobStatusAsString().

        Returns:
        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 DescribeTargetedSentimentDetectionJob operation.

        See Also:
        JobStatus
      • jobStatusAsString

        public final String jobStatusAsString()

        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 DescribeTargetedSentimentDetectionJob operation.

        If the service returns an enum value that is not available in the current SDK version, jobStatus will return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from jobStatusAsString().

        Returns:
        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 DescribeTargetedSentimentDetectionJob operation.

        See Also:
        JobStatus
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object