Class ClusterStatistics
java.lang.Object
org.opensearch.client.opensearch._types.ClusterStatistics
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterStatistics.Builder,ClusterStatistics>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterStatistics
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterStatistics.Builder,ClusterStatistics>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterStatistics> Json deserializer forClusterStatistics -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterStatistics.Builderbuilder()booleaninthashCode()static ClusterStatisticsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intskipped()Required - API name:skippedfinal intRequired - API name:successfulCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final inttotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterStatistics
-
-
Method Details
-
of
public static ClusterStatistics of(Function<ClusterStatistics.Builder, ObjectBuilder<ClusterStatistics>> fn) -
skipped
public final int skipped()Required - API name:skipped -
successful
public final int successful()Required - API name:successful -
total
public final int total()Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterStatistics.Builder,ClusterStatistics> - Returns:
- a new builder instance.
-
builder
-
setupClusterStatisticsDeserializer
protected static void setupClusterStatisticsDeserializer(ObjectDeserializer<ClusterStatistics.Builder> op) -
hashCode
public int hashCode() -
equals
-