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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GarbageCollectorTotalbuild()Builds aGarbageCollectorTotal.GarbageCollectorTotal.BuildercollectionCount(java.lang.Long value)API name:collection_countGarbageCollectorTotal.BuildercollectionTime(java.lang.String value)API name:collection_timeGarbageCollectorTotal.BuildercollectionTimeInMillis(java.lang.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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException- if some of the required fields are null.
-