Class ShardIndexingPressurePerShardMemoryAllocationStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.ShardIndexingPressurePerShardMemoryAllocationStats.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardIndexingPressurePerShardMemoryAllocationStats.Builder,,ShardIndexingPressurePerShardMemoryAllocationStats> MutableBuilder<ShardIndexingPressurePerShardMemoryAllocationStats.Builder,,ShardIndexingPressurePerShardMemoryAllocationStats> ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationStats>
- Enclosing class:
ShardIndexingPressurePerShardMemoryAllocationStats
public static class ShardIndexingPressurePerShardMemoryAllocationStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardIndexingPressurePerShardMemoryAllocationStats.Builder,ShardIndexingPressurePerShardMemoryAllocationStats>
Builder for
ShardIndexingPressurePerShardMemoryAllocationStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()copy()Create a new builderCopyableBuilderthat is a copy of this one.current(Function<ShardIndexingPressurePerShardMemoryAllocationCurrentStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationCurrentStats>> fn) Required - API name:currentRequired - API name:currentlimit(Function<ShardIndexingPressurePerShardMemoryAllocationLimitStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationLimitStats>> fn) Required - API name:limitRequired - API name:limitMethods 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<ShardIndexingPressurePerShardMemoryAllocationStats.Builder,ShardIndexingPressurePerShardMemoryAllocationStats> - Returns:
- a new builder instance.
-
current
@Nonnull public final ShardIndexingPressurePerShardMemoryAllocationStats.Builder current(ShardIndexingPressurePerShardMemoryAllocationCurrentStats value) Required - API name:current -
current
@Nonnull public final ShardIndexingPressurePerShardMemoryAllocationStats.Builder current(Function<ShardIndexingPressurePerShardMemoryAllocationCurrentStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationCurrentStats>> fn) Required - API name:current -
limit
@Nonnull public final ShardIndexingPressurePerShardMemoryAllocationStats.Builder limit(ShardIndexingPressurePerShardMemoryAllocationLimitStats value) Required - API name:limit -
limit
@Nonnull public final ShardIndexingPressurePerShardMemoryAllocationStats.Builder limit(Function<ShardIndexingPressurePerShardMemoryAllocationLimitStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationLimitStats>> fn) Required - API name:limit -
build
- Specified by:
buildin interfaceObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationStats>- Throws:
NullPointerException- if some of the required fields are null.
-