Class ShardClusterManagerThrottlingStatsDetail
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.ShardClusterManagerThrottlingStatsDetail
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardClusterManagerThrottlingStatsDetail.Builder,ShardClusterManagerThrottlingStatsDetail>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardClusterManagerThrottlingStatsDetail
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardClusterManagerThrottlingStatsDetail.Builder,ShardClusterManagerThrottlingStatsDetail>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forShardClusterManagerThrottlingStatsDetail. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardClusterManagerThrottlingStatsDetail> Json deserializer forShardClusterManagerThrottlingStatsDetail -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()of(Function<ShardClusterManagerThrottlingStatsDetail.Builder, ObjectBuilder<ShardClusterManagerThrottlingStatsDetail>> 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 voidsetupShardClusterManagerThrottlingStatsDetailDeserializer(ObjectDeserializer<ShardClusterManagerThrottlingStatsDetail.Builder> op) Required - API name:throttled_tasks_per_task_typeCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final longRequired - API name:total_throttled_tasksMethods 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 forShardClusterManagerThrottlingStatsDetail
-
-
Method Details
-
of
-
throttledTasksPerTaskType
Required - API name:throttled_tasks_per_task_type -
totalThrottledTasks
public final long totalThrottledTasks()Required - API name:total_throttled_tasks -
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<ShardClusterManagerThrottlingStatsDetail.Builder,ShardClusterManagerThrottlingStatsDetail> - Returns:
- a new builder instance.
-
builder
-
setupShardClusterManagerThrottlingStatsDetailDeserializer
protected static void setupShardClusterManagerThrottlingStatsDetailDeserializer(ObjectDeserializer<ShardClusterManagerThrottlingStatsDetail.Builder> op) -
hashCode
public int hashCode() -
equals
-