Class DataStreamIndex.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.DataStreamIndex.Builder
- All Implemented Interfaces:
CopyableBuilder<DataStreamIndex.Builder,,DataStreamIndex> MutableBuilder<DataStreamIndex.Builder,,DataStreamIndex> ObjectBuilder<DataStreamIndex>
- Enclosing class:
DataStreamIndex
public static class DataStreamIndex.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DataStreamIndex.Builder,DataStreamIndex>
Builder for
DataStreamIndex.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDataStreamIndex.copy()Create a new builderCopyableBuilderthat is a copy of this one.final DataStreamIndex.BuilderAPI name:ilm_policyfinal DataStreamIndex.BuilderRequired - API name:index_namefinal DataStreamIndex.BuilderRequired - API name:index_uuidfinal DataStreamIndex.BuilderAPI name:managed_byfinal DataStreamIndex.BuilderIndicates if ILM should take precedence over DSL in case both are configured to manage this index.Methods 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<DataStreamIndex.Builder,DataStreamIndex> - Returns:
- a new builder instance.
-
ilmPolicy
API name:ilm_policy -
indexName
Required - API name:index_name -
indexUuid
Required - API name:index_uuid -
managedBy
API name:managed_by -
preferIlm
Indicates if ILM should take precedence over DSL in case both are configured to manage this index.API name:
prefer_ilm -
build
Builds aDataStreamIndex.- Specified by:
buildin interfaceObjectBuilder<DataStreamIndex>- Throws:
NullPointerException- if some of the required fields are null.
-