Class FailedIndex.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ism.FailedIndex.Builder
- All Implemented Interfaces:
CopyableBuilder<FailedIndex.Builder,,FailedIndex> MutableBuilder<FailedIndex.Builder,,FailedIndex> ObjectBuilder<FailedIndex>
- Enclosing class:
FailedIndex
public static class FailedIndex.Builder
extends ObjectBuilderBase
implements CopyableBuilder<FailedIndex.Builder,FailedIndex>
Builder for
FailedIndex.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFailedIndex.copy()Create a new builderCopyableBuilderthat is a copy of this one.final FailedIndex.BuilderThe name of the failed index.final FailedIndex.BuilderThe UUID of the failed index.final FailedIndex.BuilderThe reason for the failure.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<FailedIndex.Builder,FailedIndex> - Returns:
- a new builder instance.
-
indexName
The name of the failed index.API name:
index_name -
indexUuid
The UUID of the failed index.API name:
index_uuid -
reason
The reason for the failure.API name:
reason -
build
Builds aFailedIndex.- Specified by:
buildin interfaceObjectBuilder<FailedIndex>- Throws:
NullPointerException- if some of the required fields are null.
-