@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPercentilesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetPercentilesRequest() |
Modifier and Type | Method and Description |
---|---|
GetPercentilesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAggregationField()
The field to aggregate.
|
String |
getIndexName()
The name of the index to search.
|
List<Double> |
getPercents()
The percentile groups returned.
|
String |
getQueryString()
The search query string.
|
String |
getQueryVersion()
The query version.
|
int |
hashCode() |
void |
setAggregationField(String aggregationField)
The field to aggregate.
|
void |
setIndexName(String indexName)
The name of the index to search.
|
void |
setPercents(Collection<Double> percents)
The percentile groups returned.
|
void |
setQueryString(String queryString)
The search query string.
|
void |
setQueryVersion(String queryVersion)
The query version.
|
String |
toString()
Returns a string representation of this object.
|
GetPercentilesRequest |
withAggregationField(String aggregationField)
The field to aggregate.
|
GetPercentilesRequest |
withIndexName(String indexName)
The name of the index to search.
|
GetPercentilesRequest |
withPercents(Collection<Double> percents)
The percentile groups returned.
|
GetPercentilesRequest |
withPercents(Double... percents)
The percentile groups returned.
|
GetPercentilesRequest |
withQueryString(String queryString)
The search query string.
|
GetPercentilesRequest |
withQueryVersion(String queryVersion)
The query version.
|
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.
indexName
- The name of the index to search.public String getIndexName()
The name of the index to search.
public GetPercentilesRequest withIndexName(String indexName)
The name of the index to search.
indexName
- The name of the index to search.public void setQueryString(String queryString)
The search query string.
queryString
- The search query string.public String getQueryString()
The search query string.
public GetPercentilesRequest withQueryString(String queryString)
The search query string.
queryString
- The search query string.public void setAggregationField(String aggregationField)
The field to aggregate.
aggregationField
- The field to aggregate.public String getAggregationField()
The field to aggregate.
public GetPercentilesRequest withAggregationField(String aggregationField)
The field to aggregate.
aggregationField
- The field to aggregate.public void setQueryVersion(String queryVersion)
The query version.
queryVersion
- The query version.public String getQueryVersion()
The query version.
public GetPercentilesRequest withQueryVersion(String queryVersion)
The query version.
queryVersion
- The query version.public List<Double> getPercents()
The percentile groups returned.
public void setPercents(Collection<Double> percents)
The percentile groups returned.
percents
- The percentile groups returned.public GetPercentilesRequest withPercents(Double... percents)
The percentile groups returned.
NOTE: This method appends the values to the existing list (if any). Use
setPercents(java.util.Collection)
or withPercents(java.util.Collection)
if you want to override
the existing values.
percents
- The percentile groups returned.public GetPercentilesRequest withPercents(Collection<Double> percents)
The percentile groups returned.
percents
- The percentile groups returned.public String toString()
toString
in class Object
Object.toString()
public GetPercentilesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()