Class DataStreamIndex.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.DataStreamIndex.Builder
- All Implemented Interfaces:
ObjectBuilder<DataStreamIndex>
- Enclosing class:
- DataStreamIndex
public static class DataStreamIndex.Builder extends ObjectBuilderBase implements ObjectBuilder<DataStreamIndex>
Builder for
DataStreamIndex.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DataStreamIndexbuild()Builds aDataStreamIndex.DataStreamIndex.BuilderindexName(java.lang.String value)Required - API name:index_nameDataStreamIndex.BuilderindexUuid(java.lang.String value)Required - API name:index_uuidMethods 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
-
indexName
Required - API name:index_name -
indexUuid
Required - API name:index_uuid -
build
Builds aDataStreamIndex.- Specified by:
buildin interfaceObjectBuilder<DataStreamIndex>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-