Class WriteSummaryInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<WriteSummaryInfo.Builder>
co.elastic.clients.elasticsearch.snapshot.repository_analyze.WriteSummaryInfo.Builder
- All Implemented Interfaces:
WithJson<WriteSummaryInfo.Builder>
,ObjectBuilder<WriteSummaryInfo>
- Enclosing class:
- WriteSummaryInfo
public static class WriteSummaryInfo.Builder
extends WithJsonObjectBuilderBase<WriteSummaryInfo.Builder>
implements ObjectBuilder<WriteSummaryInfo>
Builder for
WriteSummaryInfo
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aWriteSummaryInfo
.final WriteSummaryInfo.Builder
count
(int value) Required - The number of write operations performed in the test.protected WriteSummaryInfo.Builder
self()
final WriteSummaryInfo.Builder
totalElapsed
(Time value) Required - The total elapsed time spent on writing blobs in the test.final WriteSummaryInfo.Builder
Required - The total elapsed time spent on writing blobs in the test.final WriteSummaryInfo.Builder
totalElapsedNanos
(long value) Required - The total elapsed time spent on writing blobs in the test, in nanoseconds.final WriteSummaryInfo.Builder
Required - The total size of all the blobs written in the test.final WriteSummaryInfo.Builder
totalSizeBytes
(long value) Required - The total size of all the blobs written in the test, in bytes.final WriteSummaryInfo.Builder
totalThrottled
(Time value) Required - The total time spent waiting due to themax_snapshot_bytes_per_sec
throttle.final WriteSummaryInfo.Builder
Required - The total time spent waiting due to themax_snapshot_bytes_per_sec
throttle.final WriteSummaryInfo.Builder
totalThrottledNanos
(long value) Required - The total time spent waiting due to themax_snapshot_bytes_per_sec
throttle, 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 write operations performed in the test.API name:
count
-
totalElapsed
Required - The total elapsed time spent on writing blobs in the test.API name:
total_elapsed
-
totalElapsed
Required - The total elapsed time spent on writing blobs in the test.API name:
total_elapsed
-
totalElapsedNanos
Required - The total elapsed time spent on writing blobs in the test, in nanoseconds.API name:
total_elapsed_nanos
-
totalSize
Required - The total size of all the blobs written in the test.API name:
total_size
-
totalSizeBytes
Required - The total size of all the blobs written in the test, in bytes.API name:
total_size_bytes
-
totalThrottled
Required - The total time spent waiting due to themax_snapshot_bytes_per_sec
throttle.API name:
total_throttled
-
totalThrottled
Required - The total time spent waiting due to themax_snapshot_bytes_per_sec
throttle.API name:
total_throttled
-
totalThrottledNanos
Required - The total time spent waiting due to themax_snapshot_bytes_per_sec
throttle, in nanoseconds.API name:
total_throttled_nanos
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<WriteSummaryInfo.Builder>
-
build
Builds aWriteSummaryInfo
.- Specified by:
build
in interfaceObjectBuilder<WriteSummaryInfo>
- Throws:
NullPointerException
- if some of the required fields are null.
-