Class AllocateAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AllocateAction.Builder>
co.elastic.clients.elasticsearch.ilm.AllocateAction.Builder
- All Implemented Interfaces:
WithJson<AllocateAction.Builder>,ObjectBuilder<AllocateAction>
- Enclosing class:
- AllocateAction
public static class AllocateAction.Builder
extends WithJsonObjectBuilderBase<AllocateAction.Builder>
implements ObjectBuilder<AllocateAction>
Builder for
AllocateAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAllocateAction.final AllocateAction.BuilderAPI name:excludefinal AllocateAction.BuilderAPI name:excludefinal AllocateAction.BuilderAPI name:includefinal AllocateAction.BuilderAPI name:includefinal AllocateAction.BuildernumberOfReplicas(Integer value) API name:number_of_replicasfinal AllocateAction.BuilderAPI name:requirefinal AllocateAction.BuilderAPI name:requireprotected AllocateAction.Builderself()final AllocateAction.BuildertotalShardsPerNode(Integer value) API name:total_shards_per_nodeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numberOfReplicas
API name:number_of_replicas -
totalShardsPerNode
API name:total_shards_per_node -
include
API name:includeAdds all entries of
maptoinclude. -
include
API name:includeAdds an entry to
include. -
exclude
API name:excludeAdds all entries of
maptoexclude. -
exclude
API name:excludeAdds an entry to
exclude. -
require
API name:requireAdds all entries of
maptorequire. -
require
API name:requireAdds an entry to
require. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AllocateAction.Builder>
-
build
Builds aAllocateAction.- Specified by:
buildin interfaceObjectBuilder<AllocateAction>- Throws:
NullPointerException- if some of the required fields are null.
-