@Generated(value="software.amazon.awssdk:codegen") public final class GetPercentilesRequest extends IotRequest implements ToCopyableBuilder<GetPercentilesRequest.Builder,GetPercentilesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetPercentilesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
aggregationField()
The field to aggregate.
|
static GetPercentilesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPercents()
Returns true if the Percents property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
indexName()
The name of the index to search.
|
List<Double> |
percents()
The percentile groups returned.
|
String |
queryString()
The query string.
|
String |
queryVersion()
The query version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetPercentilesRequest.Builder> |
serializableBuilderClass() |
GetPercentilesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String indexName()
The name of the index to search.
public String queryString()
The query string.
public String aggregationField()
The field to aggregate.
public String queryVersion()
The query version.
public boolean hasPercents()
public List<Double> percents()
The percentile groups returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPercents() to see if a value was sent in this field.
public GetPercentilesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetPercentilesRequest.Builder,GetPercentilesRequest>toBuilder in class IotRequestpublic static GetPercentilesRequest.Builder builder()
public static Class<? extends GetPercentilesRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.