Class ClusterIndicesShardsIndex.Builder
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterIndicesShardsIndex.Builder
- All Implemented Interfaces:
ObjectBuilder<ClusterIndicesShardsIndex>
- Enclosing class:
- ClusterIndicesShardsIndex
public static class ClusterIndicesShardsIndex.Builder extends java.lang.Object implements ObjectBuilder<ClusterIndicesShardsIndex>
Builder for
ClusterIndicesShardsIndex.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClusterIndicesShardsIndexbuild()Builds aClusterIndicesShardsIndex.ClusterIndicesShardsIndex.Builderprimaries(java.util.function.Function<ClusterShardMetrics.Builder,ObjectBuilder<ClusterShardMetrics>> fn)Contains statistics about the number of primary shards assigned to selected nodes.ClusterIndicesShardsIndex.Builderprimaries(ClusterShardMetrics value)Contains statistics about the number of primary shards assigned to selected nodes.ClusterIndicesShardsIndex.Builderreplication(java.util.function.Function<ClusterShardMetrics.Builder,ObjectBuilder<ClusterShardMetrics>> fn)Contains statistics about the number of replication shards assigned to selected nodes.ClusterIndicesShardsIndex.Builderreplication(ClusterShardMetrics value)Contains statistics about the number of replication shards assigned to selected nodes.ClusterIndicesShardsIndex.Buildershards(java.util.function.Function<ClusterShardMetrics.Builder,ObjectBuilder<ClusterShardMetrics>> fn)Contains statistics about the number of shards assigned to selected nodes.ClusterIndicesShardsIndex.Buildershards(ClusterShardMetrics value)Contains statistics about the number of shards assigned to selected nodes.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
primaries
Contains statistics about the number of primary shards assigned to selected nodes. API name:primaries -
primaries
public ClusterIndicesShardsIndex.Builder primaries(java.util.function.Function<ClusterShardMetrics.Builder,ObjectBuilder<ClusterShardMetrics>> fn)Contains statistics about the number of primary shards assigned to selected nodes. API name:primaries -
replication
Contains statistics about the number of replication shards assigned to selected nodes. API name:replication -
replication
public ClusterIndicesShardsIndex.Builder replication(java.util.function.Function<ClusterShardMetrics.Builder,ObjectBuilder<ClusterShardMetrics>> fn)Contains statistics about the number of replication shards assigned to selected nodes. API name:replication -
shards
Contains statistics about the number of shards assigned to selected nodes. API name:shards -
shards
public ClusterIndicesShardsIndex.Builder shards(java.util.function.Function<ClusterShardMetrics.Builder,ObjectBuilder<ClusterShardMetrics>> fn)Contains statistics about the number of shards assigned to selected nodes. API name:shards -
build
Builds aClusterIndicesShardsIndex.- Specified by:
buildin interfaceObjectBuilder<ClusterIndicesShardsIndex>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-