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 interface
GetStatisticsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
aggregationField()
The aggregation field name.static GetStatisticsRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
indexName()
The name of the index to search.String
queryString()
The query used to search.String
queryVersion()
The version of the query used to search.List<SdkField<?>>
sdkFields()
static Class<? extends GetStatisticsRequest.Builder>
serializableBuilderClass()
GetStatisticsRequest.Builder
toBuilder()
String
toString()
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:
toBuilder
in interfaceToCopyableBuilder<GetStatisticsRequest.Builder,GetStatisticsRequest>
- Specified by:
toBuilder
in classIotRequest
-
builder
public static GetStatisticsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetStatisticsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-