public class EventsDetectionJobProperties
extends java.lang.Object
implements java.io.Serializable
Provides information about an events detection job.
Constructor and Description |
---|
EventsDetectionJobProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identify and Access Management
(IAM) role that grants Amazon Comprehend read access to your input data.
|
java.util.Date |
getEndTime()
The time that the events detection job completed.
|
InputDataConfig |
getInputDataConfig()
The input data configuration that you supplied when you created the
events detection job.
|
java.lang.String |
getJobId()
The identifier assigned to the events detection job.
|
java.lang.String |
getJobName()
The name you assigned the events detection job.
|
java.lang.String |
getJobStatus()
The current status of the events detection job.
|
java.lang.String |
getLanguageCode()
The language code of the input documents.
|
java.lang.String |
getMessage()
A description of the status of the events detection job.
|
OutputDataConfig |
getOutputDataConfig()
The output data configuration that you supplied when you created the
events detection job.
|
java.util.Date |
getSubmitTime()
The time that the events detection job was submitted for processing.
|
java.util.List<java.lang.String> |
getTargetEventTypes()
The types of events that are detected by the job.
|
int |
hashCode() |
void |
setDataAccessRoleArn(java.lang.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.
|
void |
setEndTime(java.util.Date endTime)
The time that the events detection job completed.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the
events detection job.
|
void |
setJobId(java.lang.String jobId)
The identifier assigned to the events detection job.
|
void |
setJobName(java.lang.String jobName)
The name you assigned the events detection job.
|
void |
setJobStatus(JobStatus jobStatus)
The current status of the events detection job.
|
void |
setJobStatus(java.lang.String jobStatus)
The current status of the events detection job.
|
void |
setLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the input documents.
|
void |
setMessage(java.lang.String message)
A description of the status of the events detection job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the
events detection job.
|
void |
setSubmitTime(java.util.Date submitTime)
The time that the events detection job was submitted for processing.
|
void |
setTargetEventTypes(java.util.Collection<java.lang.String> targetEventTypes)
The types of events that are detected by the job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventsDetectionJobProperties |
withDataAccessRoleArn(java.lang.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.
|
EventsDetectionJobProperties |
withEndTime(java.util.Date endTime)
The time that the events detection job completed.
|
EventsDetectionJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the
events detection job.
|
EventsDetectionJobProperties |
withJobId(java.lang.String jobId)
The identifier assigned to the events detection job.
|
EventsDetectionJobProperties |
withJobName(java.lang.String jobName)
The name you assigned the events detection job.
|
EventsDetectionJobProperties |
withJobStatus(JobStatus jobStatus)
The current status of the events detection job.
|
EventsDetectionJobProperties |
withJobStatus(java.lang.String jobStatus)
The current status of the events detection job.
|
EventsDetectionJobProperties |
withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
EventsDetectionJobProperties |
withLanguageCode(java.lang.String languageCode)
The language code of the input documents.
|
EventsDetectionJobProperties |
withMessage(java.lang.String message)
A description of the status of the events detection job.
|
EventsDetectionJobProperties |
withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the
events detection job.
|
EventsDetectionJobProperties |
withSubmitTime(java.util.Date submitTime)
The time that the events detection job was submitted for processing.
|
EventsDetectionJobProperties |
withTargetEventTypes(java.util.Collection<java.lang.String> targetEventTypes)
The types of events that are detected by the job.
|
EventsDetectionJobProperties |
withTargetEventTypes(java.lang.String... targetEventTypes)
The types of events that are detected by the job.
|
public java.lang.String getJobId()
The identifier assigned to the events detection job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier assigned to the events detection job.
public void setJobId(java.lang.String jobId)
The identifier assigned to the events detection job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the events detection job.
public EventsDetectionJobProperties withJobId(java.lang.String jobId)
The identifier assigned to the events detection job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the events detection job.
public java.lang.String getJobName()
The name you assigned the events detection job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The name you assigned the events detection job.
public void setJobName(java.lang.String jobName)
The name you assigned the events detection job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The name you assigned the events detection job.
public EventsDetectionJobProperties withJobName(java.lang.String jobName)
The name you assigned the events detection job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The name you assigned the events detection job.
public java.lang.String getJobStatus()
The current status of the events detection job.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
The current status of the events detection job.
JobStatus
public void setJobStatus(java.lang.String jobStatus)
The current status of the events detection job.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
- The current status of the events detection job.
JobStatus
public EventsDetectionJobProperties withJobStatus(java.lang.String jobStatus)
The current status of the events detection job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
- The current status of the events detection job.
JobStatus
public void setJobStatus(JobStatus jobStatus)
The current status of the events detection job.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
- The current status of the events detection job.
JobStatus
public EventsDetectionJobProperties withJobStatus(JobStatus jobStatus)
The current status of the events detection job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
- The current status of the events detection job.
JobStatus
public java.lang.String getMessage()
A description of the status of the events detection job.
A description of the status of the events detection job.
public void setMessage(java.lang.String message)
A description of the status of the events detection job.
message
- A description of the status of the events detection job.
public EventsDetectionJobProperties withMessage(java.lang.String message)
A description of the status of the events detection job.
Returns a reference to this object so that method calls can be chained together.
message
- A description of the status of the events detection job.
public java.util.Date getSubmitTime()
The time that the events detection job was submitted for processing.
The time that the events detection job was submitted for processing.
public void setSubmitTime(java.util.Date submitTime)
The time that the events detection job was submitted for processing.
submitTime
- The time that the events detection job was submitted for processing.
public EventsDetectionJobProperties withSubmitTime(java.util.Date submitTime)
The time that the events detection job was submitted for processing.
Returns a reference to this object so that method calls can be chained together.
submitTime
- The time that the events detection job was submitted for processing.
public java.util.Date getEndTime()
The time that the events detection job completed.
The time that the events detection job completed.
public void setEndTime(java.util.Date endTime)
The time that the events detection job completed.
endTime
- The time that the events detection job completed.
public EventsDetectionJobProperties withEndTime(java.util.Date endTime)
The time that the events detection job completed.
Returns a reference to this object so that method calls can be chained together.
endTime
- The time that the events detection job completed.
public InputDataConfig getInputDataConfig()
The input data configuration that you supplied when you created the events detection job.
The input data configuration that you supplied when you created the events detection job.
public void setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the events detection job.
inputDataConfig
- The input data configuration that you supplied when you created the events detection job.
public EventsDetectionJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the events detection job.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig
- The input data configuration that you supplied when you created the events detection job.
public OutputDataConfig getOutputDataConfig()
The output data configuration that you supplied when you created the events detection job.
The output data configuration that you supplied when you created the events detection job.
public void setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the events detection job.
outputDataConfig
- The output data configuration that you supplied when you created the events detection job.
public EventsDetectionJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the events detection job.
Returns a reference to this object so that method calls can be chained together.
outputDataConfig
- The output data configuration that you supplied when you created the events detection job.
public java.lang.String getLanguageCode()
The language code of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
The language code of the input documents.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public EventsDetectionJobProperties withLanguageCode(java.lang.String languageCode)
The language code of the input documents.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public EventsDetectionJobProperties withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code of the input documents.
LanguageCode
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
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 void setDataAccessRoleArn(java.lang.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.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
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 EventsDetectionJobProperties withDataAccessRoleArn(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
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 java.util.List<java.lang.String> getTargetEventTypes()
The types of events that are detected by the job.
The types of events that are detected by the job.
public void setTargetEventTypes(java.util.Collection<java.lang.String> targetEventTypes)
The types of events that are detected by the job.
targetEventTypes
- The types of events that are detected by the job.
public EventsDetectionJobProperties withTargetEventTypes(java.lang.String... targetEventTypes)
The types of events that are detected by the job.
Returns a reference to this object so that method calls can be chained together.
targetEventTypes
- The types of events that are detected by the job.
public EventsDetectionJobProperties withTargetEventTypes(java.util.Collection<java.lang.String> targetEventTypes)
The types of events that are detected by the job.
Returns a reference to this object so that method calls can be chained together.
targetEventTypes
- The types of events that are detected by the job.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.