Interface EventsDetectionJobProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventsDetectionJobProperties.Builder,
,EventsDetectionJobProperties> SdkBuilder<EventsDetectionJobProperties.Builder,
,EventsDetectionJobProperties> SdkPojo
- Enclosing class:
EventsDetectionJobProperties
-
Method Summary
Modifier and TypeMethodDescriptiondataAccessRoleArn
(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.The time that the events detection job completed.inputDataConfig
(Consumer<InputDataConfig.Builder> inputDataConfig) The input data configuration that you supplied when you created the events detection job.inputDataConfig
(InputDataConfig inputDataConfig) The input data configuration that you supplied when you created the events detection job.The Amazon Resource Name (ARN) of the events detection job.The identifier assigned to the events detection job.The name you assigned the events detection job.The current status of the events detection job.The current status of the events detection job.languageCode
(String languageCode) The language code of the input documents.languageCode
(LanguageCode languageCode) The language code of the input documents.A description of the status of the events detection job.outputDataConfig
(Consumer<OutputDataConfig.Builder> outputDataConfig) The output data configuration that you supplied when you created the events detection job.outputDataConfig
(OutputDataConfig outputDataConfig) The output data configuration that you supplied when you created the events detection job.submitTime
(Instant submitTime) The time that the events detection job was submitted for processing.targetEventTypes
(String... targetEventTypes) The types of events that are detected by the job.targetEventTypes
(Collection<String> targetEventTypes) The types of events that are detected by the job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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:
-
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
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
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
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.
-
inputDataConfig
default EventsDetectionJobProperties.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig) The input data configuration that you supplied when you created the events detection job.
This is a convenience method that creates an instance of theInputDataConfig.Builder
avoiding the need to create one manually viaInputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDataConfig(InputDataConfig)
.- Parameters:
inputDataConfig
- a consumer that will call methods onInputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
outputDataConfig
default EventsDetectionJobProperties.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig) The output data configuration that you supplied when you created the events detection job.
This is a convenience method that creates an instance of theOutputDataConfig.Builder
avoiding the need to create one manually viaOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(OutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code of the input documents.
- Parameters:
languageCode
- The language code of the input documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code of the input documents.
- Parameters:
languageCode
- The language code of the input documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-