Interface EventsDetectionJobProperties.Builder

    • Method Detail

      • jobId

        EventsDetectionJobProperties.Builder jobId​(String jobId)

        The identifier assigned to the events detection job.

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

        EventsDetectionJobProperties.Builder jobArn​(String jobArn)

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

        The following is an example job ARN:

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

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

        The following is an example job ARN:

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

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

        EventsDetectionJobProperties.Builder jobName​(String jobName)

        The name you assigned the events detection job.

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

        EventsDetectionJobProperties.Builder jobStatus​(String jobStatus)

        The current status of the events detection job.

        Parameters:
        jobStatus - The current status of the events detection job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • jobStatus

        EventsDetectionJobProperties.Builder jobStatus​(JobStatus jobStatus)

        The current status of the events detection job.

        Parameters:
        jobStatus - The current status of the events detection job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • message

        EventsDetectionJobProperties.Builder message​(String message)

        A description of the status of the events detection job.

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

        EventsDetectionJobProperties.Builder submitTime​(Instant submitTime)

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

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

        EventsDetectionJobProperties.Builder endTime​(Instant endTime)

        The time that the events detection job completed.

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

        EventsDetectionJobProperties.Builder inputDataConfig​(InputDataConfig inputDataConfig)

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

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

        EventsDetectionJobProperties.Builder outputDataConfig​(OutputDataConfig outputDataConfig)

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

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

        EventsDetectionJobProperties.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.
      • targetEventTypes

        EventsDetectionJobProperties.Builder targetEventTypes​(Collection<String> targetEventTypes)

        The types of events that are detected by the job.

        Parameters:
        targetEventTypes - The types of events that are detected by the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetEventTypes

        EventsDetectionJobProperties.Builder targetEventTypes​(String... targetEventTypes)

        The types of events that are detected by the job.

        Parameters:
        targetEventTypes - The types of events that are detected by the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.