Class GarbageCollectorTotal.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.GarbageCollectorTotal.Builder
- All Implemented Interfaces:
ObjectBuilder<GarbageCollectorTotal>
- Enclosing class:
- GarbageCollectorTotal
public static class GarbageCollectorTotal.Builder extends ObjectBuilderBase implements ObjectBuilder<GarbageCollectorTotal>
Builder for
GarbageCollectorTotal
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GarbageCollectorTotal
build()
Builds aGarbageCollectorTotal
.GarbageCollectorTotal.Builder
collectionCount(java.lang.Long value)
API name:collection_count
GarbageCollectorTotal.Builder
collectionTime(java.lang.String value)
API name:collection_time
GarbageCollectorTotal.Builder
collectionTimeInMillis(java.lang.Long value)
API name:collection_time_in_millis
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
build
Builds aGarbageCollectorTotal
.- Specified by:
build
in interfaceObjectBuilder<GarbageCollectorTotal>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-