public class GetStatisticsRequest extends AmazonWebServiceRequest implements Serializable
Gets statistics about things that match the specified query.
| Constructor and Description |
|---|
GetStatisticsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAggregationField()
The aggregation field name.
|
String |
getIndexName()
The name of the index to search.
|
String |
getQueryString()
The query used to search.
|
String |
getQueryVersion()
The version of the query used to search.
|
int |
hashCode() |
void |
setAggregationField(String aggregationField)
The aggregation field name.
|
void |
setIndexName(String indexName)
The name of the index to search.
|
void |
setQueryString(String queryString)
The query used to search.
|
void |
setQueryVersion(String queryVersion)
The version of the query used to search.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetStatisticsRequest |
withAggregationField(String aggregationField)
The aggregation field name.
|
GetStatisticsRequest |
withIndexName(String indexName)
The name of the index to search.
|
GetStatisticsRequest |
withQueryString(String queryString)
The query used to search.
|
GetStatisticsRequest |
withQueryVersion(String queryVersion)
The version of the query used to search.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getIndexName()
The name of the index to search. The default value is
AWS_Things.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the index to search. The default value is
AWS_Things.
public void setIndexName(String indexName)
The name of the index to search. The default value is
AWS_Things.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName -
The name of the index to search. The default value is
AWS_Things.
public GetStatisticsRequest withIndexName(String indexName)
The name of the index to search. The default value is
AWS_Things.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName -
The name of the index to search. The default value is
AWS_Things.
public String getQueryString()
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
Constraints:
Length: 1 -
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
public void setQueryString(String queryString)
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
Constraints:
Length: 1 -
queryString - The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
public GetStatisticsRequest withQueryString(String queryString)
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
queryString - The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
public String getAggregationField()
The aggregation field name. Currently not supported.
Constraints:
Length: 1 -
The aggregation field name. Currently not supported.
public void setAggregationField(String aggregationField)
The aggregation field name. Currently not supported.
Constraints:
Length: 1 -
aggregationField - The aggregation field name. Currently not supported.
public GetStatisticsRequest withAggregationField(String aggregationField)
The aggregation field name. Currently not supported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
aggregationField - The aggregation field name. Currently not supported.
public String getQueryVersion()
The version of the query used to search.
The version of the query used to search.
public void setQueryVersion(String queryVersion)
The version of the query used to search.
queryVersion - The version of the query used to search.
public GetStatisticsRequest withQueryVersion(String queryVersion)
The version of the query used to search.
Returns a reference to this object so that method calls can be chained together.
queryVersion - The version of the query used to search.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.