Class GarbageCollectorTotal.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GarbageCollectorTotal.Builder>
co.elastic.clients.elasticsearch.nodes.GarbageCollectorTotal.Builder
- All Implemented Interfaces:
WithJson<GarbageCollectorTotal.Builder>,ObjectBuilder<GarbageCollectorTotal>
- Enclosing class:
- GarbageCollectorTotal
public static class GarbageCollectorTotal.Builder
extends WithJsonObjectBuilderBase<GarbageCollectorTotal.Builder>
implements ObjectBuilder<GarbageCollectorTotal>
Builder for
GarbageCollectorTotal.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGarbageCollectorTotal.collectionCount(Long value) API name:collection_countcollectionTime(String value) API name:collection_timecollectionTimeInMillis(Long value) API name:collection_time_in_millisprotected GarbageCollectorTotal.Builderself()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
-
collectionCount
API name:collection_count -
collectionTime
API name:collection_time -
collectionTimeInMillis
API name:collection_time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GarbageCollectorTotal.Builder>
-
build
Builds aGarbageCollectorTotal.- Specified by:
buildin interfaceObjectBuilder<GarbageCollectorTotal>- Throws:
NullPointerException- if some of the required fields are null.
-