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 - Data stream targeted by the action.Required - Index for the action.protected 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
-
dataStream
Required - Data stream targeted by the action.API name:
data_stream -
index
Required - Index for the action.API name:
index -
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.
-