public class EntityRecognizerFilter
extends java.lang.Object
implements java.io.Serializable
Provides information for filtering a list of entity recognizers. You can only specify one filtering parameter in a request. For more information, see the operation./>
Constructor and Description |
---|
EntityRecognizerFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStatus()
The status of an entity recognizer.
|
java.util.Date |
getSubmitTimeAfter()
Filters the list of entities based on the time that the list was
submitted for processing.
|
java.util.Date |
getSubmitTimeBefore()
Filters the list of entities based on the time that the list was
submitted for processing.
|
int |
hashCode() |
void |
setStatus(ModelStatus status)
The status of an entity recognizer.
|
void |
setStatus(java.lang.String status)
The status of an entity recognizer.
|
void |
setSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of entities based on the time that the list was
submitted for processing.
|
void |
setSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of entities based on the time that the list was
submitted for processing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EntityRecognizerFilter |
withStatus(ModelStatus status)
The status of an entity recognizer.
|
EntityRecognizerFilter |
withStatus(java.lang.String status)
The status of an entity recognizer.
|
EntityRecognizerFilter |
withSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of entities based on the time that the list was
submitted for processing.
|
EntityRecognizerFilter |
withSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of entities based on the time that the list was
submitted for processing.
|
public java.lang.String getStatus()
The status of an entity recognizer.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
The status of an entity recognizer.
ModelStatus
public void setStatus(java.lang.String status)
The status of an entity recognizer.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
- The status of an entity recognizer.
ModelStatus
public EntityRecognizerFilter withStatus(java.lang.String status)
The status of an entity recognizer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
- The status of an entity recognizer.
ModelStatus
public void setStatus(ModelStatus status)
The status of an entity recognizer.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
- The status of an entity recognizer.
ModelStatus
public EntityRecognizerFilter withStatus(ModelStatus status)
The status of an entity recognizer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
- The status of an entity recognizer.
ModelStatus
public java.util.Date getSubmitTimeBefore()
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.
public void setSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.
submitTimeBefore
- Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.
public EntityRecognizerFilter withSubmitTimeBefore(java.util.Date submitTimeBefore)
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before 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.
submitTimeBefore
- Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.
public java.util.Date getSubmitTimeAfter()
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.
public void setSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.
submitTimeAfter
- Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.
public EntityRecognizerFilter withSubmitTimeAfter(java.util.Date submitTimeAfter)
Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after 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.
submitTimeAfter
- Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.
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.