Class GetStatisticsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.GetStatisticsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetStatisticsRequest.Builder,GetStatisticsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetStatisticsRequest extends IotRequest implements ToCopyableBuilder<GetStatisticsRequest.Builder,GetStatisticsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetStatisticsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaggregationField()The aggregation field name.static GetStatisticsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringindexName()The name of the index to search.StringqueryString()The query used to search.StringqueryVersion()The version of the query used to search.List<SdkField<?>>sdkFields()static Class<? extends GetStatisticsRequest.Builder>serializableBuilderClass()GetStatisticsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
indexName
public final String indexName()
The name of the index to search. The default value is
AWS_Things.- Returns:
- The name of the index to search. The default value is
AWS_Things.
-
queryString
public final 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.
- Returns:
- 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.
-
aggregationField
public final String aggregationField()
The aggregation field name.
- Returns:
- The aggregation field name.
-
queryVersion
public final String queryVersion()
The version of the query used to search.
- Returns:
- The version of the query used to search.
-
toBuilder
public GetStatisticsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetStatisticsRequest.Builder,GetStatisticsRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static GetStatisticsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetStatisticsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-