Class DataStreamsStatsResponse
java.lang.Object
org.opensearch.client.opensearch.indices.DataStreamsStatsResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<DataStreamsStatsResponse.Builder,DataStreamsStatsResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class DataStreamsStatsResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<DataStreamsStatsResponse.Builder,DataStreamsStatsResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamsStatsResponse> Json deserializer forDataStreamsStatsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - Total number of backing indexes for the selected data streams.builder()final intRequired - Total number of selected data streams.final List<DataStreamStats> Required - Contains statistics for the selected data streams.booleaninthashCode()static DataStreamsStatsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStatisticsshards()Required - API name:_shardsCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringAPI name:total_store_sizefinal longRequired - Total size, in bytes, of all shards for the selected data streams.Methods 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 forDataStreamsStatsResponse
-
-
Method Details
-
of
public static DataStreamsStatsResponse of(Function<DataStreamsStatsResponse.Builder, ObjectBuilder<DataStreamsStatsResponse>> fn) -
backingIndices
public final int backingIndices()Required - Total number of backing indexes for the selected data streams.API name:
backing_indices -
dataStreamCount
public final int dataStreamCount()Required - Total number of selected data streams.API name:
data_stream_count -
dataStreams
Required - Contains statistics for the selected data streams.API name:
data_streams -
shards
Required - API name:_shards -
totalStoreSize
API name:total_store_size -
totalStoreSizeBytes
public final long totalStoreSizeBytes()Required - Total size, in bytes, of all shards for the selected data streams.API name:
total_store_size_bytes -
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<DataStreamsStatsResponse.Builder,DataStreamsStatsResponse> - Returns:
- a new builder instance.
-
builder
-
setupDataStreamsStatsResponseDeserializer
protected static void setupDataStreamsStatsResponseDeserializer(ObjectDeserializer<DataStreamsStatsResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-