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.Buildercount(int value) Required - The number of write operations performed in the test.protected WriteSummaryInfo.Builderself()final WriteSummaryInfo.BuildertotalElapsed(Time value) Required - The total elapsed time spent on writing blobs in the test.final WriteSummaryInfo.BuilderRequired - The total elapsed time spent on writing blobs in the test.final WriteSummaryInfo.BuildertotalElapsedNanos(long value) Required - The total elapsed time spent on writing blobs in the test, in nanoseconds.final WriteSummaryInfo.BuilderRequired - The total size of all the blobs written in the test.final WriteSummaryInfo.BuildertotalSizeBytes(long value) Required - The total size of all the blobs written in the test, in bytes.final WriteSummaryInfo.BuildertotalThrottled(Time value) Required - The total time spent waiting due to themax_snapshot_bytes_per_secthrottle.final WriteSummaryInfo.BuilderRequired - The total time spent waiting due to themax_snapshot_bytes_per_secthrottle.final WriteSummaryInfo.BuildertotalThrottledNanos(long value) Required - The total time spent waiting due to themax_snapshot_bytes_per_secthrottle, 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 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_secthrottle.API name:
total_throttled -
totalThrottled
Required - The total time spent waiting due to themax_snapshot_bytes_per_secthrottle.API name:
total_throttled -
totalThrottledNanos
Required - The total time spent waiting due to themax_snapshot_bytes_per_secthrottle, in nanoseconds.API name:
total_throttled_nanos -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<WriteSummaryInfo.Builder>
-
build
Builds aWriteSummaryInfo.- Specified by:
buildin interfaceObjectBuilder<WriteSummaryInfo>- Throws:
NullPointerException- if some of the required fields are null.
-