Class RepositoryStatsSnapshot
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.RepositoryStatsSnapshot
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RepositoryStatsSnapshot.Builder,RepositoryStatsSnapshot>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RepositoryStatsSnapshot
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RepositoryStatsSnapshot.Builder,RepositoryStatsSnapshot>
Statistics snapshot about a repository.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RepositoryStatsSnapshot> Json deserializer forRepositoryStatsSnapshot -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static RepositoryStatsSnapshotThe location configuration of the repository.final StringThe name of the repository.final StringThe type of the repository.The count of requests by operation type (when detailed mode is disabled).The count of failed requests by operation type (when detailed mode is enabled).The total retry count by operation type (when detailed mode is enabled).The count of successful requests by operation type (when detailed mode is enabled).The total request time in milliseconds by operation type (when detailed mode is enabled).voidserialize(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.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 forRepositoryStatsSnapshot
-
-
Method Details
-
of
public static RepositoryStatsSnapshot of(Function<RepositoryStatsSnapshot.Builder, ObjectBuilder<RepositoryStatsSnapshot>> fn) -
repositoryLocation
The location configuration of the repository.API name:
repository_location -
repositoryName
The name of the repository.API name:
repository_name -
repositoryType
The type of the repository.API name:
repository_type -
requestCounts
The count of requests by operation type (when detailed mode is disabled).API name:
request_counts -
requestFailuresTotal
The count of failed requests by operation type (when detailed mode is enabled).API name:
request_failures_total -
requestRetryCountTotal
The total retry count by operation type (when detailed mode is enabled).API name:
request_retry_count_total -
requestSuccessTotal
The count of successful requests by operation type (when detailed mode is enabled).API name:
request_success_total -
requestTimeInMillis
The total request time in milliseconds by operation type (when detailed mode is enabled).API name:
request_time_in_millis -
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<RepositoryStatsSnapshot.Builder,RepositoryStatsSnapshot> - Returns:
- a new builder instance.
-
builder
-
setupRepositoryStatsSnapshotDeserializer
protected static void setupRepositoryStatsSnapshotDeserializer(ObjectDeserializer<RepositoryStatsSnapshot.Builder> op) -
hashCode
public int hashCode() -
equals
-