Class ShardStoreIndex.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShardStoreIndex.Builder>
co.elastic.clients.elasticsearch.core.search_shards.ShardStoreIndex.Builder
- All Implemented Interfaces:
WithJson<ShardStoreIndex.Builder>
,ObjectBuilder<ShardStoreIndex>
- Enclosing class:
- ShardStoreIndex
public static class ShardStoreIndex.Builder
extends WithJsonObjectBuilderBase<ShardStoreIndex.Builder>
implements ObjectBuilder<ShardStoreIndex>
Builder for
ShardStoreIndex
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ShardStoreIndex.Builder
API name:aliases
final ShardStoreIndex.Builder
API name:aliases
build()
Builds aShardStoreIndex
.final ShardStoreIndex.Builder
API name:filter
final ShardStoreIndex.Builder
API name:filter
protected ShardStoreIndex.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliases
API name:aliases
Adds all elements of
list
toaliases
. -
aliases
API name:aliases
Adds one or more values to
aliases
. -
filter
API name:filter
-
filter
API name:filter
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ShardStoreIndex.Builder>
-
build
Builds aShardStoreIndex
.- Specified by:
build
in interfaceObjectBuilder<ShardStoreIndex>
- Throws:
NullPointerException
- if some of the required fields are null.
-