Class SummaryInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SummaryInfo.Builder>
co.elastic.clients.elasticsearch.snapshot.repository_analyze.SummaryInfo.Builder
- All Implemented Interfaces:
WithJson<SummaryInfo.Builder>,ObjectBuilder<SummaryInfo>
- Enclosing class:
- SummaryInfo
public static class SummaryInfo.Builder
extends WithJsonObjectBuilderBase<SummaryInfo.Builder>
implements ObjectBuilder<SummaryInfo>
Builder for
SummaryInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSummaryInfo.final SummaryInfo.Builderread(ReadSummaryInfo value) Required - A collection of statistics that summarise the results of the read operations in the test.final SummaryInfo.BuilderRequired - A collection of statistics that summarise the results of the read operations in the test.protected SummaryInfo.Builderself()final SummaryInfo.Builderwrite(WriteSummaryInfo value) Required - A collection of statistics that summarise the results of the write operations in the test.final SummaryInfo.BuilderRequired - A collection of statistics that summarise the results of the write operations in the test.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
-
read
Required - A collection of statistics that summarise the results of the read operations in the test.API name:
read -
read
public final SummaryInfo.Builder read(Function<ReadSummaryInfo.Builder, ObjectBuilder<ReadSummaryInfo>> fn) Required - A collection of statistics that summarise the results of the read operations in the test.API name:
read -
write
Required - A collection of statistics that summarise the results of the write operations in the test.API name:
write -
write
public final SummaryInfo.Builder write(Function<WriteSummaryInfo.Builder, ObjectBuilder<WriteSummaryInfo>> fn) Required - A collection of statistics that summarise the results of the write operations in the test.API name:
write -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SummaryInfo.Builder>
-
build
Builds aSummaryInfo.- Specified by:
buildin interfaceObjectBuilder<SummaryInfo>- Throws:
NullPointerException- if some of the required fields are null.
-