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) Total number of JVM garbage collectors that collect objects.collectionTime(String value) Total time spent by JVM collecting objects.collectionTimeInMillis(Long value) Total time, in milliseconds, spent by JVM collecting objects.protected 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
Total number of JVM garbage collectors that collect objects.API name:
collection_count -
collectionTime
Total time spent by JVM collecting objects.API name:
collection_time -
collectionTimeInMillis
Total time, in milliseconds, spent by JVM collecting objects.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.
-