Class RemoveIndexAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RemoveIndexAction.Builder>
co.elastic.clients.elasticsearch.indices.update_aliases.RemoveIndexAction.Builder
- All Implemented Interfaces:
WithJson<RemoveIndexAction.Builder>,ObjectBuilder<RemoveIndexAction>
- Enclosing class:
- RemoveIndexAction
public static class RemoveIndexAction.Builder extends WithJsonObjectBuilderBase<RemoveIndexAction.Builder> implements ObjectBuilder<RemoveIndexAction>
Builder for
RemoveIndexAction.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RemoveIndexActionbuild()Builds aRemoveIndexAction.RemoveIndexAction.Builderindex(java.lang.String value)API name:indexRemoveIndexAction.Builderindices(java.lang.String value, java.lang.String... values)API name:indicesRemoveIndexAction.Builderindices(java.util.List<java.lang.String> list)API name:indicesRemoveIndexAction.BuildermustExist(java.lang.Boolean value)API name:must_existprotected RemoveIndexAction.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
API name:index -
indices
API name:indicesAdds all elements of
listtoindices. -
indices
API name:indicesAdds one or more values to
indices. -
mustExist
API name:must_exist -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RemoveIndexAction.Builder>
-
build
Builds aRemoveIndexAction.- Specified by:
buildin interfaceObjectBuilder<RemoveIndexAction>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-