@Generated(value="software.amazon.awssdk:codegen") public final class SentimentDetectionJobProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SentimentDetectionJobProperties.Builder,SentimentDetectionJobProperties>
Provides information about a sentiment detection job.
Modifier and Type | Class and Description |
---|---|
static interface |
SentimentDetectionJobProperties.Builder |
Modifier and Type | Method and Description |
---|---|
static SentimentDetectionJobProperties.Builder |
builder() |
String |
dataAccessRoleArn()
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
|
Instant |
endTime()
The time that the sentiment detection job ended.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InputDataConfig |
inputDataConfig()
The input data configuration that you supplied when you created the sentiment detection job.
|
String |
jobId()
The identifier assigned to the sentiment detection job.
|
String |
jobName()
The name that you assigned to the sentiment detection job
|
JobStatus |
jobStatus()
The current status of the sentiment detection job.
|
String |
jobStatusAsString()
The current status of the sentiment detection job.
|
LanguageCode |
languageCode()
The language code of the input documents.
|
String |
languageCodeAsString()
The language code of the input documents.
|
String |
message()
A description of the status of a job.
|
OutputDataConfig |
outputDataConfig()
The output data configuration that you supplied when you created the sentiment detection job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SentimentDetectionJobProperties.Builder> |
serializableBuilderClass() |
Instant |
submitTime()
The time that the sentiment detection job was submitted for processing.
|
SentimentDetectionJobProperties.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String jobId()
The identifier assigned to the sentiment detection job.
public String jobName()
The name that you assigned to the sentiment detection job
public JobStatus jobStatus()
The current status of the sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.
If the service returns an enum value that is not available in the current SDK version, jobStatus
will
return JobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobStatusAsString()
.
FAILED
, the
Messages
field shows the reason for the failure.JobStatus
public String jobStatusAsString()
The current status of the sentiment detection job. If the status is FAILED
, the
Messages
field shows the reason for the failure.
If the service returns an enum value that is not available in the current SDK version, jobStatus
will
return JobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobStatusAsString()
.
FAILED
, the
Messages
field shows the reason for the failure.JobStatus
public String message()
A description of the status of a job.
public Instant submitTime()
The time that the sentiment detection job was submitted for processing.
public Instant endTime()
The time that the sentiment detection job ended.
public InputDataConfig inputDataConfig()
The input data configuration that you supplied when you created the sentiment detection job.
public OutputDataConfig outputDataConfig()
The output data configuration that you supplied when you created the sentiment detection job.
public LanguageCode languageCode()
The language code of the input documents.
If the service returns an enum value that is not available in the current SDK version, languageCode
will
return LanguageCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
languageCodeAsString()
.
LanguageCode
public String languageCodeAsString()
The language code of the input documents.
If the service returns an enum value that is not available in the current SDK version, languageCode
will
return LanguageCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
languageCodeAsString()
.
LanguageCode
public String dataAccessRoleArn()
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
public SentimentDetectionJobProperties.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SentimentDetectionJobProperties.Builder,SentimentDetectionJobProperties>
public static SentimentDetectionJobProperties.Builder builder()
public static Class<? extends SentimentDetectionJobProperties.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.