@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 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()
For responses, this returns true if the service returned a value for the TargetEventTypes property.
|
InputDataConfig |
inputDataConfig()
The input data configuration that you supplied when you created the events detection job.
|
String |
jobArn()
The Amazon Resource Name (ARN) of 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 jobArn()
The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:events-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab
arn:<partition>:comprehend:<region>:<account-id>:events-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab
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 IAM role that grants Amazon Comprehend read access to your input data.
public final boolean hasTargetEventTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetEventTypes() method.
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 © 2023. All rights reserved.