Class GarbageCollectorTotal.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.nodes.GarbageCollectorTotal.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GarbageCollectorTotal>
- Enclosing class:
- GarbageCollectorTotal
public static class GarbageCollectorTotal.Builder extends ObjectBuilderBase implements ObjectBuilder<GarbageCollectorTotal>
Builder forGarbageCollectorTotal.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GarbageCollectorTotalbuild()Builds aGarbageCollectorTotal.GarbageCollectorTotal.BuildercollectionCount(long value)Required - API name:collection_countGarbageCollectorTotal.BuildercollectionTimeInMillis(long value)Required - API name:collection_time_in_millis-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
collectionCount
public final GarbageCollectorTotal.Builder collectionCount(long value)
Required - API name:collection_count
-
collectionTimeInMillis
public final GarbageCollectorTotal.Builder collectionTimeInMillis(long value)
Required - API name:collection_time_in_millis
-
build
public GarbageCollectorTotal build()
Builds aGarbageCollectorTotal.- Specified by:
buildin interfaceObjectBuilder<GarbageCollectorTotal>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-