Class DataStreamTimestamp.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.DataStreamTimestamp.Builder
- All Implemented Interfaces:
CopyableBuilder<DataStreamTimestamp.Builder,,DataStreamTimestamp> MutableBuilder<DataStreamTimestamp.Builder,,DataStreamTimestamp> ObjectBuilder<DataStreamTimestamp>
- Enclosing class:
DataStreamTimestamp
public static class DataStreamTimestamp.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DataStreamTimestamp.Builder,DataStreamTimestamp>
Builder for
DataStreamTimestamp.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDataStreamTimestamp.copy()Create a new builderCopyableBuilderthat is a copy of this one.enabled(boolean value) Required - API name:enabledMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<DataStreamTimestamp.Builder,DataStreamTimestamp> - Returns:
- a new builder instance.
-
enabled
Required - API name:enabled -
build
Builds aDataStreamTimestamp.- Specified by:
buildin interfaceObjectBuilder<DataStreamTimestamp>- Throws:
NullPointerException- if some of the required fields are null.
-