Class SplitRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SplitRequest.Builder>
co.elastic.clients.elasticsearch.indices.SplitRequest.Builder
- All Implemented Interfaces:
- WithJson<SplitRequest.Builder>,- ObjectBuilder<SplitRequest>
- Enclosing class:
- SplitRequest
public static class SplitRequest.Builder
extends RequestBase.AbstractBuilder<SplitRequest.Builder>
implements ObjectBuilder<SplitRequest>
Builder for 
SplitRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal SplitRequest.BuilderAliases for the resulting index.final SplitRequest.Builderaliases(String key, Function<Alias.Builder, ObjectBuilder<Alias>> fn) Aliases for the resulting index.final SplitRequest.BuilderAliases for the resulting index.build()Builds aSplitRequest.final SplitRequest.BuilderRequired - Name of the source index to split.final SplitRequest.BuildermasterTimeout(Time value) Period to wait for a connection to the master node.final SplitRequest.BuilderPeriod to wait for a connection to the master node.protected SplitRequest.Builderself()final SplitRequest.BuilderConfiguration options for the target index.final SplitRequest.BuilderConfiguration options for the target index.final SplitRequest.BuilderRequired - Name of the target index to create.final SplitRequest.BuilderPeriod to wait for a response.final SplitRequest.BuilderPeriod to wait for a response.final SplitRequest.BuilderThe number of shard copies that must be active before proceeding with the operation.final SplitRequest.BuilderThe number of shard copies that must be active before proceeding with the operation.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
aliasesAliases for the resulting index.API name: aliasesAdds all entries of maptoaliases.
- 
aliasesAliases for the resulting index.API name: aliasesAdds an entry to aliases.
- 
aliasespublic final SplitRequest.Builder aliases(String key, Function<Alias.Builder, ObjectBuilder<Alias>> fn) Aliases for the resulting index.API name: aliasesAdds an entry to aliasesusing a builder lambda.
- 
indexRequired - Name of the source index to split.API name: index
- 
masterTimeoutPeriod to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name: master_timeout
- 
masterTimeoutPeriod to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name: master_timeout
- 
settingsConfiguration options for the target index.API name: settingsAdds all entries of maptosettings.
- 
settingsConfiguration options for the target index.API name: settingsAdds an entry to settings.
- 
targetRequired - Name of the target index to create.API name: target
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
waitForActiveShardsThe number of shard copies that must be active before proceeding with the operation. Set toallor any positive integer up to the total number of shards in the index (number_of_replicas+1).API name: wait_for_active_shards
- 
waitForActiveShardspublic final SplitRequest.Builder waitForActiveShards(Function<WaitForActiveShards.Builder, ObjectBuilder<WaitForActiveShards>> fn) The number of shard copies that must be active before proceeding with the operation. Set toallor any positive integer up to the total number of shards in the index (number_of_replicas+1).API name: wait_for_active_shards
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<SplitRequest.Builder>
 
- 
buildBuilds aSplitRequest.- Specified by:
- buildin interface- ObjectBuilder<SplitRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-