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.Buildercount(int value) Required - The number of read operations performed in the test.final ReadSummaryInfo.BuilderRequired - The maximum time spent waiting for the first byte of any read request to be received.final ReadSummaryInfo.BuilderRequired - The maximum time spent waiting for the first byte of any read request to be received.final ReadSummaryInfo.BuildermaxWaitNanos(long value) Required - The maximum time spent waiting for the first byte of any read request to be received, in nanoseconds.protected ReadSummaryInfo.Builderself()final ReadSummaryInfo.BuildertotalElapsed(Time value) Required - The total elapsed time spent on reading blobs in the test.final ReadSummaryInfo.BuilderRequired - The total elapsed time spent on reading blobs in the test.final ReadSummaryInfo.BuildertotalElapsedNanos(long value) Required - The total elapsed time spent on reading blobs in the test, in nanoseconds.final ReadSummaryInfo.BuilderRequired - The total size of all the blobs or partial blobs read in the test.final ReadSummaryInfo.BuildertotalSizeBytes(long value) Required - The total size of all the blobs or partial blobs read in the test, in bytes.final ReadSummaryInfo.BuildertotalThrottled(Time value) Required - The total time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles.final ReadSummaryInfo.BuilderRequired - The total time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles.final ReadSummaryInfo.BuildertotalThrottledNanos(long value) Required - The total time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles, in nanoseconds.final ReadSummaryInfo.BuilderRequired - The total time spent waiting for the first byte of each read request to be received.final ReadSummaryInfo.BuilderRequired - The total time spent waiting for the first byte of each read request to be received.final ReadSummaryInfo.BuildertotalWaitNanos(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
withJsonMethods 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_secorindices.recovery.max_bytes_per_secthrottles.API name:
total_throttled -
totalThrottled
Required - The total time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles.API name:
total_throttled -
totalThrottledNanos
Required - The total time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles, 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:
selfin classWithJsonObjectBuilderBase<ReadSummaryInfo.Builder>
-
build
Builds aReadSummaryInfo.- Specified by:
buildin interfaceObjectBuilder<ReadSummaryInfo>- Throws:
NullPointerException- if some of the required fields are null.
-