Class ActionAllocation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ism.ActionAllocation.Builder
- All Implemented Interfaces:
CopyableBuilder<ActionAllocation.Builder,,ActionAllocation> MutableBuilder<ActionAllocation.Builder,,ActionAllocation> ObjectBuilder<ActionAllocation>
- Enclosing class:
ActionAllocation
public static class ActionAllocation.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ActionAllocation.Builder,ActionAllocation>
Builder for
ActionAllocation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aActionAllocation.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ActionAllocation.BuilderThe excluded allocation attributes.final ActionAllocation.BuilderThe excluded allocation attributes.final ActionAllocation.BuilderThe included allocation attributes.final ActionAllocation.BuilderThe included allocation attributes.final ActionAllocation.BuilderThe required allocation attributes.final ActionAllocation.BuilderThe required allocation attributes.final ActionAllocation.BuilderWhether to wait for the allocation to complete.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<ActionAllocation.Builder,ActionAllocation> - Returns:
- a new builder instance.
-
exclude
The excluded allocation attributes.API name:
excludeAdds all elements of
maptoexclude. -
exclude
The excluded allocation attributes.API name:
excludeAdds an entry to
exclude. -
include
The included allocation attributes.API name:
includeAdds all elements of
maptoinclude. -
include
The included allocation attributes.API name:
includeAdds an entry to
include. -
require
The required allocation attributes.API name:
requireAdds all elements of
maptorequire. -
require
The required allocation attributes.API name:
requireAdds an entry to
require. -
waitFor
Whether to wait for the allocation to complete.API name:
wait_for -
build
Builds aActionAllocation.- Specified by:
buildin interfaceObjectBuilder<ActionAllocation>- Throws:
NullPointerException- if some of the required fields are null.
-