public class ListEntityRecognizersRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.
Constructor and Description |
---|
ListEntityRecognizersRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
EntityRecognizerFilter |
getFilter()
Filters the list of entities returned.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return on each page.
|
java.lang.String |
getNextToken()
Identifies the next page of results to return.
|
int |
hashCode() |
void |
setFilter(EntityRecognizerFilter filter)
Filters the list of entities returned.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return on each page.
|
void |
setNextToken(java.lang.String nextToken)
Identifies the next page of results to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListEntityRecognizersRequest |
withFilter(EntityRecognizerFilter filter)
Filters the list of entities returned.
|
ListEntityRecognizersRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return on each page.
|
ListEntityRecognizersRequest |
withNextToken(java.lang.String nextToken)
Identifies the next page of results to return.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public EntityRecognizerFilter getFilter()
Filters the list of entities returned. You can filter on
Status
, SubmitTimeBefore
, or
SubmitTimeAfter
. You can only set one filter at a time.
Filters the list of entities returned. You can filter on
Status
, SubmitTimeBefore
, or
SubmitTimeAfter
. You can only set one filter at a
time.
public void setFilter(EntityRecognizerFilter filter)
Filters the list of entities returned. You can filter on
Status
, SubmitTimeBefore
, or
SubmitTimeAfter
. You can only set one filter at a time.
filter
-
Filters the list of entities returned. You can filter on
Status
, SubmitTimeBefore
, or
SubmitTimeAfter
. You can only set one filter at a
time.
public ListEntityRecognizersRequest withFilter(EntityRecognizerFilter filter)
Filters the list of entities returned. You can filter on
Status
, SubmitTimeBefore
, or
SubmitTimeAfter
. You can only set one filter at a time.
Returns a reference to this object so that method calls can be chained together.
filter
-
Filters the list of entities returned. You can filter on
Status
, SubmitTimeBefore
, or
SubmitTimeAfter
. You can only set one filter at a
time.
public java.lang.String getNextToken()
Identifies the next page of results to return.
Constraints:
Length: 1 -
Identifies the next page of results to return.
public void setNextToken(java.lang.String nextToken)
Identifies the next page of results to return.
Constraints:
Length: 1 -
nextToken
- Identifies the next page of results to return.
public ListEntityRecognizersRequest withNextToken(java.lang.String nextToken)
Identifies the next page of results to return.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- Identifies the next page of results to return.
public java.lang.Integer getMaxResults()
The maximum number of results to return on each page. The default is 100.
Constraints:
Range: 1 - 500
The maximum number of results to return on each page. The default is 100.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return on each page. The default is 100.
Constraints:
Range: 1 - 500
maxResults
- The maximum number of results to return on each page. The default is 100.
public ListEntityRecognizersRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return on each page. The default is 100.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 500
maxResults
- The maximum number of results to return on each page. The default is 100.
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.