Class Bucket
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.Bucket
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Bucket.Builder,Bucket>
@Generated("software.amazon.awssdk:codegen") public final class Bucket extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bucket.Builder,Bucket>
A count of documents that meets a specific aggregation criteria.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBucket.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bucket.Builderbuilder()Integercount()The number of documents that have the value counted for the particular bucket.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyValue()The value counted for the particular bucket.List<SdkField<?>>sdkFields()static Class<? extends Bucket.Builder>serializableBuilderClass()Bucket.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
keyValue
public final String keyValue()
The value counted for the particular bucket.
- Returns:
- The value counted for the particular bucket.
-
count
public final Integer count()
The number of documents that have the value counted for the particular bucket.
- Returns:
- The number of documents that have the value counted for the particular bucket.
-
toBuilder
public Bucket.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Bucket.Builder,Bucket>
-
builder
public static Bucket.Builder builder()
-
serializableBuilderClass
public static Class<? extends Bucket.Builder> serializableBuilderClass()
-
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.
-
-