public static interface SentimentDetectionJobProperties.Builder extends SdkPojo, CopyableBuilder<SentimentDetectionJobProperties.Builder,SentimentDetectionJobProperties>
Modifier and Type | Method and Description |
---|---|
SentimentDetectionJobProperties.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
|
SentimentDetectionJobProperties.Builder |
endTime(Instant endTime)
The time that the sentiment detection job ended.
|
default SentimentDetectionJobProperties.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input data configuration that you supplied when you created the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
jobId(String jobId)
The identifier assigned to the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
jobName(String jobName)
The name that you assigned to the sentiment detection job
|
SentimentDetectionJobProperties.Builder |
jobStatus(JobStatus jobStatus)
The current status of the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
jobStatus(String jobStatus)
The current status of the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
languageCode(LanguageCode languageCode)
The language code of the input documents.
|
SentimentDetectionJobProperties.Builder |
languageCode(String languageCode)
The language code of the input documents.
|
SentimentDetectionJobProperties.Builder |
message(String message)
A description of the status of a job.
|
default SentimentDetectionJobProperties.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The output data configuration that you supplied when you created the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the sentiment detection job.
|
SentimentDetectionJobProperties.Builder |
submitTime(Instant submitTime)
The time that the sentiment detection job was submitted for processing.
|
copy
applyMutation, build
SentimentDetectionJobProperties.Builder jobId(String jobId)
The identifier assigned to the sentiment detection job.
jobId
- The identifier assigned to the sentiment detection job.SentimentDetectionJobProperties.Builder jobName(String jobName)
The name that you assigned to the sentiment detection job
jobName
- The name that you assigned to the sentiment detection jobSentimentDetectionJobProperties.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.
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.
SentimentDetectionJobProperties.Builder message(String message)
A description of the status of a job.
message
- A description of the status of a job.SentimentDetectionJobProperties.Builder submitTime(Instant submitTime)
The time that the sentiment detection job was submitted for processing.
submitTime
- The time that the sentiment detection job was submitted for processing.SentimentDetectionJobProperties.Builder endTime(Instant endTime)
The time that the sentiment detection job ended.
endTime
- The time that the sentiment detection job ended.SentimentDetectionJobProperties.Builder inputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the sentiment detection job.
inputDataConfig
- The input data configuration that you supplied when you created the sentiment detection job.default SentimentDetectionJobProperties.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input data configuration that you supplied when you created the sentiment detection job.
This is a convenience that creates an instance of theInputDataConfig.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)
.inputDataConfig
- a consumer that will call methods on InputDataConfig.Builder
inputDataConfig(InputDataConfig)
SentimentDetectionJobProperties.Builder outputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the sentiment detection job.
outputDataConfig
- The output data configuration that you supplied when you created the sentiment detection job.default SentimentDetectionJobProperties.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The output data configuration that you supplied when you created the sentiment detection job.
This is a convenience that creates an instance of theOutputDataConfig.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)
.outputDataConfig
- a consumer that will call methods on OutputDataConfig.Builder
outputDataConfig(OutputDataConfig)
SentimentDetectionJobProperties.Builder languageCode(String languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
,
LanguageCode
SentimentDetectionJobProperties.Builder languageCode(LanguageCode languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
,
LanguageCode
SentimentDetectionJobProperties.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.