Class ShardStoresResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.ShardStoresResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardStoresResponse.Builder,,ShardStoresResponse> MutableBuilder<ShardStoresResponse.Builder,,ShardStoresResponse> ObjectBuilder<ShardStoresResponse>
- Enclosing class:
ShardStoresResponse
public static class ShardStoresResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardStoresResponse.Builder,ShardStoresResponse>
Builder for
ShardStoresResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aShardStoresResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:indicesindices(String key, IndicesShardStores value) Required - API name:indicesindices(Map<String, IndicesShardStores> map) Required - API name:indicesMethods 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<ShardStoresResponse.Builder,ShardStoresResponse> - Returns:
- a new builder instance.
-
indices
Required - API name:indicesAdds all elements of
maptoindices. -
indices
Required - API name:indicesAdds an entry to
indices. -
indices
@Nonnull public final ShardStoresResponse.Builder indices(String key, Function<IndicesShardStores.Builder, ObjectBuilder<IndicesShardStores>> fn) Required - API name:indicesAdds a value to
indicesusing a builder lambda. -
build
Builds aShardStoresResponse.- Specified by:
buildin interfaceObjectBuilder<ShardStoresResponse>- Throws:
NullPointerException- if some of the required fields are null.
-