Class SegmentReplicationStats
java.lang.Object
org.opensearch.client.opensearch._types.SegmentReplicationStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SegmentReplicationStats.Builder,SegmentReplicationStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SegmentReplicationStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SegmentReplicationStats.Builder,SegmentReplicationStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SegmentReplicationStats> Json deserializer forSegmentReplicationStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final JsonDataRequired - API name:max_bytes_behindfinal JsonDataRequired - API name:max_replication_lagstatic SegmentReplicationStatsvoidserialize(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 JsonDataRequired - API name:total_bytes_behindMethods 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 forSegmentReplicationStats
-
-
Method Details
-
of
public static SegmentReplicationStats of(Function<SegmentReplicationStats.Builder, ObjectBuilder<SegmentReplicationStats>> fn) -
maxBytesBehind
Required - API name:max_bytes_behind -
maxReplicationLag
Required - API name:max_replication_lag -
totalBytesBehind
Required - API name:total_bytes_behind -
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<SegmentReplicationStats.Builder,SegmentReplicationStats> - Returns:
- a new builder instance.
-
builder
-
setupSegmentReplicationStatsDeserializer
protected static void setupSegmentReplicationStatsDeserializer(ObjectDeserializer<SegmentReplicationStats.Builder> op) -
hashCode
public int hashCode() -
equals
-