public class StartEventsDetectionJobResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
StartEventsDetectionJobResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
An unique identifier for the request.
|
java.lang.String |
getJobStatus()
The status of the events detection job.
|
int |
hashCode() |
void |
setJobId(java.lang.String jobId)
An unique identifier for the request.
|
void |
setJobStatus(JobStatus jobStatus)
The status of the events detection job.
|
void |
setJobStatus(java.lang.String jobStatus)
The status of the events detection job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartEventsDetectionJobResult |
withJobId(java.lang.String jobId)
An unique identifier for the request.
|
StartEventsDetectionJobResult |
withJobStatus(JobStatus jobStatus)
The status of the events detection job.
|
StartEventsDetectionJobResult |
withJobStatus(java.lang.String jobStatus)
The status of the events detection job.
|
public java.lang.String getJobId()
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
public void setJobId(java.lang.String jobId)
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId - An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
public StartEventsDetectionJobResult withJobId(java.lang.String jobId)
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
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 - An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
public java.lang.String getJobStatus()
The status of the events detection job.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
The status of the events detection job.
JobStatuspublic void setJobStatus(java.lang.String jobStatus)
The status of the events detection job.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus - The status of the events detection job.
JobStatuspublic StartEventsDetectionJobResult withJobStatus(java.lang.String jobStatus)
The 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 status of the events detection job.
JobStatuspublic void setJobStatus(JobStatus jobStatus)
The status of the events detection job.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus - The status of the events detection job.
JobStatuspublic StartEventsDetectionJobResult withJobStatus(JobStatus jobStatus)
The 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 status of the events detection job.
JobStatuspublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.