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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartEventsDetectionJobRequest.BuilderclientRequestToken(String clientRequestToken)An unique identifier for the request.StartEventsDetectionJobRequest.BuilderdataAccessRoleArn(String dataAccessRoleArn)The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.default StartEventsDetectionJobRequest.BuilderinputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)Specifies the format and location of the input data for the job.StartEventsDetectionJobRequest.BuilderinputDataConfig(InputDataConfig inputDataConfig)Specifies the format and location of the input data for the job.StartEventsDetectionJobRequest.BuilderjobName(String jobName)The identifier of the events detection job.StartEventsDetectionJobRequest.BuilderlanguageCode(String languageCode)The language code of the input documents.StartEventsDetectionJobRequest.BuilderlanguageCode(LanguageCode languageCode)The language code of the input documents.default StartEventsDetectionJobRequest.BuilderoutputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)Specifies where to send the output files.StartEventsDetectionJobRequest.BuilderoutputDataConfig(OutputDataConfig outputDataConfig)Specifies where to send the output files.StartEventsDetectionJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartEventsDetectionJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartEventsDetectionJobRequest.Buildertags(Collection<Tag> tags)Tags to associate with the events detection job.StartEventsDetectionJobRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to associate with the events detection job.StartEventsDetectionJobRequest.Buildertags(Tag... tags)Tags to associate with the events detection job.StartEventsDetectionJobRequest.BuildertargetEventTypes(String... targetEventTypes)The types of events to detect in the input documents.StartEventsDetectionJobRequest.BuildertargetEventTypes(Collection<String> targetEventTypes)The types of events to detect in the input documents.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
build
-
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 Detail
-
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 theInputDataConfig.Builderavoiding the need to create one manually viaInputDataConfig.builder().When the
Consumercompletes,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:
inputDataConfig(InputDataConfig)
-
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 theOutputDataConfig.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,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:
outputDataConfig(OutputDataConfig)
-
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
StartEventsDetectionJobRequest.Builder jobName(String 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,LanguageCode
-
languageCode
StartEventsDetectionJobRequest.Builder languageCode(LanguageCode 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,LanguageCode
-
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
StartEventsDetectionJobRequest.Builder tags(Collection<Tag> 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
StartEventsDetectionJobRequest.Builder tags(Tag... 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
StartEventsDetectionJobRequest.Builder tags(Consumer<Tag.Builder>... 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
StartEventsDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartEventsDetectionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-