Class IndexingPressureMemory.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.stats.IndexingPressureMemory.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexingPressureMemory.Builder,,IndexingPressureMemory> MutableBuilder<IndexingPressureMemory.Builder,,IndexingPressureMemory> ObjectBuilder<IndexingPressureMemory>
- Enclosing class:
IndexingPressureMemory
public static class IndexingPressureMemory.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory>
Builder for
IndexingPressureMemory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexingPressureMemory.copy()Create a new builderCopyableBuilderthat is a copy of this one.current(Function<IndexingPressureMemorySummary.Builder, ObjectBuilder<IndexingPressureMemorySummary>> fn) Required - API name:currentRequired - API name:currentlimitInBytes(long value) Required - API name:limit_in_bytestotal(Function<IndexingPressureMemorySummary.Builder, ObjectBuilder<IndexingPressureMemorySummary>> fn) Required - API name:totalRequired - API name:totalMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory> - Returns:
- a new builder instance.
-
current
Required - API name:current -
current
@Nonnull public final IndexingPressureMemory.Builder current(Function<IndexingPressureMemorySummary.Builder, ObjectBuilder<IndexingPressureMemorySummary>> fn) Required - API name:current -
limitInBytes
Required - API name:limit_in_bytes -
total
Required - API name:total -
total
@Nonnull public final IndexingPressureMemory.Builder total(Function<IndexingPressureMemorySummary.Builder, ObjectBuilder<IndexingPressureMemorySummary>> fn) Required - API name:total -
build
Builds aIndexingPressureMemory.- Specified by:
buildin interfaceObjectBuilder<IndexingPressureMemory>- Throws:
NullPointerException- if some of the required fields are null.
-