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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexAndDataStreamActionbuild()Builds aIndexAndDataStreamAction.IndexAndDataStreamAction.BuilderdataStream(java.lang.String value)Required - API name:data_streamIndexAndDataStreamAction.Builderindex(java.lang.String value)Required - 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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException- if some of the required fields are null.
-