Interface SentimentDetectionJobProperties.Builder

    • Method Detail

      • jobId

        SentimentDetectionJobProperties.Builder jobId​(String jobId)

        The identifier assigned to the sentiment detection job.

        Parameters:
        jobId - The identifier assigned to the sentiment detection job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobArn

        SentimentDetectionJobProperties.Builder jobArn​(String 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

        Parameters:
        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

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

        SentimentDetectionJobProperties.Builder jobName​(String jobName)

        The name that you assigned to the sentiment detection job

        Parameters:
        jobName - The name that you assigned to the sentiment detection job
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobStatus

        SentimentDetectionJobProperties.Builder jobStatus​(String jobStatus)

        The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

        Parameters:
        jobStatus - The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • jobStatus

        SentimentDetectionJobProperties.Builder jobStatus​(JobStatus jobStatus)

        The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

        Parameters:
        jobStatus - The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • message

        SentimentDetectionJobProperties.Builder message​(String message)

        A description of the status of a job.

        Parameters:
        message - A description of the status of a job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • submitTime

        SentimentDetectionJobProperties.Builder submitTime​(Instant submitTime)

        The time that the sentiment detection job was submitted for processing.

        Parameters:
        submitTime - The time that the sentiment detection job was submitted for processing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        SentimentDetectionJobProperties.Builder endTime​(Instant endTime)

        The time that the sentiment detection job ended.

        Parameters:
        endTime - The time that the sentiment detection job ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputDataConfig

        SentimentDetectionJobProperties.Builder inputDataConfig​(InputDataConfig inputDataConfig)

        The input data configuration that you supplied when you created the sentiment detection job.

        Parameters:
        inputDataConfig - The input data configuration that you supplied when you created the sentiment detection job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputDataConfig

        SentimentDetectionJobProperties.Builder outputDataConfig​(OutputDataConfig outputDataConfig)

        The output data configuration that you supplied when you created the sentiment detection job.

        Parameters:
        outputDataConfig - The output data configuration that you supplied when you created the sentiment detection job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataAccessRoleArn

        SentimentDetectionJobProperties.Builder dataAccessRoleArn​(String dataAccessRoleArn)

        The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.

        Parameters:
        dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeKmsKeyId

        SentimentDetectionJobProperties.Builder volumeKmsKeyId​(String volumeKmsKeyId)

        ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

        • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"

        • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

        Parameters:
        volumeKmsKeyId - ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

        • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"

        • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

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

        SentimentDetectionJobProperties.Builder vpcConfig​(VpcConfig vpcConfig)

        Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.

        Parameters:
        vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.