Class IndexAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexAction.Builder>
co.elastic.clients.elasticsearch.watcher.IndexAction.Builder
- All Implemented Interfaces:
WithJson<IndexAction.Builder>
,ObjectBuilder<IndexAction>
- Enclosing class:
- IndexAction
public static class IndexAction.Builder
extends WithJsonObjectBuilderBase<IndexAction.Builder>
implements ObjectBuilder<IndexAction>
Builder for
IndexAction
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIndexAction
.final IndexAction.Builder
API name:doc_id
final IndexAction.Builder
executionTimeField
(String value) API name:execution_time_field
final IndexAction.Builder
Required - API name:index
final IndexAction.Builder
API name:op_type
final IndexAction.Builder
API name:refresh
protected IndexAction.Builder
self()
final IndexAction.Builder
API name:timeout
final IndexAction.Builder
API name:timeout
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
-
index
Required - API name:index
-
docId
API name:doc_id
-
refresh
API name:refresh
-
opType
API name:op_type
-
timeout
API name:timeout
-
timeout
API name:timeout
-
executionTimeField
API name:execution_time_field
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexAction.Builder>
-
build
Builds aIndexAction
.- Specified by:
build
in interfaceObjectBuilder<IndexAction>
- Throws:
NullPointerException
- if some of the required fields are null.
-