Class ShardStoreIndex.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search_shards.ShardStoreIndex.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardStoreIndex.Builder,,ShardStoreIndex> MutableBuilder<ShardStoreIndex.Builder,,ShardStoreIndex> ObjectBuilder<ShardStoreIndex>
- Enclosing class:
ShardStoreIndex
public static class ShardStoreIndex.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardStoreIndex.Builder,ShardStoreIndex>
Builder for
ShardStoreIndex.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ShardStoreIndex.BuilderAPI name:aliasesfinal ShardStoreIndex.BuilderAPI name:aliasesbuild()Builds aShardStoreIndex.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ShardStoreIndex.BuilderAPI name:filterfinal ShardStoreIndex.BuilderAPI name:filterMethods 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<ShardStoreIndex.Builder,ShardStoreIndex> - Returns:
- a new builder instance.
-
aliases
API name:aliasesAdds all elements of
listtoaliases. -
aliases
API name:aliasesAdds one or more values to
aliases. -
filter
API name:filter -
filter
@Nonnull public final ShardStoreIndex.Builder filter(Function<Query.Builder, ObjectBuilder<Query>> fn) API name:filter -
build
Builds aShardStoreIndex.- Specified by:
buildin interfaceObjectBuilder<ShardStoreIndex>- Throws:
NullPointerException- if some of the required fields are null.
-