Class ReservedSize
java.lang.Object
org.opensearch.client.opensearch.cluster.allocation_explain.ReservedSize
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ReservedSize.Builder,ReservedSize>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ReservedSize
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ReservedSize.Builder,ReservedSize>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReservedSize> Json deserializer forReservedSize -
Method Summary
Modifier and TypeMethodDescriptionstatic ReservedSize.Builderbuilder()booleaninthashCode()final StringnodeId()Required - API name:node_idstatic ReservedSizefinal Stringpath()Required - API name:pathvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidshards()Required - API name:shardsCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final longtotal()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 forReservedSize
-
-
Method Details
-
of
-
nodeId
Required - API name:node_id -
path
Required - API name:path -
shards
Required - API name:shards -
total
public final long 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<ReservedSize.Builder,ReservedSize> - Returns:
- a new builder instance.
-
builder
-
setupReservedSizeDeserializer
-
hashCode
public int hashCode() -
equals
-