Class ShardIndexingPressurePerShardStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.ShardIndexingPressurePerShardStats.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardIndexingPressurePerShardStats.Builder,,ShardIndexingPressurePerShardStats> MutableBuilder<ShardIndexingPressurePerShardStats.Builder,,ShardIndexingPressurePerShardStats> ObjectBuilder<ShardIndexingPressurePerShardStats>
- Enclosing class:
ShardIndexingPressurePerShardStats
public static class ShardIndexingPressurePerShardStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardIndexingPressurePerShardStats.Builder,ShardIndexingPressurePerShardStats>
Builder for
ShardIndexingPressurePerShardStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aShardIndexingPressurePerShardStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.indexing(Function<ShardIndexingPressurePerShardIndexingStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardIndexingStats>> fn) Required - API name:indexingRequired - API name:indexinglastSuccessfulTimestamp(Function<ShardIndexingPressurePerShardLastSuccessfulTimestamp.Builder, ObjectBuilder<ShardIndexingPressurePerShardLastSuccessfulTimestamp>> fn) Required - API name:last_successful_timestampRequired - API name:last_successful_timestampmemory(Function<ShardIndexingPressurePerShardMemoryStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryStats>> fn) Required - API name:memoryRequired - API name:memorymemoryAllocation(Function<ShardIndexingPressurePerShardMemoryAllocationStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationStats>> fn) Required - API name:memory_allocationRequired - API name:memory_allocationrejection(Function<ShardIndexingPressurePerShardRejectionStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardRejectionStats>> fn) Required - API name:rejectionRequired - API name:rejectionMethods 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<ShardIndexingPressurePerShardStats.Builder,ShardIndexingPressurePerShardStats> - Returns:
- a new builder instance.
-
indexing
@Nonnull public final ShardIndexingPressurePerShardStats.Builder indexing(ShardIndexingPressurePerShardIndexingStats value) Required - API name:indexing -
indexing
@Nonnull public final ShardIndexingPressurePerShardStats.Builder indexing(Function<ShardIndexingPressurePerShardIndexingStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardIndexingStats>> fn) Required - API name:indexing -
lastSuccessfulTimestamp
@Nonnull public final ShardIndexingPressurePerShardStats.Builder lastSuccessfulTimestamp(ShardIndexingPressurePerShardLastSuccessfulTimestamp value) Required - API name:last_successful_timestamp -
lastSuccessfulTimestamp
@Nonnull public final ShardIndexingPressurePerShardStats.Builder lastSuccessfulTimestamp(Function<ShardIndexingPressurePerShardLastSuccessfulTimestamp.Builder, ObjectBuilder<ShardIndexingPressurePerShardLastSuccessfulTimestamp>> fn) Required - API name:last_successful_timestamp -
memory
@Nonnull public final ShardIndexingPressurePerShardStats.Builder memory(ShardIndexingPressurePerShardMemoryStats value) Required - API name:memory -
memory
@Nonnull public final ShardIndexingPressurePerShardStats.Builder memory(Function<ShardIndexingPressurePerShardMemoryStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryStats>> fn) Required - API name:memory -
memoryAllocation
@Nonnull public final ShardIndexingPressurePerShardStats.Builder memoryAllocation(ShardIndexingPressurePerShardMemoryAllocationStats value) Required - API name:memory_allocation -
memoryAllocation
@Nonnull public final ShardIndexingPressurePerShardStats.Builder memoryAllocation(Function<ShardIndexingPressurePerShardMemoryAllocationStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardMemoryAllocationStats>> fn) Required - API name:memory_allocation -
rejection
@Nonnull public final ShardIndexingPressurePerShardStats.Builder rejection(ShardIndexingPressurePerShardRejectionStats value) Required - API name:rejection -
rejection
@Nonnull public final ShardIndexingPressurePerShardStats.Builder rejection(Function<ShardIndexingPressurePerShardRejectionStats.Builder, ObjectBuilder<ShardIndexingPressurePerShardRejectionStats>> fn) Required - API name:rejection -
build
Builds aShardIndexingPressurePerShardStats.- Specified by:
buildin interfaceObjectBuilder<ShardIndexingPressurePerShardStats>- Throws:
NullPointerException- if some of the required fields are null.
-