@Generated(value="software.amazon.awssdk:codegen") public final class EventsDetectionJobProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventsDetectionJobProperties.Builder,EventsDetectionJobProperties>
Provides information about an events detection job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventsDetectionJobProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventsDetectionJobProperties.Builder |
builder() |
String |
dataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend
read access to your input data.
|
Instant |
endTime()
The time that the events detection job completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTargetEventTypes()
Returns true if the TargetEventTypes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
InputDataConfig |
inputDataConfig()
The input data configuration that you supplied when you created the events detection job.
|
String |
jobId()
The identifier assigned to the events detection job.
|
String |
jobName()
The name you assigned the events detection job.
|
JobStatus |
jobStatus()
The current status of the events detection job.
|
String |
jobStatusAsString()
The current status of the events 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 the events detection job.
|
OutputDataConfig |
outputDataConfig()
The output data configuration that you supplied when you created the events detection job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventsDetectionJobProperties.Builder> |
serializableBuilderClass() |
Instant |
submitTime()
The time that the events detection job was submitted for processing.
|
List<String> |
targetEventTypes()
The types of events that are detected by the job.
|
EventsDetectionJobProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobId()
The identifier assigned to the events detection job.
public final String jobName()
The name you assigned the events detection job.
public final JobStatus jobStatus()
The current status of the events detection job.
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().
JobStatuspublic final String jobStatusAsString()
The current status of the events detection job.
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().
JobStatuspublic final String message()
A description of the status of the events detection job.
public final Instant submitTime()
The time that the events detection job was submitted for processing.
public final Instant endTime()
The time that the events detection job completed.
public final InputDataConfig inputDataConfig()
The input data configuration that you supplied when you created the events detection job.
public final OutputDataConfig outputDataConfig()
The output data configuration that you supplied when you created the events detection job.
public final 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().
LanguageCodepublic final 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().
LanguageCodepublic final String dataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
public final boolean hasTargetEventTypes()
public final List<String> targetEventTypes()
The types of events that are detected by the job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargetEventTypes() to see if a value was sent in this field.
public EventsDetectionJobProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventsDetectionJobProperties.Builder,EventsDetectionJobProperties>public static EventsDetectionJobProperties.Builder builder()
public static Class<? extends EventsDetectionJobProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.