StructuredPojo
, ToCopyableBuilder<Bucket.Builder,Bucket>
@Generated("software.amazon.awssdk:codegen") public class Bucket extends Object implements StructuredPojo, ToCopyableBuilder<Bucket.Builder,Bucket>
A container for facet information.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Bucket.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Bucket.Builder |
builder() |
|
Long |
count() |
The number of hits that contain the facet value in the specified facet field.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Bucket.Builder> |
serializableBuilderClass() |
|
Bucket.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
value() |
The facet value being counted.
|
public String value()
The facet value being counted.
public Long count()
The number of hits that contain the facet value in the specified facet field.
public Bucket.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Bucket.Builder,Bucket>
public static Bucket.Builder builder()
public static Class<? extends Bucket.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.