Class DataStreamIndex.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataStreamIndex.Builder>
co.elastic.clients.elasticsearch.indices.DataStreamIndex.Builder
- All Implemented Interfaces:
WithJson<DataStreamIndex.Builder>,ObjectBuilder<DataStreamIndex>
- Enclosing class:
- DataStreamIndex
public static class DataStreamIndex.Builder extends WithJsonObjectBuilderBase<DataStreamIndex.Builder> 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_uuidprotected DataStreamIndex.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
-
indexName
Required - API name:index_name -
indexUuid
Required - API name:index_uuid -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataStreamIndex.Builder>
-
build
Builds aDataStreamIndex.- Specified by:
buildin interfaceObjectBuilder<DataStreamIndex>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-