Class ShardStoresResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.ShardStoresResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<ShardStoresResponse>
- Enclosing class:
- ShardStoresResponse
public static class ShardStoresResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardStoresResponse>
Builder for
ShardStoresResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ShardStoresResponsebuild()Builds aShardStoresResponse.ShardStoresResponse.Builderindices(java.lang.String key, IndicesShardStores value)Required - API name:indicesShardStoresResponse.Builderindices(java.lang.String key, java.util.function.Function<IndicesShardStores.Builder,ObjectBuilder<IndicesShardStores>> fn)Required - API name:indicesShardStoresResponse.Builderindices(java.util.Map<java.lang.String,IndicesShardStores> map)Required - API name:indicesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indices
public final ShardStoresResponse.Builder indices(java.util.Map<java.lang.String,IndicesShardStores> map)Required - API name:indicesAdds all entries of
maptoindices. -
indices
Required - API name:indicesAdds an entry to
indices. -
indices
public final ShardStoresResponse.Builder indices(java.lang.String key, java.util.function.Function<IndicesShardStores.Builder,ObjectBuilder<IndicesShardStores>> fn)Required - API name:indicesAdds an entry to
indicesusing a builder lambda. -
build
Builds aShardStoresResponse.- Specified by:
buildin interfaceObjectBuilder<ShardStoresResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-