public class GetCardinalityRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns the approximate count of unique values that match the query.
Constructor and Description |
---|
GetCardinalityRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAggregationField()
The field to aggregate.
|
java.lang.String |
getIndexName()
The name of the index to search.
|
java.lang.String |
getQueryString()
The search query.
|
java.lang.String |
getQueryVersion()
The query version.
|
int |
hashCode() |
void |
setAggregationField(java.lang.String aggregationField)
The field to aggregate.
|
void |
setIndexName(java.lang.String indexName)
The name of the index to search.
|
void |
setQueryString(java.lang.String queryString)
The search query.
|
void |
setQueryVersion(java.lang.String queryVersion)
The query version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCardinalityRequest |
withAggregationField(java.lang.String aggregationField)
The field to aggregate.
|
GetCardinalityRequest |
withIndexName(java.lang.String indexName)
The name of the index to search.
|
GetCardinalityRequest |
withQueryString(java.lang.String queryString)
The search query.
|
GetCardinalityRequest |
withQueryVersion(java.lang.String queryVersion)
The query version.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getIndexName()
The name of the index to search.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the index to search.
public void setIndexName(java.lang.String indexName)
The name of the index to search.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName
- The name of the index to search.
public GetCardinalityRequest withIndexName(java.lang.String indexName)
The name of the index to search.
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.
public java.lang.String getQueryString()
The search query.
Constraints:
Length: 1 -
The search query.
public void setQueryString(java.lang.String queryString)
The search query.
Constraints:
Length: 1 -
queryString
- The search query.
public GetCardinalityRequest withQueryString(java.lang.String queryString)
The search query.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
queryString
- The search query.
public java.lang.String getAggregationField()
The field to aggregate.
Constraints:
Length: 1 -
The field to aggregate.
public void setAggregationField(java.lang.String aggregationField)
The field to aggregate.
Constraints:
Length: 1 -
aggregationField
- The field to aggregate.
public GetCardinalityRequest withAggregationField(java.lang.String aggregationField)
The field to aggregate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
aggregationField
- The field to aggregate.
public java.lang.String getQueryVersion()
The query version.
The query version.
public void setQueryVersion(java.lang.String queryVersion)
The query version.
queryVersion
- The query version.
public GetCardinalityRequest withQueryVersion(java.lang.String queryVersion)
The query version.
Returns a reference to this object so that method calls can be chained together.
queryVersion
- The query version.
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.