Class ShardTaskCancellationStatsDetail
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.ShardTaskCancellationStatsDetail
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardTaskCancellationStatsDetail.Builder,ShardTaskCancellationStatsDetail>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardTaskCancellationStatsDetail
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardTaskCancellationStatsDetail.Builder,ShardTaskCancellationStatsDetail>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardTaskCancellationStatsDetail> Json deserializer forShardTaskCancellationStatsDetail -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final LongAPI name:current_count_post_cancelbooleaninthashCode()of(Function<ShardTaskCancellationStatsDetail.Builder, ObjectBuilder<ShardTaskCancellationStatsDetail>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupShardTaskCancellationStatsDetailDeserializer(ObjectDeserializer<ShardTaskCancellationStatsDetail.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final LongAPI name:total_count_post_cancelMethods 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 forShardTaskCancellationStatsDetail
-
-
Method Details
-
of
-
currentCountPostCancel
API name:current_count_post_cancel -
totalCountPostCancel
API name:total_count_post_cancel -
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<ShardTaskCancellationStatsDetail.Builder,ShardTaskCancellationStatsDetail> - Returns:
- a new builder instance.
-
builder
-
setupShardTaskCancellationStatsDetailDeserializer
protected static void setupShardTaskCancellationStatsDetailDeserializer(ObjectDeserializer<ShardTaskCancellationStatsDetail.Builder> op) -
hashCode
public int hashCode() -
equals
-