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