Class AwarenessAttributeStats
java.lang.Object
org.opensearch.client.opensearch.cluster.health.AwarenessAttributeStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AwarenessAttributeStats.Builder,AwarenessAttributeStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AwarenessAttributeStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AwarenessAttributeStats.Builder,AwarenessAttributeStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AwarenessAttributeStats> Json deserializer forAwarenessAttributeStats -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerAPI name:active_shardsbuilder()final IntegerAPI name:data_nodesbooleaninthashCode()final IntegerAPI name:initializing_shardsstatic AwarenessAttributeStatsfinal IntegerAPI name:relocating_shardsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final IntegerAPI name:unassigned_shardsfinal Integerweight()API name:weightMethods 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 forAwarenessAttributeStats
-
-
Method Details
-
of
public static AwarenessAttributeStats of(Function<AwarenessAttributeStats.Builder, ObjectBuilder<AwarenessAttributeStats>> fn) -
activeShards
API name:active_shards -
dataNodes
API name:data_nodes -
initializingShards
API name:initializing_shards -
relocatingShards
API name:relocating_shards -
unassignedShards
API name:unassigned_shards -
weight
API name:weight -
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<AwarenessAttributeStats.Builder,AwarenessAttributeStats> - Returns:
- a new builder instance.
-
builder
-
setupAwarenessAttributeStatsDeserializer
protected static void setupAwarenessAttributeStatsDeserializer(ObjectDeserializer<AwarenessAttributeStats.Builder> op) -
hashCode
public int hashCode() -
equals
-