Class IndexVersioning.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexVersioning.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexVersioning.Builder,,IndexVersioning> MutableBuilder<IndexVersioning.Builder,,IndexVersioning> ObjectBuilder<IndexVersioning>
- Enclosing class:
IndexVersioning
public static class IndexVersioning.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexVersioning.Builder,IndexVersioning>
Builder for
IndexVersioning.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexVersioning.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IndexVersioning.BuilderAPI name:createdfinal IndexVersioning.BuildercreatedString(String value) The string representation of the version when the index was created.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<IndexVersioning.Builder,IndexVersioning> - Returns:
- a new builder instance.
-
created
API name:created -
createdString
The string representation of the version when the index was created.API name:
created_string -
build
Builds aIndexVersioning.- Specified by:
buildin interfaceObjectBuilder<IndexVersioning>- Throws:
NullPointerException- if some of the required fields are null.
-