Class ReadSummaryInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ReadSummaryInfo.Builder>
co.elastic.clients.elasticsearch.snapshot.repository_analyze.ReadSummaryInfo.Builder
- All Implemented Interfaces:
WithJson<ReadSummaryInfo.Builder>
,ObjectBuilder<ReadSummaryInfo>
- Enclosing class:
- ReadSummaryInfo
public static class ReadSummaryInfo.Builder
extends WithJsonObjectBuilderBase<ReadSummaryInfo.Builder>
implements ObjectBuilder<ReadSummaryInfo>
Builder for
ReadSummaryInfo
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aReadSummaryInfo
.final ReadSummaryInfo.Builder
count
(int value) Required - The number of read operations performed in the test.final ReadSummaryInfo.Builder
Required - The maximum time spent waiting for the first byte of any read request to be received.final ReadSummaryInfo.Builder
Required - The maximum time spent waiting for the first byte of any read request to be received.final ReadSummaryInfo.Builder
maxWaitNanos
(long value) Required - The maximum time spent waiting for the first byte of any read request to be received, in nanoseconds.protected ReadSummaryInfo.Builder
self()
final ReadSummaryInfo.Builder
totalElapsed
(Time value) Required - The total elapsed time spent on reading blobs in the test.final ReadSummaryInfo.Builder
Required - The total elapsed time spent on reading blobs in the test.final ReadSummaryInfo.Builder
totalElapsedNanos
(long value) Required - The total elapsed time spent on reading blobs in the test, in nanoseconds.final ReadSummaryInfo.Builder
Required - The total size of all the blobs or partial blobs read in the test.final ReadSummaryInfo.Builder
totalSizeBytes
(long value) Required - The total size of all the blobs or partial blobs read in the test, in bytes.final ReadSummaryInfo.Builder
totalThrottled
(Time value) Required - The total time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles.final ReadSummaryInfo.Builder
Required - The total time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles.final ReadSummaryInfo.Builder
totalThrottledNanos
(long value) Required - The total time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles, in nanoseconds.final ReadSummaryInfo.Builder
Required - The total time spent waiting for the first byte of each read request to be received.final ReadSummaryInfo.Builder
Required - The total time spent waiting for the first byte of each read request to be received.final ReadSummaryInfo.Builder
totalWaitNanos
(long value) Required - The total time spent waiting for the first byte of each read request to be received, in nanoseconds.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Required - The number of read operations performed in the test.API name:
count
-
maxWait
Required - The maximum time spent waiting for the first byte of any read request to be received.API name:
max_wait
-
maxWait
Required - The maximum time spent waiting for the first byte of any read request to be received.API name:
max_wait
-
maxWaitNanos
Required - The maximum time spent waiting for the first byte of any read request to be received, in nanoseconds.API name:
max_wait_nanos
-
totalElapsed
Required - The total elapsed time spent on reading blobs in the test.API name:
total_elapsed
-
totalElapsed
Required - The total elapsed time spent on reading blobs in the test.API name:
total_elapsed
-
totalElapsedNanos
Required - The total elapsed time spent on reading blobs in the test, in nanoseconds.API name:
total_elapsed_nanos
-
totalSize
Required - The total size of all the blobs or partial blobs read in the test.API name:
total_size
-
totalSizeBytes
Required - The total size of all the blobs or partial blobs read in the test, in bytes.API name:
total_size_bytes
-
totalThrottled
Required - The total time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles.API name:
total_throttled
-
totalThrottled
Required - The total time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles.API name:
total_throttled
-
totalThrottledNanos
Required - The total time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles, in nanoseconds.API name:
total_throttled_nanos
-
totalWait
Required - The total time spent waiting for the first byte of each read request to be received.API name:
total_wait
-
totalWait
Required - The total time spent waiting for the first byte of each read request to be received.API name:
total_wait
-
totalWaitNanos
Required - The total time spent waiting for the first byte of each read request to be received, in nanoseconds.API name:
total_wait_nanos
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ReadSummaryInfo.Builder>
-
build
Builds aReadSummaryInfo
.- Specified by:
build
in interfaceObjectBuilder<ReadSummaryInfo>
- Throws:
NullPointerException
- if some of the required fields are null.
-