Interface StartEventsDetectionJobRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ComprehendRequest.Builder, CopyableBuilder<StartEventsDetectionJobRequest.Builder,StartEventsDetectionJobRequest>, SdkBuilder<StartEventsDetectionJobRequest.Builder,StartEventsDetectionJobRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
StartEventsDetectionJobRequest

public static interface StartEventsDetectionJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartEventsDetectionJobRequest.Builder,StartEventsDetectionJobRequest>
  • Method Details

    • inputDataConfig

      StartEventsDetectionJobRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)

      Specifies the format and location of the input data for the job.

      Parameters:
      inputDataConfig - Specifies the format and location of the input data for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputDataConfig

      default StartEventsDetectionJobRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)

      Specifies the format and location of the input data for the job.

      This is a convenience method that creates an instance of the InputDataConfig.Builder avoiding the need to create one manually via InputDataConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputDataConfig(InputDataConfig).

      Parameters:
      inputDataConfig - a consumer that will call methods on InputDataConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputDataConfig

      StartEventsDetectionJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)

      Specifies where to send the output files.

      Parameters:
      outputDataConfig - Specifies where to send the output files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputDataConfig

      default StartEventsDetectionJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)

      Specifies where to send the output files.

      This is a convenience method that creates an instance of the OutputDataConfig.Builder avoiding the need to create one manually via OutputDataConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputDataConfig(OutputDataConfig).

      Parameters:
      outputDataConfig - a consumer that will call methods on OutputDataConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataAccessRoleArn

      StartEventsDetectionJobRequest.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.
    • jobName

      The identifier of the events detection job.

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

      StartEventsDetectionJobRequest.Builder languageCode(String 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:
    • clientRequestToken

      StartEventsDetectionJobRequest.Builder clientRequestToken(String clientRequestToken)

      An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.

      Parameters:
      clientRequestToken - An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetEventTypes

      StartEventsDetectionJobRequest.Builder targetEventTypes(Collection<String> targetEventTypes)

      The types of events to detect in the input documents.

      Parameters:
      targetEventTypes - The types of events to detect in the input documents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetEventTypes

      StartEventsDetectionJobRequest.Builder targetEventTypes(String... targetEventTypes)

      The types of events to detect in the input documents.

      Parameters:
      targetEventTypes - The types of events to detect in the input documents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

      Parameters:
      tags - Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

      Parameters:
      tags - Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      StartEventsDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.