Class AwarenessAttributeStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.health.AwarenessAttributeStats.Builder
- All Implemented Interfaces:
CopyableBuilder<AwarenessAttributeStats.Builder,,AwarenessAttributeStats> MutableBuilder<AwarenessAttributeStats.Builder,,AwarenessAttributeStats> ObjectBuilder<AwarenessAttributeStats>
- Enclosing class:
AwarenessAttributeStats
public static class AwarenessAttributeStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AwarenessAttributeStats.Builder,AwarenessAttributeStats>
Builder for
AwarenessAttributeStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveShards(Integer value) API name:active_shardsbuild()Builds aAwarenessAttributeStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:data_nodesinitializingShards(Integer value) API name:initializing_shardsrelocatingShards(Integer value) API name:relocating_shardsunassignedShards(Integer value) API name:unassigned_shardsAPI name:weightMethods 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<AwarenessAttributeStats.Builder,AwarenessAttributeStats> - Returns:
- a new builder instance.
-
activeShards
API name:active_shards -
dataNodes
API name:data_nodes -
initializingShards
API name:initializing_shards -
relocatingShards
API name:relocating_shards -
unassignedShards
API name:unassigned_shards -
weight
API name:weight -
build
Builds aAwarenessAttributeStats.- Specified by:
buildin interfaceObjectBuilder<AwarenessAttributeStats>- Throws:
NullPointerException- if some of the required fields are null.
-