Class IndexAndDataStreamAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexAndDataStreamAction.Builder>
co.elastic.clients.elasticsearch.indices.modify_data_stream.IndexAndDataStreamAction.Builder
- All Implemented Interfaces:
WithJson<IndexAndDataStreamAction.Builder>,ObjectBuilder<IndexAndDataStreamAction>
- Enclosing class:
- IndexAndDataStreamAction
public static class IndexAndDataStreamAction.Builder
extends WithJsonObjectBuilderBase<IndexAndDataStreamAction.Builder>
implements ObjectBuilder<IndexAndDataStreamAction>
Builder for
IndexAndDataStreamAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexAndDataStreamAction.dataStream(String value) Required - API name:data_streamRequired - API name:indexprotected IndexAndDataStreamAction.Builderself()Methods 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
-
index
Required - API name:index -
dataStream
Required - API name:data_stream -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexAndDataStreamAction.Builder>
-
build
Builds aIndexAndDataStreamAction.- Specified by:
buildin interfaceObjectBuilder<IndexAndDataStreamAction>- Throws:
NullPointerException- if some of the required fields are null.
-