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 DataStreamIndex
build()
Builds aDataStreamIndex
.DataStreamIndex.Builder
indexName(java.lang.String value)
Required - API name:index_name
DataStreamIndex.Builder
indexUuid(java.lang.String value)
Required - API name:index_uuid
protected DataStreamIndex.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
self
in classWithJsonObjectBuilderBase<DataStreamIndex.Builder>
-
build
Builds aDataStreamIndex
.- Specified by:
build
in interfaceObjectBuilder<DataStreamIndex>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-