@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetStatisticsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetStatisticsRequest() |
Modifier and Type | Method and Description |
---|---|
GetStatisticsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIndexName(String indexName)
The name of the index to search. The default value is AWS_Things
.
indexName
- The name of the index to search. The default value is AWS_Things
.public String getIndexName()
The name of the index to search. The default value is AWS_Things
.
AWS_Things
.public GetStatisticsRequest withIndexName(String indexName)
The name of the index to search. The default value is AWS_Things
.
indexName
- The name of the index to search. The default value is AWS_Things
.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 Amazon Web Services account.
queryString
- The query used to search. You can specify "*" for the query string to get the count of all indexed things
in your Amazon Web Services account.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 Amazon Web Services 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 Amazon Web Services account.
queryString
- The query used to search. You can specify "*" for the query string to get the count of all indexed things
in your Amazon Web Services account.public void setAggregationField(String aggregationField)
The aggregation field name.
aggregationField
- The aggregation field name.public String getAggregationField()
The aggregation field name.
public GetStatisticsRequest withAggregationField(String aggregationField)
The aggregation field name.
aggregationField
- The aggregation field name.public void setQueryVersion(String queryVersion)
The version of the query used to search.
queryVersion
- The version of the query used to search.public String getQueryVersion()
The version of the query used to search.
public GetStatisticsRequest withQueryVersion(String queryVersion)
The version of the query used to search.
queryVersion
- The version of the query used to search.public String toString()
toString
in class Object
Object.toString()
public GetStatisticsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()