public class SentimentDetectionJobFilter
extends java.lang.Object
implements java.io.Serializable
Provides information for filtering a list of dominant language detection jobs. For more information, see the operation.
Constructor and Description |
---|
SentimentDetectionJobFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobName()
Filters on the name of the job.
|
java.lang.String |
getJobStatus()
Filters the list of jobs based on job status.
|
java.util.Date |
getSubmitTimeAfter()
Filters the list of jobs based on the time that the job was submitted for
processing.
|
java.util.Date |
getSubmitTimeBefore()
Filters the list of jobs based on the time that the job was submitted for
processing.
|
int |
hashCode() |
void |
setJobName(java.lang.String jobName)
Filters on the name of the job.
|
void |
setJobStatus(JobStatus jobStatus)
Filters the list of jobs based on job status.
|
void |
setJobStatus(java.lang.String jobStatus)
Filters the list of jobs based on job status.
|
void |
setSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of jobs based on the time that the job was submitted for
processing.
|
void |
setSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of jobs based on the time that the job was submitted for
processing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SentimentDetectionJobFilter |
withJobName(java.lang.String jobName)
Filters on the name of the job.
|
SentimentDetectionJobFilter |
withJobStatus(JobStatus jobStatus)
Filters the list of jobs based on job status.
|
SentimentDetectionJobFilter |
withJobStatus(java.lang.String jobStatus)
Filters the list of jobs based on job status.
|
SentimentDetectionJobFilter |
withSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of jobs based on the time that the job was submitted for
processing.
|
SentimentDetectionJobFilter |
withSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of jobs based on the time that the job was submitted for
processing.
|
public java.lang.String getJobName()
Filters on the name of the job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
Filters on the name of the job.
public void setJobName(java.lang.String jobName)
Filters on the name of the job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- Filters on the name of the job.
public SentimentDetectionJobFilter withJobName(java.lang.String jobName)
Filters on the name of the 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
- Filters on the name of the job.
public java.lang.String getJobStatus()
Filters the list of jobs based on job status. Returns only jobs with the specified status.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
Filters the list of jobs based on job status. Returns only jobs with the specified status.
JobStatus
public void setJobStatus(java.lang.String jobStatus)
Filters the list of jobs based on job status. Returns only jobs with the specified status.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
- Filters the list of jobs based on job status. Returns only jobs with the specified status.
JobStatus
public SentimentDetectionJobFilter withJobStatus(java.lang.String jobStatus)
Filters the list of jobs based on job status. Returns only jobs with the specified status.
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
- Filters the list of jobs based on job status. Returns only jobs with the specified status.
JobStatus
public void setJobStatus(JobStatus jobStatus)
Filters the list of jobs based on job status. Returns only jobs with the specified status.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
- Filters the list of jobs based on job status. Returns only jobs with the specified status.
JobStatus
public SentimentDetectionJobFilter withJobStatus(JobStatus jobStatus)
Filters the list of jobs based on job status. Returns only jobs with the specified status.
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
- Filters the list of jobs based on job status. Returns only jobs with the specified status.
JobStatus
public java.util.Date getSubmitTimeBefore()
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
public void setSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
submitTimeBefore
- Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
public SentimentDetectionJobFilter withSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
Returns a reference to this object so that method calls can be chained together.
submitTimeBefore
- Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
public java.util.Date getSubmitTimeAfter()
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
public void setSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
submitTimeAfter
- Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
public SentimentDetectionJobFilter withSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
Returns a reference to this object so that method calls can be chained together.
submitTimeAfter
- Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
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.