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