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