Class DataStreamTimestamp.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataStreamTimestamp.Builder>
co.elastic.clients.elasticsearch._types.mapping.DataStreamTimestamp.Builder
- All Implemented Interfaces:
WithJson<DataStreamTimestamp.Builder>
,ObjectBuilder<DataStreamTimestamp>
- Enclosing class:
- DataStreamTimestamp
public static class DataStreamTimestamp.Builder extends WithJsonObjectBuilderBase<DataStreamTimestamp.Builder> implements ObjectBuilder<DataStreamTimestamp>
Builder for
DataStreamTimestamp
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataStreamTimestamp
build()
Builds aDataStreamTimestamp
.DataStreamTimestamp.Builder
enabled(boolean value)
Required - API name:enabled
protected DataStreamTimestamp.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
-
enabled
Required - API name:enabled
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DataStreamTimestamp.Builder>
-
build
Builds aDataStreamTimestamp
.- Specified by:
build
in interfaceObjectBuilder<DataStreamTimestamp>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-